Files
copilotkit__copilotkit/.npmrc
T
Benjamin Taylor 8030b04aa7 chore(deps): exempt the AG-UI MCP middlewares from the release-age gate
`.npmrc` sets `minimum-release-age=1440` and, as its own comment explains,
enumerates the `@ag-ui` exemptions one package at a time rather than
trusting the upstream scope wholesale. Two packages the runtime already
depends on were never added to that list:

  @ag-ui/mcp-middleware        (packages/runtime, pinned 0.0.1)
  @ag-ui/mcp-apps-middleware   (packages/runtime, pinned 0.0.3)

Neither has moved in a while, so the omission has cost nothing so far. It
starts costing the moment either is bumped to a fresh release: pnpm
refuses a version published less than 24 hours ago and fails the install
outright. `@ag-ui/mcp-middleware` is about to publish 0.0.2, which carries
the fix for the duplicate `@ag-ui/client` tree
(ag-ui-protocol/ag-ui#2689), so the bump PR would hit this first.

Adding both names now means the follow-up pin bump lands on the release
rather than waiting a day for the gate to age out.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-11 14:28:47 -05:00

19 lines
987 B
Plaintext

minimum-release-age=1440
# Exempt first-party publishes from the release-age gate — cross-repo deps
# regularly pull a just-released version that would otherwise fail the 24h
# check. @copilotkit/* is an org-owned scope on our own publish pipeline (no
# outsider can inject a package), so a wildcard avoids re-enumerating every
# internal package each time a new one ships. @ag-ui is a separate upstream
# org, so its packages are enumerated rather than blanket-trusting the scope.
minimum-release-age-exclude[]=@copilotkit/*
minimum-release-age-exclude[]=@ag-ui/core
minimum-release-age-exclude[]=@ag-ui/client
minimum-release-age-exclude[]=@ag-ui/encoder
minimum-release-age-exclude[]=@ag-ui/proto
minimum-release-age-exclude[]=@ag-ui/langgraph
minimum-release-age-exclude[]=@ag-ui/a2ui-middleware
minimum-release-age-exclude[]=@ag-ui/a2ui-toolkit
minimum-release-age-exclude[]=@ag-ui/mcp-middleware
minimum-release-age-exclude[]=@ag-ui/mcp-apps-middleware
block-exotic-subdeps=true