Skip to content

fix: support npm 12 pack output#15

Merged
heimanba merged 1 commit into
mainfrom
codex/support-npm-12-pack-json
Jul 16, 2026
Merged

fix: support npm 12 pack output#15
heimanba merged 1 commit into
mainfrom
codex/support-npm-12-pack-json

Conversation

@heimanba

Copy link
Copy Markdown
Contributor

Root cause

npm 12 changed npm pack --json from a one-element array to a package-name keyed object. The release smoke test rejected the new valid format after all three publish dry-runs passed.

Fix

  • accept both npm 10/11 array output and npm 12 package-map output
  • add regression coverage for both formats and ambiguous output

Verification

  • full pre-push verification passed
  • package smoke test passed using npm 12.0.1
  • no package was published by the failed workflow

After merge, retry the same approval-gated stable 0.0.2 publish.

Change-Id: I35767a804287d2b18c59cb2eeac825ce137794bd
@heimanba heimanba merged commit 3dba7a4 into main Jul 16, 2026
15 checks passed
@heimanba heimanba deleted the codex/support-npm-12-pack-json branch July 16, 2026 07:15
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