Skip to content

Commit 30b6aa4

Browse files
committed
chore(pkg): optimize turbo config
1 parent 1eaaf77 commit 30b6aa4

File tree

6 files changed

+7
-17
lines changed

6 files changed

+7
-17
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"version": "0.0.0",
55
"scripts": {
66
"lint": "turbo lint",
7-
"build": "turbo build",
8-
"dev": "turbo run watch",
7+
"build": "turbo build --filter=\"!@examples/*\"",
8+
"dev": "turbo dev --filter=\"!@examples/*\"",
99
"changeset": "changeset",
1010
"version-all": "changeset version",
1111
"publish-all": "pnpm build && pnpm lint && changeset publish"

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"type": "module",
1717
"scripts": {
1818
"build": "tsup",
19-
"watch": "tsup --watch",
19+
"dev": "tsup --watch",
2020
"lint": "tsc"
2121
},
2222
"exports": {

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"type": "module",
1717
"scripts": {
1818
"build": "tsup",
19-
"watch": "tsup --watch",
19+
"dev": "tsup --watch",
2020
"lint": "tsc"
2121
},
2222
"exports": {

plugins/tailwindcss/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"type": "module",
1515
"scripts": {
1616
"build": "tsup",
17-
"watch": "tsup --watch",
17+
"dev": "tsup --watch",
1818
"lint": "tsc"
1919
},
2020
"exports": {

plugins/unocss/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"type": "module",
1515
"scripts": {
1616
"build": "tsup",
17-
"watch": "tsup --watch",
17+
"dev": "tsup --watch",
1818
"lint": "tsc"
1919
},
2020
"exports": {

turbo.json

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,12 @@
33
"tasks": {
44
"build": {
55
"dependsOn": ["^build"],
6-
"inputs": ["packages/**", "plugins/**", "!examples/**"],
7-
"outputs": ["dist/**"]
8-
},
9-
"@steinjs/cli#build": {
10-
"dependsOn": ["@steinjs/core#build"]
11-
},
12-
"stein-plugin-*#build": {
13-
"dependsOn": ["@steinjs/core#build"]
14-
},
15-
"@steinjs/core#build": {
166
"outputs": ["dist/**"]
177
},
188
"lint": {
199
"dependsOn": ["^lint"]
2010
},
21-
"watch": {
11+
"dev": {
2212
"cache": false,
2313
"persistent": true
2414
}

0 commit comments

Comments
 (0)