You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Repo] Remove the stale npm workspaces field from the root package.json #1288
The root package.json still has an npm-style "workspaces": ["lib/**"] field from before the move to pnpm. pnpm ignores it and uses pnpm-workspace.yaml, but npm and npx read it. The lib/** glob also matches the package.json that lib/changelog-emitter's build copies into dist/. So any npx command run inside the repo fails:
npm error code EDUPLICATEWORKSPACE
npm error must not have multiple workspaces with the same name
npm error package 'typespec-versioning-changelog' has conflicts in the following paths:
npm error .../lib/changelog-emitter
npm error .../lib/changelog-emitter/dist
Found while running npx @common-grants/cli preview ... during the v0.5.0 release runbook (#1268).
Acceptance criteria
Remove the workspaces field from the root package.json.
Confirm pnpm install and pnpm run ci behave the same.
Confirm npx commands run from the repo root no longer fail with EDUPLICATEWORKSPACE.
Additional information
CLAUDE.md already notes that the field is stale and that pnpm-workspace.yaml is authoritative.
Workarounds until then: pnpm dlx <pkg>, or call local binaries directly (node lib/cli/dist/index.js, ./node_modules/.bin/<bin>).
Activity