From d7e36a8afdfeb7da05cd9da25af266a3d804955f Mon Sep 17 00:00:00 2001 From: MananTank Date: Mon, 18 Nov 2024 22:17:57 +0000 Subject: [PATCH] Add turbo defaults to inputs in turbo config (#5454) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Problem solved Short description of the bug fixed or feature added --- ## 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}` --- turbo.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/turbo.json b/turbo.json index 77003a98704..2fd67f0acfc 100644 --- a/turbo.json +++ b/turbo.json @@ -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": {