diff --git a/flake.nix b/flake.nix index f1e75b3..cb31735 100644 --- a/flake.nix +++ b/flake.nix @@ -576,7 +576,7 @@ ${pre-commit.shellHook} ${source-dotenv} - if [ -f ./package.json ]; then + if [ -f ./package.json ] && ! cmp -s ./package-lock.json ./node_modules/.package-lock.json 2>/dev/null; then npm ci --ignore-scripts; fi '';