From e0cee84ca9b4f9810583bacf4d7bb6ee4e4f427e Mon Sep 17 00:00:00 2001 From: Tim McCormack Date: Tue, 8 Aug 2023 20:45:03 +0000 Subject: [PATCH] fix: Bust node prereq cache on changes to package-lock.json as well We're using `npm ci`, so the package-lock file is actually the more important file to check for changes. --- pavelib/prereqs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pavelib/prereqs.py b/pavelib/prereqs.py index 21e50c90609..a1b14c54455 100644 --- a/pavelib/prereqs.py +++ b/pavelib/prereqs.py @@ -194,7 +194,7 @@ def install_node_prereqs(): print(NO_PREREQ_MESSAGE) return - prereq_cache("Node prereqs", ["package.json"], node_prereqs_installation) + prereq_cache("Node prereqs", ["package.json", "package-lock.json"], node_prereqs_installation) # To add a package to the uninstall list, just add it to this list! No need