Skip to content

Commit 80a34eb

Browse files
committed
chore: optimize cache handling on Turborepo
1 parent 5036350 commit 80a34eb

2 files changed

Lines changed: 13 additions & 13 deletions

File tree

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
"test:e2e": "turbo test:e2e --filter=solidjs-boilerplate",
88
"coverage": "turbo coverage",
99
"lint": "turbo lint",
10+
"lint:fix": "turbo lint:fix",
11+
"lint:css": "turbo lint:css",
12+
"type-check": "turbo type-check",
13+
"type-check:watch": "turbo type-check:watch",
1014
"clean": "turbo clean && rm -rf node_modules",
1115
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
1216
"changeset": "changeset",

turbo.json

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,27 +11,23 @@
1111
"outputs": ["dist/**", ".next/**", "!.next/cache/**"],
1212
"dependsOn": ["^build"]
1313
},
14-
"test": {
15-
"cache": false
16-
},
14+
"test": {},
1715
"test:watch": {
1816
"cache": false
1917
},
20-
"test:e2e": {
21-
"cache": false
22-
},
18+
"test:e2e": {},
2319
"coverage": {
2420
"outputs": ["coverage/**"],
25-
"dependsOn": ["^build"],
26-
"cache": false
27-
},
28-
"lint": {
29-
"cache": false
21+
"dependsOn": ["^build"]
3022
},
31-
"type-check:watch": {},
32-
"start": {
23+
"lint": {},
24+
"lint:fix": {},
25+
"lint:css": {},
26+
"type-check": {},
27+
"type-check:watch": {
3328
"cache": false
3429
},
30+
"start": {},
3531
"clean": {
3632
"cache": false
3733
}

0 commit comments

Comments
 (0)