From c859560ead9b4860bb7d6919cb0ef27a37cfb78e Mon Sep 17 00:00:00 2001 From: splincode Date: Fri, 23 Aug 2024 12:20:55 +0300 Subject: [PATCH] fix: try force install nx --- default.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/default.json b/default.json index dacf3903..54aeb0dd 100644 --- a/default.json +++ b/default.json @@ -76,9 +76,10 @@ "matchPackageNames": ["@taiga-ui/cdk"], "postUpgradeTasks": { "commands": [ - "npm ci --ignore-scripts", + "npm install --force --ignore-scripts", "npx nx migrate {{{depName}}} --from={{{currentVersion}}} --to={{{newVersion}}} --verbose", - "npm install && [ -f migrations.json ] && npx nx migrate --run-migrations=migrations.json", + "[ -f migrations.json ] && npx nx migrate --run-migrations=migrations.json", + "rm -rf node_modules/ **/node_modules package-lock.json && npm i && npm i", "git add .", "npx lint-staged --allow-empty || echo ''" ],