Skip to content

fix(0.81): add publishConfig.executableFiles for yarn pack compatibility#2919

Merged
Saadnajmi merged 2 commits intomicrosoft:0.81-stablefrom
Saadnajmi:fix/executable-files-081
Apr 15, 2026
Merged

fix(0.81): add publishConfig.executableFiles for yarn pack compatibility#2919
Saadnajmi merged 2 commits intomicrosoft:0.81-stablefrom
Saadnajmi:fix/executable-files-081

Conversation

@Saadnajmi
Copy link
Copy Markdown
Collaborator

Summary

  • Adds publishConfig.executableFiles to packages/react-native/package.json listing all shell scripts included in the tarball, so yarn pack / npm publish preserves their execute permissions.
  • Updates the chmod workaround comment in the CI workflow to reflect that publishConfig.executableFiles is now configured.

Test plan

  • Verify yarn pack in packages/react-native produces a tarball with executable .sh files
  • Verify the microsoft-test-react-native-macos-init CI job still passes

🤖 Generated with Claude Code

yarn pack strips execute permissions from shell scripts. Setting
publishConfig.executableFiles ensures the published tarball retains
correct permissions for all .sh files.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Saadnajmi Saadnajmi requested a review from a team as a code owner April 14, 2026 20:56
@Saadnajmi Saadnajmi changed the title Add publishConfig.executableFiles for yarn pack compatibility fix(0.81): add publishConfig.executableFiles for yarn pack compatibility Apr 15, 2026
@Saadnajmi Saadnajmi enabled auto-merge (squash) April 15, 2026 01:39
@Saadnajmi Saadnajmi disabled auto-merge April 15, 2026 01:39
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Saadnajmi Saadnajmi merged commit 3482d5e into microsoft:0.81-stable Apr 15, 2026
14 checks passed
@Saadnajmi Saadnajmi deleted the fix/executable-files-081 branch April 15, 2026 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants