From 841793a281230d92d99f461e7fc5b743847a6eec Mon Sep 17 00:00:00 2001 From: fortmarek Date: Fri, 20 May 2022 07:43:32 -0700 Subject: [PATCH] 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 [Internal] - Fix compiling hermes in the release version. Pull Request resolved: https://github.com/facebook/react-native/pull/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 --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index 2c05dc91d26..12e0ef27262 100644 --- a/package.json +++ b/package.json @@ -58,6 +58,8 @@ "scripts/cocoapods/flipper.rb", "scripts/cocoapods/new_architecture.rb", "scripts/react-native-xcode.sh", + "scripts/hermes/hermes-utils.js", + "scripts/hermes/prepare-hermes-for-build.js", "sdks/hermes-engine", "sdks/hermesc", "template.config.js", @@ -130,6 +132,7 @@ "react-shallow-renderer": "16.14.1", "regenerator-runtime": "^0.13.2", "scheduler": "^0.21.0", + "shelljs": "^0.8.5", "stacktrace-parser": "^0.1.3", "use-sync-external-store": "^1.0.0", "whatwg-fetch": "^3.0.0",