Skip to content

fix: support npm 12 pack output#11

Merged
sarveshsea merged 1 commit into
mainfrom
fix/npm12-pack-json
Jul 16, 2026
Merged

fix: support npm 12 pack output#11
sarveshsea merged 1 commit into
mainfrom
fix/npm12-pack-json

Conversation

@sarveshsea

@sarveshsea sarveshsea commented Jul 16, 2026

Copy link
Copy Markdown
Member

Summary

  • normalize npm 10/11 array and npm 12 workspace-keyed pack JSON through one fail-closed parser
  • use the parser in MCP packed proof, ten-package packed proof, and release artifact packing
  • pin npm 12.0.1 in Node 24 CI while retaining complete packed-package coverage on Node 22

Root cause

Release run 29520812990 failed before publication because npm 12 changed workspace pack JSON from a one-element array to an object keyed by workspace name. No npm package, GitHub tag/release, or MCP Registry version was published.

Test plan

  • npx --yes npm@12.0.1 run verify
  • npx --yes npm@12.0.1 run test:mcp:packed
  • npx --yes npm@12.0.1 run test:packages:packed
  • npx --yes npm@12.0.1 run test:release-supply-chain
  • npm run check:links:external
  • npm run bench
  • npm audit --audit-level=high

Code and security review: GO.


View with Codesmith Autofix with Codesmith
Need help on this PR? Tag /codesmith with what you need. Autofix is disabled.

@sarveshsea
sarveshsea merged commit c26ad05 into main Jul 16, 2026
4 checks passed
@sarveshsea
sarveshsea deleted the fix/npm12-pack-json branch July 16, 2026 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant