Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,6 @@ jobs:
run: |
set -eox pipefail
npm install ${{ runner.temp }}/react-native-macos.tgz
# yarn pack strips execute bits from shell scripts.
# publishConfig.executableFiles could fix this but doesn't support globs.
find node_modules/react-native-macos/scripts -name '*.sh' -exec chmod +x {} +

- name: Apply macOS template
working-directory: ${{ runner.temp }}/testcli
Expand Down
21 changes: 21 additions & 0 deletions packages/react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,27 @@
"react-native": "cli.js",
"react-native-macos": "cli.js"
},
"publishConfig": {
"executableFiles": [
"scripts/find-node-for-xcode.sh",
"scripts/ios-configure-glog.sh",
"scripts/node-binary.sh",
"scripts/packager.sh",
"scripts/react-native-xcode.sh",
"scripts/react_native_pods_utils/script_phases.sh",
"scripts/update-ruby.sh",
"scripts/xcode/ccache-clang.sh",
"scripts/xcode/ccache-clang++.sh",
"scripts/xcode/with-environment.sh",
"sdks/hermes-engine/utils/build-apple-framework.sh",
"sdks/hermes-engine/utils/build-hermes-xcode.sh",
"sdks/hermes-engine/utils/build-hermesc-xcode.sh",
"sdks/hermes-engine/utils/build-ios-framework.sh",
"sdks/hermes-engine/utils/build-mac-framework.sh",
"sdks/hermes-engine/utils/copy-hermes-xcode.sh",
"sdks/hermes-engine/utils/create-dummy-hermes-xcframework.sh"
]
},
"main": "./index.js",
"types": "types",
"exports": {
Expand Down
Loading