Skip to content

Commit

Permalink
chore(pkg): optimize turbo config
Browse files Browse the repository at this point in the history
  • Loading branch information
Vexcited committed Jul 21, 2024
1 parent 1eaaf77 commit 30b6aa4
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 17 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"version": "0.0.0",
"scripts": {
"lint": "turbo lint",
"build": "turbo build",
"dev": "turbo run watch",
"build": "turbo build --filter=\"!@examples/*\"",
"dev": "turbo dev --filter=\"!@examples/*\"",
"changeset": "changeset",
"version-all": "changeset version",
"publish-all": "pnpm build && pnpm lint && changeset publish"
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"type": "module",
"scripts": {
"build": "tsup",
"watch": "tsup --watch",
"dev": "tsup --watch",
"lint": "tsc"
},
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"type": "module",
"scripts": {
"build": "tsup",
"watch": "tsup --watch",
"dev": "tsup --watch",
"lint": "tsc"
},
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion plugins/tailwindcss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"type": "module",
"scripts": {
"build": "tsup",
"watch": "tsup --watch",
"dev": "tsup --watch",
"lint": "tsc"
},
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion plugins/unocss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"type": "module",
"scripts": {
"build": "tsup",
"watch": "tsup --watch",
"dev": "tsup --watch",
"lint": "tsc"
},
"exports": {
Expand Down
12 changes: 1 addition & 11 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,12 @@
"tasks": {
"build": {
"dependsOn": ["^build"],
"inputs": ["packages/**", "plugins/**", "!examples/**"],
"outputs": ["dist/**"]
},
"@steinjs/cli#build": {
"dependsOn": ["@steinjs/core#build"]
},
"stein-plugin-*#build": {
"dependsOn": ["@steinjs/core#build"]
},
"@steinjs/core#build": {
"outputs": ["dist/**"]
},
"lint": {
"dependsOn": ["^lint"]
},
"watch": {
"dev": {
"cache": false,
"persistent": true
}
Expand Down

0 comments on commit 30b6aa4

Please sign in to comment.