From eac63c2e1111df530a0e517dcc584b7d9a8a2a7a Mon Sep 17 00:00:00 2001 From: Rivka Ungar Date: Tue, 5 Nov 2024 21:38:50 +0200 Subject: [PATCH] rename folder --- packages/codemod/bin/vibe-codemod.ts | 2 +- .../core/v2-to-v3/{optional => enums}/Enums-migration.ts | 0 .../{optional => enums}/__tests__/Enums-migration.test.ts | 0 .../core/v2-to-v3/{optional => enums}/enumMappings.json | 0 4 files changed, 1 insertion(+), 1 deletion(-) rename packages/codemod/transformations/core/v2-to-v3/{optional => enums}/Enums-migration.ts (100%) rename packages/codemod/transformations/core/v2-to-v3/{optional => enums}/__tests__/Enums-migration.test.ts (100%) rename packages/codemod/transformations/core/v2-to-v3/{optional => enums}/enumMappings.json (100%) 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