Skip to content

Omit registry URLs from npm lockfile - #205

Open
Jamie Magee (JamieMagee) wants to merge 1 commit into
microsoft:mainfrom
JamieMagee:fix/omit-lockfile-registry-resolved
Open

Omit registry URLs from npm lockfile#205
Jamie Magee (JamieMagee) wants to merge 1 commit into
microsoft:mainfrom
JamieMagee:fix/omit-lockfile-registry-resolved

Conversation

@JamieMagee

Copy link
Copy Markdown
Member

Summary

  • Add omit-lockfile-registry-resolved=true to the project-level .npmrc.
  • Regenerate package-lock.json with npm 10.9.4 and remove 287 Azure Artifacts resolved URLs.
  • Confirm that dependencies, integrity data, lockfileVersion, and other metadata are unchanged.

Validation

  • npm config get omit-lockfile-registry-resolved: true
  • resolved fields: 0
  • pkgs.visualstudio.com URLs: 0
  • package-lock.json SHA-256 unchanged after a second regeneration pass
  • npm ci --ignore-scripts --no-audit --no-fund
  • npm run build
  • npm run lint
  • npm test (2 tests passed)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.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.

1 participant