Add turbo defaults to inputs in turbo config (#5454)
## Problem solved
Short description of the bug fixed or feature added
<!-- start pr-codex -->
---
## PR-Codex overview
This PR focuses on updating the `inputs` in various tasks defined in `turbo.json` to include a new variable `$TURBO_DEFAULT$`, enhancing the configuration for better management of dependencies.
### Detailed summary
- Updated `inputs` for `thirdweb#update-version` to include `$TURBO_DEFAULT$`.
- Modified `inputs` for `test`, `storybook`, `test:legacy`, `e2e`, and `e2e:legacy` to include `$TURBO_DEFAULT$`.
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->
This commit is contained in:
+6
-6
@@ -78,30 +78,30 @@
|
||||
"dependsOn": ["^build"]
|
||||
},
|
||||
"thirdweb#update-version": {
|
||||
"inputs": ["package.json"],
|
||||
"inputs": ["$TURBO_DEFAULT$", "package.json"],
|
||||
"outputs": ["src/version.ts"]
|
||||
},
|
||||
"test": {
|
||||
"outputs": ["coverage/**"],
|
||||
"inputs": ["src/**", "test/**"],
|
||||
"inputs": ["$TURBO_DEFAULT$", "src/**", "test/**"],
|
||||
"dependsOn": ["^build"]
|
||||
},
|
||||
"storybook": {
|
||||
"inputs": ["src/**"]
|
||||
"inputs": ["$TURBO_DEFAULT$", "src/**"]
|
||||
},
|
||||
"test:legacy": {
|
||||
"outputs": ["coverage/**"],
|
||||
"inputs": ["src/**", "test/**"],
|
||||
"inputs": ["$TURBO_DEFAULT$", "src/**", "test/**"],
|
||||
"dependsOn": ["^build"]
|
||||
},
|
||||
"e2e": {
|
||||
"outputs": [],
|
||||
"inputs": ["src/**", "fixtures/**"],
|
||||
"inputs": ["$TURBO_DEFAULT$", "src/**", "fixtures/**"],
|
||||
"dependsOn": ["^build"]
|
||||
},
|
||||
"e2e:legacy": {
|
||||
"outputs": [],
|
||||
"inputs": ["src/**", "fixtures/**"],
|
||||
"inputs": ["$TURBO_DEFAULT$", "src/**", "fixtures/**"],
|
||||
"dependsOn": ["^build"]
|
||||
},
|
||||
"lint": {
|
||||
|
||||
Reference in New Issue
Block a user