Skip to content

Commit 55f0095

Browse files
authored
Fix codegen issues for RNTester after renaming package (#40)
1 parent cc21572 commit 55f0095

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

packages/react-native/scripts/codegen/generate-artifacts-executor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const CORE_LIBRARIES_WITH_OUTPUT_FOLDER = {
3737
rncore: path.join(REACT_NATIVE_PACKAGE_ROOT_FOLDER, 'ReactCommon'),
3838
FBReactNativeSpec: null,
3939
};
40-
const REACT_NATIVE = 'react-native';
40+
const REACT_NATIVE = '@callstack/react-native-visionos';
4141

4242
// HELPERS
4343

packages/rn-tester/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
},
3030
"peerDependencies": {
3131
"react": "18.2.0",
32-
"react-native": "*"
32+
"react-native": "*",
33+
"@callstack/react-native-visionos": "*"
3334
},
3435
"codegenConfig": {
3536
"name": "AppSpecs",

0 commit comments

Comments
 (0)