Skip to content

Commit b771a27

Browse files
authored
Remove codegen related config (#166)
* Remove codegen related config * Add a changeset
1 parent 28373e2 commit b771a27

File tree

3 files changed

+5
-18
lines changed

3 files changed

+5
-18
lines changed

.changeset/wide-stars-repair.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"react-native-node-api": patch
3+
---
4+
5+
Removed unused Codegen related configurations.

packages/host/android/build.gradle

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -132,12 +132,6 @@ dependencies {
132132
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
133133
}
134134

135-
react {
136-
jsRootDir = file("../src/")
137-
libraryName = "NodeApiModules"
138-
codegenJavaPackageName = "com.callstack.node_api_modules"
139-
}
140-
141135
// Custom task to fetch jniLibs paths via CLI
142136
task linkNodeApiModules {
143137
doLast {

packages/host/package.json

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -96,17 +96,5 @@
9696
"peerDependencies": {
9797
"@babel/core": "^7.26.10",
9898
"react-native": "0.79.1 || 0.79.2"
99-
},
100-
"codegenConfig": {
101-
"name": "NodeApiHostSpec",
102-
"type": "modules",
103-
"jsSrcsDir": "src/react-native",
104-
"outputDir": {
105-
"ios": "ios/generated",
106-
"android": "android/generated"
107-
},
108-
"android": {
109-
"javaPackageName": "com.callstack.node_api_modules"
110-
}
11199
}
112100
}

0 commit comments

Comments
 (0)