Skip to content

chore: omit registry URLs from package-lock.json - #7

Open
oto-macenauer-absa wants to merge 1 commit into
masterfrom
chore/omit-lockfile-registry-resolved
Open

oto-macenauer-absa wants to merge 1 commit into
masterfrom
chore/omit-lockfile-registry-resolved

Conversation

@oto-macenauer-absa

Copy link
Copy Markdown
Collaborator

Closes #6

Changes

  • Add .npmrc with omit-lockfile-registry-resolved=true
  • Regenerate package-lock.json: all 120 resolved URLs removed; versions and integrity hashes unchanged

Why

Lockfile no longer hardcodes registry.npmjs.org, so repos built from this template on private registries/mirrors resolve tarballs from the configured registry without lockfile rewriting.

Verification

  • npm ci --ignore-scripts succeeds with the new lockfile

🤖 Generated with Claude Code

Add .npmrc with omit-lockfile-registry-resolved=true and regenerate
the lockfile without resolved fields, so installs use whatever registry
the environment configures (private mirrors) while integrity hashes
still pin the packages.

Closes #6

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

This branch has not been deployed

No deployments
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.

Omit registry URLs from package-lock.json

2 participants