Skip to content

Commit

Permalink
*: switch order of "clean" command
Browse files Browse the repository at this point in the history
Previously, it would delete the node_modules directory before calling
lerna, which would not exist because it just got removed.

With this change, lerna acts before being removed from the root
node_modules directory.
  • Loading branch information
tilacog authored and fordN committed Dec 5, 2023
1 parent 040c337 commit d8d4ed7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"test": "lerna --concurrency 1 run test --stream --ignore @graphprotocol/indexer-service",
"test:ci": "lerna --concurrency 1 run test:ci --stream --ignore @graphprotocol/indexer-service",
"update-common-ts": "./scripts/update-common-ts.sh 1.8.3",
"clean": "rm -rf ./node_modules && lerna run clean",
"clean": "lerna run clean && rm -rf ./node_modules",
"compile": "lerna run compile"
},
"devDependencies": {
Expand Down

0 comments on commit d8d4ed7

Please sign in to comment.