Skip to content

Commit

Permalink
Fixed an issue where npx --no lerna clean -f didnot work
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiaMineJP committed Jun 24, 2024
1 parent eefca33 commit 51615f7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build_scripts/build_linux_deb-1-gui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ git submodule update --init chia-blockchain-gui
cd ./chia-blockchain-gui || exit 1

echo "npm build"
npx --no lerna clean -y # With --no option, `npx` guarantees not to install package from remote registry
npx lerna clean -y # Removes packages/*/node_modules
npm ci
# Audit fix does not currently work with Lerna. See https://github.com/lerna/lerna/issues/1663
# npm audit fix
Expand Down
2 changes: 1 addition & 1 deletion build_scripts/build_linux_rpm-1-gui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ git submodule update --init chia-blockchain-gui

cd ./chia-blockchain-gui || exit 1
echo "npm build"
npx --no lerna clean -y # With --no option, `npx` guarantees not to install package from remote registry
npx lerna clean -y # Removes packages/*/node_modules
npm ci
# Audit fix does not currently work with Lerna. See https://github.com/lerna/lerna/issues/1663
# npm audit fix
Expand Down
2 changes: 1 addition & 1 deletion build_scripts/build_macos-1-gui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ git submodule update --init chia-blockchain-gui

cd ./chia-blockchain-gui || exit 1
echo "npm build"
npx --no lerna clean -y # With --no option, `npx` guarantees not to install package from remote registry
npx lerna clean -y # Removes packages/*/node_modules
npm ci
# Audit fix does not currently work with Lerna. See https://github.com/lerna/lerna/issues/1663
# npm audit fix
Expand Down
4 changes: 2 additions & 2 deletions build_scripts/build_windows-1-gui.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ Write-Output "Build GUI npm modules"
Write-Output " ---"
$Env:NODE_OPTIONS = "--max-old-space-size=3000"

Write-Output "lerna clean -y"
npx --no lerna clean -y # With --no option, `npx` guarantees not to install package from remote registry
Write-Output "npx lerna clean -y"
npx lerna clean -y # Removes packages/*/node_modules
Write-Output "npm ci"
npm ci
# Audit fix does not currently work with Lerna. See https://github.com/lerna/lerna/issues/1663
Expand Down

0 comments on commit 51615f7

Please sign in to comment.