Skip to content

fix: support npm 12 pack JSON output - #48

Merged
smiggleworth merged 1 commit into
developfrom
fix/npm12-pack-json-47
Sep 30, 2026
Merged

smiggleworth merged 1 commit into
developfrom
fix/npm12-pack-json-47

Conversation

@smiggleworth

Copy link
Copy Markdown
Contributor

Summary

  • Normalize array and name-keyed object results from npm pack --json.
  • Keep the exact-one-artifact, dependency, required-file, and source-map assertions.
  • Add fixture tests for both result shapes and malformed records.

Closes #47

Validation

  • npm run check (npm 11 legacy output)
  • npm run fmt -- --check
  • Shape fixtures cover npm 12 object output.

@smiggleworth
smiggleworth merged commit 2216666 into develop Sep 30, 2026
6 checks passed
@smiggleworth
smiggleworth deleted the fix/npm12-pack-json-47 branch September 30, 2026 15:11
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.

Package artifact check rejects npm 12 pack JSON

1 participant