Skip to content

Commit

Permalink
chore: unify cleanup command (#999)
Browse files Browse the repository at this point in the history
  • Loading branch information
pczeglik-iohk authored Apr 23, 2024
1 parent 9149f67 commit 44c51cb
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/cardano/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
],
"scripts": {
"build": "run -T rollup -c rollup.config.js",
"cleanup": "yarn exec rm -rf dist node_modules .rollup.cache src/dist",
"cleanup": "yarn exec rm -rf dist node_modules",
"lint": "cd ../.. && yarn cardano:lint",
"prepack": "yarn build",
"prepare": "ts-patch install -s",
Expand Down
2 changes: 1 addition & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
],
"scripts": {
"build": "run -T rollup -c rollup.config.js",
"cleanup": "yarn exec rm -rf dist node_modules .rollup.cache src/dist",
"cleanup": "yarn exec rm -rf dist node_modules",
"lint": "cd ../.. && yarn common:lint",
"prepack": "yarn build",
"prepare": "ts-patch install -s",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"scripts": {
"build": "run -T rollup -c rollup.config.js",
"build-storybook": "NODE_OPTIONS=--openssl-legacy-provider; build-storybook",
"cleanup": "yarn exec rm -rf dist node_modules .rollup.cache src/dist",
"cleanup": "yarn exec rm -rf dist node_modules",
"lint": "cd ../.. && yarn core:lint",
"prepack": "yarn build",
"prestart": "yarn build",
Expand Down
2 changes: 1 addition & 1 deletion packages/e2e-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"test": "yarn exec echo 'User test:local'",
"test:local:chrome": "../../node_modules/.bin/wdio run wdio.conf.chrome.ts",
"test:local:edge": "../../node_modules/.bin/wdio run wdio.conf.edge.ts",
"cleanup": "rm -rf node_modules logs reports screenshots",
"cleanup": "rm -rf logs node_modules reports screenshots",
"lint": "run -T eslint -c .eslintrc.js .",
"lint:fix": "run -T eslint -c .eslintrc.js . --fix",
"pack-chrome-extension": "node ./src/utils/packExtension.ts",
Expand Down
1 change: 1 addition & 0 deletions packages/icons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"build:cleanup": "rm -rf ./tmp",
"build:svgr": "svgr ./raw --out-dir ./tmp --typescript",
"build:tsc": "tsc --project tsconfig.json",
"cleanup": "yarn exec rm -rf dist node_modules",
"test": "echo \"@lace/icons: no test specified\""
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"scripts": {
"build": "run -T rollup -c rollup.config.js",
"build-storybook": "NODE_OPTIONS=--openssl-legacy-provider; build-storybook",
"cleanup": "yarn exec rm -rf node_modules",
"cleanup": "yarn exec rm -rf dist node_modules",
"format": "yarn prettier --write '**/*.tsx'",
"lint": "eslint .",
"storybook": "NODE_OPTIONS=--openssl-legacy-provider; start-storybook -p 6006",
Expand Down

0 comments on commit 44c51cb

Please sign in to comment.