Skip to content

Commit 689b28b

Browse files
authored
Explicitly set npmjs.org as the registry (#10)
Prevent accidental package upgrades from a private registry and avoid writing private URLs to the lock file.
1 parent a0bf816 commit 689b28b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.npmrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Prevent accidental package upgrades from a private registry and avoid writing private URLs to the lock file.
2+
registry="https://registry.npmjs.org/"

0 commit comments

Comments
 (0)