Skip to content

Commit c0f9305

Browse files
committed
build: remove resolved field from lockfile
Simplify using internal package registry mirrors by removing `resolved` URL from the `package-lock.json` via a project local `.npmrc`.
1 parent e111657 commit c0f9305

2 files changed

Lines changed: 4 additions & 536 deletions

File tree

.npmrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Keep package-lock.json registry-agnostic: omit the `resolved` URL so the
2+
# lockfile does not pin packages to a specific registry (e.g. an internal
3+
# mirror).
4+
omit-lockfile-registry-resolved=true

0 commit comments

Comments
 (0)