Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: ship codegen generated specs #2

Merged
merged 1 commit into from
Nov 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1837,7 +1837,7 @@ SPEC CHECKSUMS:
React-Mapbuffer: b0b4ace5b62b269f3838df26ba2d8b4f39f90783
React-microtasksnativemodule: 0b7db04c18f6bb01ef5b1f9007c3229abecc35dd
react-native-blob-util: e6a3b23a99ac2c3d9fa48722db049a1e1808efc2
react-native-draco: a5b96516aa5730b6500d31f5a56de03aa58cc973
react-native-draco: 991258c154c8ad912b15d15707282636344ec198
React-nativeconfig: 72c10ff34863148ef90df9c9c8eacba99d2faaaa
React-NativeModulesApple: 5ec49182fa000b2215ee1bed03e2867f8323ccf5
React-perflogger: 073c7a8a436b3fe724f1df34e9d1f3db1d25fe74
Expand Down Expand Up @@ -1868,10 +1868,10 @@ SPEC CHECKSUMS:
ReactNativeHost: a27bb5af1c4d73dd3e80cc7ce295407f414e0e8c
ReactTestApp-DevSupport: 1e39530b4a8602e7138a5b9dfafe41d3a78382ff
ReactTestApp-Resources: ef64fb77d09031eba0ada7240f39d4579fa02361
Resources: 1be6baca2388aacddcc0328ea6ee3de074eef20d
Resources: d39dc58dd16fbcc7cfb0f8b0a62679feac55bc05
SocketRocket: d4aabe649be1e368d1318fdf28a022d714d65748
Yoga: f8ec45ce98bba1bc93dd28f2ee37215180e6d2b6

PODFILE CHECKSUM: 88db05552cc61eb79b2fccb6f3e09940db6299a2
PODFILE CHECKSUM: b64ce096b3bdd3e5e69e58c42f23d8ebdc23a054

COCOAPODS: 1.15.2
12 changes: 5 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"types": "./lib/typescript/commonjs/src/index.d.ts",
"default": "./lib/commonjs/index.js"
}
}
},
"package.json": "./package.json"
},
"files": [
"src",
Expand Down Expand Up @@ -186,14 +187,11 @@
},
"codegenConfig": {
"name": "RNDracoSpec",
"type": "all",
"type": "modules",
"jsSrcsDir": "src",
"includesGeneratedCode": true,
"outputDir": {
"ios": "ios/generated",
"android": "android/generated"
},
"android": {
"javaPackageName": "com.draco"
"ios": "ios/generated"
}
},
"create-react-native-library": {
Expand Down
2 changes: 1 addition & 1 deletion react-native-draco.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Pod::Spec.new do |s|
s.platforms = { :ios => min_ios_version_supported }
s.source = { :git => "https://github.com/callstack/react-native-draco.git", :tag => "#{s.version}" }

s.source_files = "ios/**/*.{h,m,mm}", "cpp/**/*.{hpp,cpp,c,h}"
s.source_files = "ios/**/*.{h,m,mm,cpp}", "cpp/**/*.{hpp,cpp,c,h}"

s.pod_target_xcconfig = {
'HEADER_SEARCH_PATHS' => '$(PODS_TARGET_SRCROOT)/libs/include',
Expand Down
Loading