Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove run Metro hook from Xcode build, remove launchPackager scripts #38242

Closed
wants to merge 1 commit into from

Conversation

huntie
Copy link
Member

@huntie huntie commented Jul 7, 2023

Summary:
See proposal: react-native-community/discussions-and-proposals#681

Removed script files

I searched GitHub (and specifically react-native-windows/macos) to confirm these files are not referenced:

  • scripts/launchPackager.bat
  • scripts/launchPackager.command
  • scripts/.packager.env

Interestingly, React Native CLI refers to a .packager.env at a different location (node_modules/.bin/), and includes modified copies of launchPackager.command/bat. This PR removes duplication with these.

Changelog: [iOS][Breaking] Metro will no longer be started when running builds via Xcode

Differential Revision: D47297469

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner fb-exported labels Jul 7, 2023
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D47297469

@analysis-bot
Copy link

analysis-bot commented Jul 7, 2023

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 9,001,915 -1
android hermes armeabi-v7a 8,255,978 -1
android hermes x86 9,511,054 -1
android hermes x86_64 9,356,939 +0
android jsc arm64-v8a 9,614,949 -1
android jsc armeabi-v7a 8,741,584 +1
android jsc x86 9,701,902 -2
android jsc x86_64 9,948,458 +0

Base commit: c82f2e9
Branch: main

…facebook#38242)

Summary:
Pull Request resolved: facebook#38242

See proposal: react-native-community/discussions-and-proposals#681

**Removed script files**

I searched GitHub (and specifically `react-native-windows/macos`) to confirm these files are not referenced:

- `scripts/launchPackager.bat`
- `scripts/launchPackager.command`
- `scripts/.packager.env`

Interestingly, React Native CLI refers to a `.packager.env` at a different location (`node_modules/.bin/`), and includes modified copies of `launchPackager.command/bat`. This PR removes duplication with these.

Changelog: [iOS][Breaking] Metro will no longer be started when running builds via Xcode

Reviewed By: cortinico

Differential Revision: D47297469

fbshipit-source-id: 8edd7934c91250416ea13348821dc08905c6ca50
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D47297469

@github-actions github-actions bot added the Merged This PR has been merged. label Jul 10, 2023
@github-actions
Copy link

This pull request was successfully merged by @huntie in dc68457.

When will my fix make it into a release? | Upcoming Releases

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in dc68457.

@huntie huntie deleted the export-D47297469 branch August 29, 2023 16:15
EvanBacon added a commit to expo/expo that referenced this pull request Oct 31, 2023
# Why

- Aligns with upstream React Native
facebook/react-native#38242
-
react-native-community/discussions-and-proposals#681
- "Fix" monorepo issues ENG-10051

# How

- Remove script from templates.
- Drop unused files.

---------

Co-authored-by: Expo Bot <34669131+expo-bot@users.noreply.github.com>
blakef pushed a commit to blakef/template that referenced this pull request Feb 28, 2024
… (#38242)

Summary:
Pull Request resolved: facebook/react-native#38242

See proposal: react-native-community/discussions-and-proposals#681

**Removed script files**

I searched GitHub (and specifically `react-native-windows/macos`) to confirm these files are not referenced:

- `scripts/launchPackager.bat`
- `scripts/launchPackager.command`
- `scripts/.packager.env`

Interestingly, React Native CLI refers to a `.packager.env` at a different location (`node_modules/.bin/`), and includes modified copies of `launchPackager.command/bat`. This PR removes duplication with these.

Changelog: [iOS][Breaking] Metro will no longer be started when running builds via Xcode

Reviewed By: cortinico

Differential Revision: D47297469

fbshipit-source-id: 06c3602d58b21ed693c3daa763d99947a70bfc5a

Original: facebook/react-native@dc68457
blakef pushed a commit to react-native-community/template that referenced this pull request Feb 29, 2024
… (#38242)

Summary:
Pull Request resolved: facebook/react-native#38242

See proposal: react-native-community/discussions-and-proposals#681

**Removed script files**

I searched GitHub (and specifically `react-native-windows/macos`) to confirm these files are not referenced:

- `scripts/launchPackager.bat`
- `scripts/launchPackager.command`
- `scripts/.packager.env`

Interestingly, React Native CLI refers to a `.packager.env` at a different location (`node_modules/.bin/`), and includes modified copies of `launchPackager.command/bat`. This PR removes duplication with these.

Changelog: [iOS][Breaking] Metro will no longer be started when running builds via Xcode

Reviewed By: cortinico

Differential Revision: D47297469

fbshipit-source-id: 06c3602d58b21ed693c3daa763d99947a70bfc5a

Original-Commit: facebook/react-native@dc68457
blakef pushed a commit to react-native-community/template that referenced this pull request Feb 29, 2024
… (#38242)

Summary:
Pull Request resolved: facebook/react-native#38242

See proposal: react-native-community/discussions-and-proposals#681

**Removed script files**

I searched GitHub (and specifically `react-native-windows/macos`) to confirm these files are not referenced:

- `scripts/launchPackager.bat`
- `scripts/launchPackager.command`
- `scripts/.packager.env`

Interestingly, React Native CLI refers to a `.packager.env` at a different location (`node_modules/.bin/`), and includes modified copies of `launchPackager.command/bat`. This PR removes duplication with these.

Changelog: [iOS][Breaking] Metro will no longer be started when running builds via Xcode

Reviewed By: cortinico

Differential Revision: D47297469

fbshipit-source-id: 06c3602d58b21ed693c3daa763d99947a70bfc5a

Original-Commit: facebook/react-native@dc68457
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants