Skip to content

Commit 1134b80

Browse files
committed
chore: use turbo for build
1 parent 6540167 commit 1134b80

File tree

4 files changed

+269
-250
lines changed

4 files changed

+269
-250
lines changed

lefthook.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ pre-commit:
44
test.lint:
55
run: pnpm run test.lint
66
build:
7-
run: pnpm run clean && pnpm run build -- --no-color && git add ./dist
7+
run: pnpm run build -- --no-color && git add ./dist

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"tsconfig.json"
2727
],
2828
"scripts": {
29-
"build": "run-s clean && pnpm -r build && run-p build.types.modern lint.root.tsc build.cli.modern build.cli.legacy build.library && run-p build.json build.bash",
29+
"build": "turbo build && run-p build.types.modern lint.root.tsc build.cli.modern build.cli.legacy build.library && run-p build.json build.bash",
3030
"build.cli.modern": "cross-env NODE_ENV=production vite build --mode cli-modern",
3131
"build.cli.legacy": "cross-env NODE_ENV=production vite build --mode cli-legacy",
3232
"build.library": "cross-env NODE_ENV=production vite build --mode library",
@@ -150,7 +150,7 @@
150150
"ts-node": "^10.9.2",
151151
"ts-readme": "^1.1.3",
152152
"tsx": "^4.19.3",
153-
"turbo": "2.4.4",
153+
"turbo": "2.5.3",
154154
"typescript": "^5.8.2",
155155
"ubuntu-version": "^2.0.0",
156156
"untildify-user": "workspace:*",

0 commit comments

Comments
 (0)