From 3dd9ef1772eabed37c4184b7230a6cec41edc14a Mon Sep 17 00:00:00 2001 From: Sarah Vaupel Date: Mon, 15 Jan 2024 02:52:54 +0000 Subject: [PATCH] chore(Makefile): add node/npm targets --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f9ce516bc..a0be476e5 100644 --- a/Makefile +++ b/Makefile @@ -17,8 +17,11 @@ database: --stack-work-build --database --stack-krow-build export SERVER_SESSION_ACID_FALLBACK=$${SERVER_SESSION_ACID_FALLBACK:-true} stack exec uniworxdb -- $(db) -node_modules: package.json - npm install +node_modules: .npmrc package.json + npm ci --cache .npm --prefer-offline + +.npmrc: + command gup .npmrc .PHONY: %.lock %.lock: