chore: remove deprecated npm-shrinkwrap.json - #2995
Draft
sjinks wants to merge 4 commits into
Draft
Conversation
Contributor
Dependency ReviewThe following issues were found:
License Issuespackage.json
OpenSSF Scorecard
Scanned Files
|
Contributor
There was a problem hiding this comment.
Pull request overview
This PR modernizes the project’s dependency-locking/publish approach by removing the deprecated shrinkwrap sync tooling and switching to dependency bundling for distributed artifacts, aligning with npm v12+ behavior changes.
Changes:
- Removed shrinkwrap sync scripts and added
bundleDependenciesconfiguration inpackage.json. - Updated
package-lock.jsonto mark bundled dependencies (bundleDependencieslist +inBundleflags). - Deleted the shrinkwrap sync helper and the associated GitHub Action workflow; removed the CI shrinkwrap check step.
Reviewed changes
Copilot reviewed 5 out of 7 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| package.json | Removes shrinkwrap-related scripts and enables dependency bundling for packaging/publishing. |
| package-lock.json | Records bundled dependency metadata (bundleDependencies and widespread inBundle annotations). |
| helpers/sync-shrinkwrap.js | Deletes the shrinkwrap synchronization helper (no longer needed with npm v12+). |
| .github/workflows/sync-shrinkwrap.yml | Removes the workflow that auto-synced npm-shrinkwrap.json on PRs. |
| .github/workflows/ci.yml | Drops the shrinkwrap verification step from the CI matrix. |
|
sjinks
marked this pull request as draft
August 3, 2026 23:31
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



From the npm changelog:
This PR removes
npm-shrinkwrap.jsonand instructsnpmto bundle production dependencies into the dist archive.