]> source.dussan.org Git - gitea.git/commitdiff
add package-lock=true in .npmrc (#9736)
authorsilverwind <me@silverwind.io>
Sun, 12 Jan 2020 23:11:43 +0000 (00:11 +0100)
committerAntoine GIRARD <sapk@users.noreply.github.com>
Sun, 12 Jan 2020 23:11:43 +0000 (00:11 +0100)
Some users (like me) have this option disabled in their global npm
config which can lead to package-lock.json not being updated. This
explicitely enables the option for this repo, so that the file is
always updated when adding/removing dependencies.

Co-authored-by: techknowlogick <matti@mdranta.net>
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
.npmrc

diff --git a/.npmrc b/.npmrc
index cffe8cdef132f31903a4971117f33f60cd9a56e6..dc8b06aad23d262d26932d32fa0af620da5c052b 100644 (file)
--- a/.npmrc
+++ b/.npmrc
@@ -1 +1,2 @@
+package-lock=true
 save-exact=true