From a8dc575114326038c47afd8913151a6cf0e199b9 Mon Sep 17 00:00:00 2001 From: Phil Pluckthun Date: Mon, 24 Feb 2025 14:24:36 +0000 Subject: [PATCH] Replace jscodeshift with @babel/core --- packages/react-native-codegen/package.json | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/packages/react-native-codegen/package.json b/packages/react-native-codegen/package.json index 51bbcf02d87..60d2016fe81 100644 --- a/packages/react-native-codegen/package.json +++ b/packages/react-native-codegen/package.json @@ -29,24 +29,22 @@ "lib" ], "dependencies": { - "@babel/parser": "^7.25.3", "glob": "^7.1.1", "hermes-parser": "0.25.1", "invariant": "^2.2.4", - "jscodeshift": "^17.0.0", "nullthrows": "^1.1.1", "yargs": "^17.6.2" }, "devDependencies": { "@babel/core": "^7.25.2", + "@babel/plugin-syntax-dynamic-import": "^7.8.3", + "@babel/plugin-transform-async-to-generator": "^7.24.7", "@babel/plugin-transform-class-properties": "^7.25.4", + "@babel/plugin-transform-destructuring": "^7.24.8", + "@babel/plugin-transform-flow-strip-types": "^7.25.2", "@babel/plugin-transform-nullish-coalescing-operator": "^7.24.7", "@babel/plugin-transform-object-rest-spread": "^7.24.7", "@babel/plugin-transform-optional-chaining": "^7.24.8", - "@babel/plugin-syntax-dynamic-import": "^7.8.3", - "@babel/plugin-transform-async-to-generator": "^7.24.7", - "@babel/plugin-transform-destructuring": "^7.24.8", - "@babel/plugin-transform-flow-strip-types": "^7.25.2", "@babel/preset-env": "^7.25.3", "chalk": "^4.0.0", "hermes-estree": "0.25.1", @@ -55,6 +53,7 @@ "rimraf": "^3.0.2" }, "peerDependencies": { + "@babel/core": "*", "@babel/preset-env": "^7.1.6" } }