Skip to content

fix: read npm 12 pack output in the tarball check (0.4.1) - #4

Merged
NorbertBodziony merged 1 commit into
mainfrom
fix/npm-12-pack-json
Sep 26, 2026
Merged

NorbertBodziony merged 1 commit into
mainfrom
fix/npm-12-pack-json

Conversation

@NorbertBodziony

Copy link
Copy Markdown
Owner

The v0.4.0 publish run failed in test:tarball: npm 12 (npm@latest in publication.yml) prints npm pack --json as an object keyed by package name, not an array. Nothing was published for 0.4.0.

  • tools/test-package-tarball.mjs reads both shapes and fails with the output when neither matches.
  • Version 0.4.1, CHANGELOG notes 0.4.0 as not published.

Checks: bun run test:tarball passes with npm 11.6.1 and npm 12.1.0.

After merge: tag v0.4.1.

npm 12 prints `npm pack --json` as an object keyed by package name, not an array. The v0.4.0 release failed on this, so nothing was published for it. 0.4.1 carries the same changes.
@github-actions

Copy link
Copy Markdown

Apercu Cloudflare Pages : https://pr-4.bloub-app.pages.dev

@NorbertBodziony
NorbertBodziony merged commit 5b2b511 into main Sep 26, 2026
3 checks passed
@NorbertBodziony
NorbertBodziony deleted the fix/npm-12-pack-json branch September 26, 2026 17:19

This branch was successfully deployed

1 active deployment
preview — 7f94ddaa Deployed Sep 26, 2026 by github-actions[bot]
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