Skip to content

feat!: drop npm-shrinkwrap.json support#9262

Merged
owlstronaut merged 1 commit into
latestfrom
owlstronaut/remove-shrinkwrap
Apr 21, 2026
Merged

feat!: drop npm-shrinkwrap.json support#9262
owlstronaut merged 1 commit into
latestfrom
owlstronaut/remove-shrinkwrap

Conversation

@owlstronaut

Copy link
Copy Markdown

BREAKING CHANGE: npm shrinkwrap is removed, the shrinkwrap config alias is removed, and npm-shrinkwrap.json is no longer loaded or honored at the project root or from inside dependency tarballs. Rename project-root npm-shrinkwrap.json to package-lock.json; use bundleDependencies if you need to ship a locked dependency tree.

@owlstronaut
owlstronaut force-pushed the owlstronaut/remove-shrinkwrap branch 6 times, most recently from 8c5ef3d to 5368f7e Compare April 20, 2026 21:07
@@ -1,809 +0,0 @@
/* IMPORTANT

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This apparently was a duplicate snapshot

@owlstronaut
owlstronaut force-pushed the owlstronaut/remove-shrinkwrap branch from 5368f7e to bf539a5 Compare April 20, 2026 21:40
BREAKING CHANGE: `npm shrinkwrap` is removed, the `shrinkwrap` config alias is removed, and `npm-shrinkwrap.json` is no longer loaded or honored at the project root or from inside dependency tarballs. Rename project-root `npm-shrinkwrap.json` to `package-lock.json`; use `bundleDependencies` if you need to ship a locked dependency tree.
@owlstronaut
owlstronaut force-pushed the owlstronaut/remove-shrinkwrap branch from bf539a5 to 4e418fc Compare April 20, 2026 21:56
@owlstronaut
owlstronaut marked this pull request as ready for review April 20, 2026 22:15
@owlstronaut
owlstronaut requested a review from a team as a code owner April 20, 2026 22:15
@owlstronaut
owlstronaut merged commit 2e5dcad into latest Apr 21, 2026
89 of 90 checks passed
@owlstronaut
owlstronaut deleted the owlstronaut/remove-shrinkwrap branch April 21, 2026 16:47
ppkarwasz added a commit to apache/logging-parent that referenced this pull request Jul 25, 2026
Add the canonical `package.json` and `package-lock.json` that
determine the NPM dependencies of all Apache Logging websites.

Website deployments pass the new `npm-dependencies-ref` input to
`deploy-site-reusable`, which downloads both files before building the
website, so all deployed websites use the exact same dependency tree.
Dependabot keeps the files up-to-date on this branch only.

The lock file uses its standard name, since npm 12 removed all support
for `npm-shrinkwrap.json` (npm/cli#9262).

Assisted-By: Claude Fable 5 <noreply@anthropic.com>
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.

2 participants