Skip to content

fix: correct bundled sigstore from dev dependency conflict#9740

Merged
reggi merged 1 commit into
npm:latestfrom
james-pre:9722-missing-sigstore
Jul 10, 2026
Merged

fix: correct bundled sigstore from dev dependency conflict#9740
reggi merged 1 commit into
npm:latestfrom
james-pre:9722-missing-sigstore

Conversation

@james-pre

Copy link
Copy Markdown
Contributor

This PR fixes #9722.

mock-registry pinned @npmcli/arborist@^9.1.2, which meant the local workspace version wasn't linked and the dependency was pulled from the registry instead. sigstore@^4 got installed at the root node_modules and ^5 was put into workspaces/libnpmpublish/node_modules. The dev-only ^4 was then excluded when npm was packed.

Fix:

  • mock-registry: arborist ^9.1.2 -> ^10.0.0
  • workspaces/arborist: validate-npm-package-name ^7.0.2 -> ^8.0.0 (need to release a patch for arborist)
  • Lockfile regenerated via install + dedupe; node . run dependencies

The packed tarball now contains package/node_modules/sigstore and publish --dry-run from the extracted tarball succeeds.

@reggi

reggi commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Thanks for your help on this, we need a check to make sure this doesn't happen again 😢

@reggi reggi merged commit 47fc8b1 into npm:latest Jul 10, 2026
64 checks passed
@github-actions github-actions Bot mentioned this pull request Jul 10, 2026
yihui added a commit to yihui/lite.js that referenced this pull request Jul 11, 2026
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.

[BUG] npm publish results in Cannot find module 'sigstore'

2 participants