expo-modules-autolinking 1.0.2 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -10,6 +10,10 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 1.1.0 — 2023-02-03
14
+
15
+ _This version does not introduce any user-facing changes._
16
+
13
17
  ## 1.0.2 — 2023-01-10
14
18
 
15
19
  ### 🐛 Bug fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-modules-autolinking",
3
- "version": "1.0.2",
3
+ "version": "1.1.0",
4
4
  "description": "Scripts that autolink Expo modules.",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -48,5 +48,5 @@
48
48
  "find-up": "^5.0.0",
49
49
  "fs-extra": "^9.1.0"
50
50
  },
51
- "gitHead": "9047ecfbe233924e4848722b518d8ce1fa8b7173"
51
+ "gitHead": "1815e2eaad8c753588c7b1eb74420174a28e01f4"
52
52
  }
@@ -35,8 +35,9 @@ module Pod
35
35
  patched_spec = Specification.from_json(spec_json.to_json)
36
36
 
37
37
  # Patch podspecs to define module
38
- elsif ['ReactCommon', 'React-RCTAppDelegate'].include? name
38
+ elsif ['ReactCommon', 'React-RCTAppDelegate', 'React-hermes', 'React-jsc'].include? name
39
39
  spec_json = JSON.parse(podspec.to_pretty_json)
40
+ spec_json['pod_target_xcconfig'] ||= {}
40
41
  spec_json['pod_target_xcconfig']['DEFINES_MODULE'] = 'YES'
41
42
  patched_spec = Specification.from_json(spec_json.to_json)
42
43
  end