@react-native/core-cli-utils 0.75.0-nightly-20240507-be09d1266 → 0.75.0-nightly-20240508-88ab1ceea

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native/core-cli-utils",
3
- "version": "0.75.0-nightly-20240507-be09d1266",
3
+ "version": "0.75.0-nightly-20240508-88ab1ceea",
4
4
  "description": "React Native CLI library for Frameworks to build on",
5
5
  "license": "MIT",
6
6
  "main": "./dist/index.js",
@@ -30,6 +30,7 @@ type AppleBuildOptions = {
30
30
 
31
31
  type AppleBootstrapOption = {
32
32
  // Enabled by default
33
+ hermes: boolean,
33
34
  newArchitecture: boolean,
34
35
  ...AppleOptions,
35
36
  };
@@ -75,12 +76,16 @@ export const tasks = {
75
76
  cwd: options.cwd,
76
77
  }),
77
78
  ),
78
- installDependencies: task(THIRD, 'Install CocoaPods dependencies', () =>
79
- execa('bundle', ['exec', 'pod', 'install'], {
79
+ installDependencies: task(THIRD, 'Install CocoaPods dependencies', () => {
80
+ const env = {
81
+ RCT_NEW_ARCH_ENABLED: options.newArchitecture ? '1' : '0',
82
+ HERMES: options.hermes ? '1' : '0',
83
+ };
84
+ return execa('bundle', ['exec', 'pod', 'install'], {
80
85
  cwd: options.cwd,
81
- env: {RCT_NEW_ARCH_ENABLED: options.newArchitecture ? '1' : '0'},
82
- }),
83
- ),
86
+ env,
87
+ });
88
+ }),
84
89
  }),
85
90
 
86
91
  // 2. Build the iOS app using a setup environment