Skip to content

Commit 841793a

Browse files
fortmarekfacebook-github-bot
authored andcommitted
Fix hermes compilation in the react-native package (#33881)
Summary: When releasing the latest RC, we have noticed `pod install` is broken since the downloaded `react-native` package is missing hermes scripts and `shelljs` dependency (needed by `hermes-utils.js`). ## Changelog <!-- Help reviewers and the release process by writing your own changelog entry. For an example, see: https://github.com/facebook/react-native/wiki/Changelog --> [Internal] - Fix compiling hermes in the release version. Pull Request resolved: #33881 Test Plan: - Run `test-manual-e2e.sh` with template and Hermes on iOS Reviewed By: GijsWeterings Differential Revision: D36546116 Pulled By: cortinico fbshipit-source-id: 70fe70de7d63193df888b8ece935c4fa97b4dfc8
1 parent d7dd178 commit 841793a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

package.json

+3
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@
5858
"scripts/cocoapods/flipper.rb",
5959
"scripts/cocoapods/new_architecture.rb",
6060
"scripts/react-native-xcode.sh",
61+
"scripts/hermes/hermes-utils.js",
62+
"scripts/hermes/prepare-hermes-for-build.js",
6163
"sdks/hermes-engine",
6264
"sdks/hermesc",
6365
"template.config.js",
@@ -130,6 +132,7 @@
130132
"react-shallow-renderer": "16.14.1",
131133
"regenerator-runtime": "^0.13.2",
132134
"scheduler": "^0.21.0",
135+
"shelljs": "^0.8.5",
133136
"stacktrace-parser": "^0.1.3",
134137
"use-sync-external-store": "^1.0.0",
135138
"whatwg-fetch": "^3.0.0",

0 commit comments

Comments
 (0)