Skip to content

Commit 8c412bc

Browse files
committed
Delete node-api headers from the host package
1 parent 2e18c6c commit 8c412bc

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

packages/host/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,7 @@
7878
"devDependencies": {
7979
"@babel/core": "^7.26.10",
8080
"@babel/types": "^7.27.0",
81-
"fswin": "^3.24.829",
82-
"node-api-headers": "^1.5.0"
81+
"fswin": "^3.24.829"
8382
},
8483
"peerDependencies": {
8584
"@babel/core": "^7.26.10",

packages/host/react-native-node-api.podspec

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,11 @@ Pod::Spec.new do |s|
3131

3232
s.source = { :git => "https://github.com/callstackincubator/react-native-node-api.git", :tag => "#{s.version}" }
3333

34-
s.source_files = "apple/**/*.{h,m,mm}", "cpp/**/*.{hpp,cpp,c,h}", "weak-node-api/include/*.h", "weak-node-api/*.hpp"
35-
s.public_header_files = "weak-node-api/include/*.h"
34+
s.source_files = "apple/**/*.{h,m,mm}", "cpp/**/*.{hpp,cpp,c,h}"
3635

37-
s.vendored_frameworks = "auto-linked/apple/*.xcframework", "weak-node-api/weak-node-api.xcframework"
36+
s.dependency "weak-node-api"
37+
38+
s.vendored_frameworks = "auto-linked/apple/*.xcframework"
3839
s.script_phase = {
3940
:name => 'Copy Node-API xcframeworks',
4041
:execution_position => :before_compile,

0 commit comments

Comments
 (0)