mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-23 06:43:34 +01:00
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: https://github.com/go-gitea/gitea/issues/6967 * enable save-exact
This commit is contained in:
parent
68a83cc5a2
commit
04f996f1f9
4 changed files with 5 additions and 3075 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -67,6 +67,8 @@ coverage.all
|
|||
/node_modules
|
||||
/modules/indexer/issues/indexers
|
||||
routers/repo/authorized_keys
|
||||
/package-lock.json
|
||||
/yarn.lock
|
||||
|
||||
# Snapcraft
|
||||
snap/.snapcraft/
|
||||
|
|
2
.npmrc
Normal file
2
.npmrc
Normal file
|
@ -0,0 +1,2 @@
|
|||
package-lock=false
|
||||
save-exact=true
|
3074
package-lock.json
generated
3074
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -5,7 +5,7 @@
|
|||
"eslint": "5.16.0",
|
||||
"less": "3.9.0",
|
||||
"less-plugin-clean-css": "1.5.1",
|
||||
"lesshint": "^6.3.6",
|
||||
"lesshint": "6.3.6",
|
||||
"postcss-cli": "6.1.2"
|
||||
},
|
||||
"browserslist": [
|
||||
|
|
Loading…
Reference in a new issue