From dd84b9d64fb98746a230cd24233ff50a562c39c9 Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Fri, 28 Apr 2023 01:36:44 +0800 Subject: --- cli/internal/fs/testdata/correct/turbo.json | 49 +++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 cli/internal/fs/testdata/correct/turbo.json (limited to 'cli/internal/fs/testdata/correct') diff --git a/cli/internal/fs/testdata/correct/turbo.json b/cli/internal/fs/testdata/correct/turbo.json new file mode 100644 index 0000000..e22cde2 --- /dev/null +++ b/cli/internal/fs/testdata/correct/turbo.json @@ -0,0 +1,49 @@ +// mocked test comment +{ + "pipeline": { + "build": { + "experimentalPassthroughEnv": ["GITHUB_TOKEN"], + // mocked test comment + "dependsOn": [ + // mocked test comment + "^build" + ], + "outputs": ["dist/**", "!dist/assets/**", ".next/**"], + "outputMode": "new-only" + }, // mocked test comment + "lint": { + "outputs": [], + "dependsOn": ["$MY_VAR"], + "cache": true, + "outputMode": "new-only" + }, + "dev": { + "cache": false, + "outputMode": "full" + }, + /* mocked test comment */ + "publish": { + "outputs": ["dist/**"], + "inputs": [ + /* + mocked test comment + */ + "build/**/*" + ], + "dependsOn": [ + /* mocked test comment */ "^publish", + "^build", + "build", + "admin#lint" + ], + "cache": false + } + }, + "globalDependencies": ["some-file", "../another-dir/**", "$GLOBAL_ENV_VAR"], + "globlaEnv": ["SOME_VAR", "ANOTHER_VAR"], + "experimentalGlobalPassThroughEnv": ["AWS_SECRET_KEY"], + "remoteCache": { + "teamId": "team_id", + "signature": true + } +} -- cgit v1.2.3-70-g09d2