diff --git a/packages/turbo-utils/__fixtures__/common/old-workspace-config/turbo.json b/packages/turbo-utils/__fixtures__/common/old-workspace-config/turbo.json index d44dedb04af78..2e645e4810e47 100644 --- a/packages/turbo-utils/__fixtures__/common/old-workspace-config/turbo.json +++ b/packages/turbo-utils/__fixtures__/common/old-workspace-config/turbo.json @@ -1,7 +1,7 @@ { "$schema": "https://turbo.build/schema.json", "globalDependencies": ["**/.env.*local"], - "pipeline": { + "tasks": { "build": { "outputs": [".next/**", "!.next/cache/**"] }, diff --git a/packages/turbo-utils/__fixtures__/common/single-package/turbo.json b/packages/turbo-utils/__fixtures__/common/single-package/turbo.json index 8079eb24634da..ef677c3a7298f 100644 --- a/packages/turbo-utils/__fixtures__/common/single-package/turbo.json +++ b/packages/turbo-utils/__fixtures__/common/single-package/turbo.json @@ -1,7 +1,7 @@ { "$schema": "https://turbo.build/schema.json", "globalEnv": ["UNORDERED", "CI"], - "pipeline": { + "tasks": { "build": { // A workspace's `build` task depends on that workspace's // topological dependencies' and devDependencies' diff --git a/packages/turbo-utils/__fixtures__/common/workspace-configs/apps/web/turbo.json b/packages/turbo-utils/__fixtures__/common/workspace-configs/apps/web/turbo.json index 0d1b80f43964c..f024dd2535d73 100644 --- a/packages/turbo-utils/__fixtures__/common/workspace-configs/apps/web/turbo.json +++ b/packages/turbo-utils/__fixtures__/common/workspace-configs/apps/web/turbo.json @@ -1,7 +1,7 @@ { "$schema": "https://turbo.build/schema.json", "extends": ["//"], - "pipeline": { + "tasks": { "build": { "env": ["ENV_2"] } diff --git a/packages/turbo-utils/__fixtures__/common/workspace-configs/packages/ui/turbo.json b/packages/turbo-utils/__fixtures__/common/workspace-configs/packages/ui/turbo.json index 8bff09ede4657..08163b5fa3653 100644 --- a/packages/turbo-utils/__fixtures__/common/workspace-configs/packages/ui/turbo.json +++ b/packages/turbo-utils/__fixtures__/common/workspace-configs/packages/ui/turbo.json @@ -1,7 +1,7 @@ { "$schema": "https://turbo.build/schema.json", "extends": ["//"], - "pipeline": { + "tasks": { "build": { "env": ["IS_SERVER"] } diff --git a/packages/turbo-utils/__fixtures__/common/workspace-configs/packages/utils/turbo.json b/packages/turbo-utils/__fixtures__/common/workspace-configs/packages/utils/turbo.json index fcb2aa74fe929..6774a20048a10 100644 --- a/packages/turbo-utils/__fixtures__/common/workspace-configs/packages/utils/turbo.json +++ b/packages/turbo-utils/__fixtures__/common/workspace-configs/packages/utils/turbo.json @@ -1,7 +1,7 @@ { "$schema": "https://turbo.build/schema.json", // invalid config - missing extends - "pipeline": { + "tasks": { "build": { "env": ["IS_SERVER"] } diff --git a/packages/turbo-utils/__fixtures__/common/workspace-configs/turbo.json b/packages/turbo-utils/__fixtures__/common/workspace-configs/turbo.json index cb4fb203398fa..e985aa6441260 100644 --- a/packages/turbo-utils/__fixtures__/common/workspace-configs/turbo.json +++ b/packages/turbo-utils/__fixtures__/common/workspace-configs/turbo.json @@ -1,7 +1,7 @@ { "$schema": "https://turbo.build/schema.json", "globalEnv": ["CI"], - "pipeline": { + "tasks": { "build": { "env": ["ENV_1"] } diff --git a/packages/turbo-utils/__tests__/getTurboConfigs.test.ts b/packages/turbo-utils/__tests__/getTurboConfigs.test.ts index c8506886c3fdf..27b0e458e6917 100644 --- a/packages/turbo-utils/__tests__/getTurboConfigs.test.ts +++ b/packages/turbo-utils/__tests__/getTurboConfigs.test.ts @@ -20,7 +20,7 @@ describe("getTurboConfigs", () => { "UNORDERED", "CI", ], - "pipeline": Object { + "tasks": Object { "build": Object { "dependsOn": Array [ "^build", @@ -66,7 +66,7 @@ describe("getTurboConfigs", () => { "globalEnv": Array [ "CI", ], - "pipeline": Object { + "tasks": Object { "build": Object { "env": Array [ "ENV_1", @@ -82,7 +82,7 @@ describe("getTurboConfigs", () => { "extends": Array [ "//", ], - "pipeline": Object { + "tasks": Object { "build": Object { "env": Array [ "ENV_2", @@ -99,7 +99,7 @@ describe("getTurboConfigs", () => { "extends": Array [ "//", ], - "pipeline": Object { + "tasks": Object { "build": Object { "env": Array [ "IS_SERVER", @@ -122,7 +122,7 @@ describe("getTurboConfigs", () => { "globalDependencies": Array [ "**/.env.*local", ], - "pipeline": Object { + "tasks": Object { "build": Object { "outputs": Array [ ".next/**",