diff --git a/packages/codemod/bin/vibe-codemod.ts b/packages/codemod/bin/vibe-codemod.ts index a5ed7af3c0..7613ffbf9e 100755 --- a/packages/codemod/bin/vibe-codemod.ts +++ b/packages/codemod/bin/vibe-codemod.ts @@ -13,7 +13,7 @@ import { hideBin } from "yargs/helpers"; const mapMigrationType: { [key: string]: string } = { v3: "v2-to-v3", - enums: "v2-to-v3/optional" + enums: "v2-to-v3/enums" }; const migrations = Object.keys(mapMigrationType); diff --git a/packages/codemod/transformations/core/v2-to-v3/optional/Enums-migration.ts b/packages/codemod/transformations/core/v2-to-v3/enums/Enums-migration.ts similarity index 100% rename from packages/codemod/transformations/core/v2-to-v3/optional/Enums-migration.ts rename to packages/codemod/transformations/core/v2-to-v3/enums/Enums-migration.ts diff --git a/packages/codemod/transformations/core/v2-to-v3/optional/__tests__/Enums-migration.test.ts b/packages/codemod/transformations/core/v2-to-v3/enums/__tests__/Enums-migration.test.ts similarity index 100% rename from packages/codemod/transformations/core/v2-to-v3/optional/__tests__/Enums-migration.test.ts rename to packages/codemod/transformations/core/v2-to-v3/enums/__tests__/Enums-migration.test.ts diff --git a/packages/codemod/transformations/core/v2-to-v3/optional/enumMappings.json b/packages/codemod/transformations/core/v2-to-v3/enums/enumMappings.json similarity index 100% rename from packages/codemod/transformations/core/v2-to-v3/optional/enumMappings.json rename to packages/codemod/transformations/core/v2-to-v3/enums/enumMappings.json