Skip to content

chore(ui): omit registry URLs from npm lockfile - #99

Merged
Peter Lasne (plasne) merged 1 commit into
microsoft:mainfrom
JamieMagee:fix/omit-lockfile-registry-resolved
Aug 26, 2026
Merged

chore(ui): omit registry URLs from npm lockfile#99
Peter Lasne (plasne) merged 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 UI project's .npmrc.
  • Regenerate the lockfile without changing its dependency graph, versions, integrity values, lockfileVersion, or other metadata.
  • Remove registry resolved fields so Azure Artifacts feed URLs are not persisted.

Validation

  • npx --yes npm@11.17.0 config get omit-lockfile-registry-resolved returned true.
  • A second npx --yes npm@11.17.0 install --package-lock-only --ignore-scripts made no changes.
  • ms-feed-2, ms-feed-12, ms-feed-17, and ms-feed-25 are absent from the lockfile.
  • npx --yes npm@11.17.0 ci --ignore-scripts passed.
  • npx --yes npm@11.17.0 run check passed with no errors or warnings.
  • npx --yes npm@11.17.0 run test:unit passed 56 tests.

Set npm's omit-lockfile-registry-resolved option for the UI and regenerate its lockfile without changing dependencies.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@plasne
Peter Lasne (plasne) merged commit 0878b60 into microsoft:main Aug 26, 2026
8 checks passed
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