Skip to content

Commit 04b897a

Browse files
Fix: Clean and Nuke Script (#6213)
1 parent 32232c0 commit 04b897a

6 files changed

Lines changed: 8 additions & 6 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
"user:default": "cd packages/server/bin && ./run user",
2626
"test": "turbo run test",
2727
"test:coverage": "turbo run test:coverage",
28-
"clean": "pnpm --filter \"./packages/**\" clean",
29-
"nuke": "pnpm --filter \"./packages/**\" nuke && rimraf node_modules .turbo",
28+
"clean": "pnpm -r clean",
29+
"nuke": "pnpm -r nuke && rimraf node_modules .turbo",
3030
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
3131
"lint": "eslint \"**/*.{js,jsx,ts,tsx,json,md}\"",
3232
"lint-fix": "pnpm lint --fix",

packages/agentflow/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"test": "jest",
5656
"test:watch": "jest --watch",
5757
"test:coverage": "jest --coverage",
58-
"nuke": "rimraf dist node_modules .turbo",
58+
"nuke": "pnpm clean && rimraf node_modules .turbo",
5959
"prepublishOnly": "npm run clean && npm run build"
6060
},
6161
"peerDependencies": {

packages/api-documentation/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
"scripts": {
66
"build": "tsc",
77
"start": "node dist/index.js",
8+
"clean": "rimraf dist",
9+
"nuke": "pnpm clean && rimraf node_modules .turbo",
810
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0"
911
},
1012
"license": "SEE LICENSE IN LICENSE.md",

packages/components/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"build": "tsc && gulp",
1919
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
2020
"clean": "rimraf dist",
21-
"nuke": "rimraf dist node_modules .turbo",
21+
"nuke": "pnpm clean && rimraf node_modules .turbo",
2222
"test": "jest",
2323
"test:watch": "jest --watch",
2424
"test:coverage": "jest --coverage"

packages/server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"build": "tsc && rimraf dist/enterprise/emails && gulp",
2424
"start": "run-script-os",
2525
"clean": "rimraf dist",
26-
"nuke": "rimraf dist node_modules .turbo",
26+
"nuke": "pnpm clean && rimraf node_modules .turbo",
2727
"start:windows": "cd bin && run start",
2828
"start:default": "cd bin && ./run start",
2929
"start-worker:windows": "cd bin && run worker",

packages/ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
"build": "vite build",
8585
"test": "jest",
8686
"clean": "rimraf build",
87-
"nuke": "rimraf build node_modules .turbo"
87+
"nuke": "pnpm clean && rimraf node_modules .turbo"
8888
},
8989
"babel": {
9090
"presets": [

0 commit comments

Comments
 (0)