Skip to content

Commit

Permalink
chore: run npm clean across workspaces (#1978)
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellacosse authored Apr 19, 2024
1 parent 6e3b347 commit c8e082a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,5 +143,8 @@
"ios",
"osx"
]
},
"scripts": {
"clean": "rm -rf build output node_modules www platforms plugins"
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"action:help": "npm run action list",
"action:list": "npm run action list",
"action": "node ./src/build/run_action.mjs",
"clean": "rimraf client/build client/output node_modules client/node_modules client/www client/platforms client/plugins third_party/jsign/*.jar && go run github.com/go-task/task/v3/cmd/task clean",
"clean": "npm run clean --workspaces && rm -rf output node_modules third_party/jsign/*.jar && go run github.com/go-task/task/v3/cmd/task clean",
"format:all": "prettier --write \"**/*.{cjs,mjs,html,js,json,md,ts}\"",
"format": "pretty-quick --staged --pattern \"**/*.{cjs,mjs,html,js,json,md,ts}\"",
"lint:ts": "eslint --ext ts,mjs client/src",
Expand Down
5 changes: 4 additions & 1 deletion server_manager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,5 +110,8 @@
"supports-color": "3.1.2",
"type-detect": "1.0.0"
},
"license": "Apache"
"license": "Apache",
"scripts": {
"clean": "rm -rf node_modules install_scripts/do_install_script.ts install_scripts/gcp_install_script.ts"
}
}

0 comments on commit c8e082a

Please sign in to comment.