Skip to content

Commit 5bbd44c

Browse files
elrrrrrrrclaude
andcommitted
fix: use utoo run clean --workspaces for clean-dist
Original pnpm used `pnpm -r exec rimraf dist` which runs in each workspace. Equivalent to `utoo run clean --workspaces` since each package has `"clean": "rimraf dist"`. Fixes Windows glob path issue. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent cfda98a commit 5bbd44c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,14 @@
2323
],
2424
"type": "module",
2525
"scripts": {
26-
"clean-dist": "utoo execute rimraf packages/*/dist plugins/*/dist tegg/core/*/dist tegg/plugin/*/dist tegg/standalone/*/dist tools/*/dist",
27-
"clean": "utoo run clean --workspaces && utoo run clean-dist",
26+
"clean-dist": "utoo run clean --workspaces",
2827
"build": "tsdown",
2928
"prelint": "utoo run clean-dist",
3029
"lint": "oxlint --type-aware --type-check --quiet",
3130
"fmt": "oxfmt",
32-
"typecheck": "utoo run clean && utoo run typecheck --workspaces",
31+
"typecheck": "utoo run clean-dist && utoo run typecheck --workspaces",
3332
"fmtcheck": "oxfmt --check .",
34-
"pretest": "utoo run clean && utoo run pretest --workspaces",
33+
"pretest": "utoo run clean-dist && utoo run pretest --workspaces",
3534
"test": "vitest run --bail 1 --retry 2 --testTimeout 20000 --hookTimeout 20000",
3635
"test:cov": "utoo run test --coverage",
3736
"preci": "utoo pretest --workspaces",

0 commit comments

Comments
 (0)