Skip to content

Commit 04f996f

Browse files
silverwindtechknowlogick
authored andcommitted
remove and disable package-lock (#6969)
* remove and disable package-lock Using exact versions in package.json has the same effect as lockfiles without all the troubles the lockfiles bring (different versions of package manager generating different lockfiles primarily). Ensured we only use exact versions in package.json and stopped generation of new lockfiles via .npmrc which is support by both the npm and yarn package managers. Fixes: #6967 * enable save-exact
1 parent 68a83cc commit 04f996f

File tree

4 files changed

+5
-3075
lines changed

4 files changed

+5
-3075
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ coverage.all
6767
/node_modules
6868
/modules/indexer/issues/indexers
6969
routers/repo/authorized_keys
70+
/package-lock.json
71+
/yarn.lock
7072

7173
# Snapcraft
7274
snap/.snapcraft/

.npmrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
package-lock=false
2+
save-exact=true

0 commit comments

Comments
 (0)