From 55830759c9b7cf2d94f4737ad5629302f87b65cc Mon Sep 17 00:00:00 2001 From: Chris Olszewski Date: Fri, 31 May 2024 13:59:12 -0700 Subject: [PATCH] feat(codemod): place tasks last in turbo.json rewrites --- packages/turbo-codemod/src/transforms/rename-pipeline.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/turbo-codemod/src/transforms/rename-pipeline.ts b/packages/turbo-codemod/src/transforms/rename-pipeline.ts index bf375b498a096..3226285d51918 100644 --- a/packages/turbo-codemod/src/transforms/rename-pipeline.ts +++ b/packages/turbo-codemod/src/transforms/rename-pipeline.ts @@ -14,7 +14,7 @@ const INTRODUCED_IN = "2.0.0-canary.0"; function migrateConfig(config: SchemaV1): Schema { const { pipeline, ...rest } = config; - return { tasks: pipeline, ...rest }; + return { ...rest, tasks: pipeline }; } export function transformer({