From 0eaef8575dc4fb839d1ca18e9172af20c284f6f4 Mon Sep 17 00:00:00 2001 From: Ian Maddaus Date: Wed, 19 Feb 2025 10:49:29 -0500 Subject: [PATCH] Fix npm command order Signed-off-by: Ian Maddaus --- scripts/local-server.sh | 2 +- scripts/netlify-branch-deploy.sh | 2 +- scripts/netlify-deploy-preview.sh | 2 +- scripts/netlify-deploy-production.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/local-server.sh b/scripts/local-server.sh index 8d1c7feb30..f48de14b4e 100644 --- a/scripts/local-server.sh +++ b/scripts/local-server.sh @@ -8,7 +8,7 @@ set -eou pipefail # Run 'netlify dev' ### +npm install npm ls -npm install hugo server -b localhost:1313 diff --git a/scripts/netlify-branch-deploy.sh b/scripts/netlify-branch-deploy.sh index 4c078bce20..ae90c626f3 100644 --- a/scripts/netlify-branch-deploy.sh +++ b/scripts/netlify-branch-deploy.sh @@ -20,7 +20,7 @@ tar -xf dart-sass-$DART_SASS_VERSION-linux-x64.tar.gz rm dart-sass-$DART_SASS_VERSION-linux-x64.tar.gz export PATH=/opt/build/repo/dart-sass:$PATH +npm install npm ls -npm install hugo --gc --minify --enableGitInfo diff --git a/scripts/netlify-deploy-preview.sh b/scripts/netlify-deploy-preview.sh index 9d96ba4a5b..9a62a61db3 100644 --- a/scripts/netlify-deploy-preview.sh +++ b/scripts/netlify-deploy-preview.sh @@ -22,7 +22,7 @@ tar -xf dart-sass-$DART_SASS_VERSION-linux-x64.tar.gz rm dart-sass-$DART_SASS_VERSION-linux-x64.tar.gz export PATH=$(pwd)/dart-sass:$PATH +npm install npm ls -npm install hugo --gc --minify --enableGitInfo --buildFuture diff --git a/scripts/netlify-deploy-production.sh b/scripts/netlify-deploy-production.sh index 95636f4a64..cb6accfc42 100644 --- a/scripts/netlify-deploy-production.sh +++ b/scripts/netlify-deploy-production.sh @@ -20,7 +20,7 @@ tar -xf dart-sass-$DART_SASS_VERSION-linux-x64.tar.gz rm dart-sass-$DART_SASS_VERSION-linux-x64.tar.gz export PATH=/opt/build/repo/dart-sass:$PATH +npm install npm ls -npm install hugo --gc --minify --enableGitInfo --ignoreCache