Skip to content

Commit

Permalink
Merge remote-tracking branch 'bp/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
waitingsong committed Apr 24, 2024
2 parents 85b5553 + 319f27a commit 79cc3a7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions .githooks/init-repo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ if [ -z "$CI" ]; then
git config --local core.precomposeUnicode true
git config --local fetch.prune true
git config --local pull.rebase true
git config --local push.autoSetupRemote true
git config --local push.followTags true
git config --local rebase.autoStash true
git config --local remote.origin.prune true
Expand Down
6 changes: 6 additions & 0 deletions .scripts/purge.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@


npm run clean

if [[ -d node_modules/nx ]]; then
nx reset
fi

rm -rf node_modules package-lock.json
npm run refresh

if [[ -d node_modules/nx ]]; then
nx reset
fi

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"bootstrap": "npm i --loglevel info --disturl=https://npmmirror.com/dist/",
"build": "sh .scripts/build.sh",
"ci": "npm run cov",
"clean": "lerna clean --loglevel error --yes && lerna run clean && nx reset",
"clean": "lerna clean --loglevel error --yes && lerna run clean",
"cov": "sh .scripts/cov.sh",
"lint": "sh .scripts/lint.sh",
"lint:cycle": "lerna exec -- madge --circular --extensions ts src",
Expand Down

0 comments on commit 79cc3a7

Please sign in to comment.