Skip to content

Commit fca489b

Browse files
chore(turbo.json): add transit task dependency to eslint, typecheck, and test tasks (#65)
1 parent c726cc1 commit fca489b

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

turbo.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
"$schema": "./node_modules/turbo/schema.json",
33
"ui": "tui",
44
"tasks": {
5+
"transit": {
6+
"dependsOn": ["^transit"],
7+
"outputs": []
8+
},
59
"dev": {
610
"cache": false,
711
"persistent": true
@@ -18,6 +22,7 @@
1822
"outputs": ["node_modules/.cache/eslint"]
1923
},
2024
"eslint": {
25+
"dependsOn": ["transit"],
2126
"inputs": ["$TURBO_DEFAULT$", "!README.md"],
2227
"outputs": ["node_modules/.cache/eslint"]
2328
},
@@ -26,13 +31,15 @@
2631
"outputs": ["node_modules/.cache/tsbuildinfo.json"]
2732
},
2833
"typecheck": {
34+
"dependsOn": ["transit"],
2935
"inputs": ["src/**/*.ts", "src/**/*.tsx", "test/**/*.ts", "test/**/*.tsx", "tsconfig.json", "tsconfig.build.json"],
3036
"outputs": ["node_modules/.cache/tsbuildinfo.json"]
3137
},
3238
"//#syncpack": {
3339
"inputs": [".syncpackrc.js", "package.json", "packages/**/package.json", "samples/**/package.json"]
3440
},
3541
"test": {
42+
"dependsOn": ["transit"],
3643
"outputs": ["node_modules/.cache/vitest/**"]
3744
}
3845
}

0 commit comments

Comments
 (0)