Remove registry URLs from npm lockfile - #856
Merged
Muiris Woulfe (muiriswoulfe) merged 3 commits intoAug 28, 2026
Merged
Conversation
Co-authored-by: Jamie Magee <jamie.magee@gmail.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Muiris Woulfe (muiriswoulfe)
requested review from
a team
and
a balanced review from Copilot
August 28, 2026 10:18
Copilot started reviewing on behalf of
Muiris Woulfe (muiriswoulfe)
August 28, 2026 10:18
View session
Contributor
There was a problem hiding this comment.
Pull request overview
Configures npm to omit registry tarball URLs from generated lockfiles, improving registry portability.
Changes:
- Enables
omit-lockfile-registry-resolvedin the root npm configuration.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Muiris Woulfe (muiriswoulfe)
enabled auto-merge (squash)
August 28, 2026 10:30
Neil (neilr81)
approved these changes
Aug 28, 2026
Muiris Woulfe (muiriswoulfe)
merged commit Aug 28, 2026
ca92297
into
microsoft:main
16 of 17 checks passed
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.
Replaces #845 with a GitHub-signed commit. Original change by Jamie Magee (@JamieMagee).
Summary
Add
omit-lockfile-registry-resolved=trueto the existing root.npmrcand regenerate the lockfile with npm 10.9.4. The lockfile no longer records registry tarball URLs.Testing
Test Types
Unit Test Coverage
npx -y npm@10.9.4 run test:fastcompleted with 100% statement, branch, function, and line coverage.Other Test Details
omit-lockfile-registry-resolvedastruepackage-lock.jsonresolvedfieldsnpx -y npm@10.9.4 ci --no-audit --no-fundScreenshots
Not applicable.
Recreated from the deleted source fork for closed PR #854.