Introduce clean command that should help with node_modules corruption and avoid fresh clone (#36302)
This commit is contained in:
parent
4c236bdc37
commit
45d157a25e
|
@ -16,6 +16,7 @@
|
|||
"scripts": {
|
||||
"build": "pnpm exec turbo run turbo:build",
|
||||
"test": "pnpm exec turbo run turbo:test",
|
||||
"clean": "pnpm store prune && git clean -fx **/node_modules && pnpm i",
|
||||
"preinstall": "npx only-allow pnpm",
|
||||
"postinstall": "pnpm git:update-hooks",
|
||||
"git:update-hooks": "rm -r .git/hooks && mkdir -p .git/hooks && husky install",
|
||||
|
|
Loading…
Reference in New Issue