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

bump metro minimum supported Node.js to 18.18 #1351

Closed
wants to merge 1 commit into from

Conversation

vzaidman
Copy link
Contributor

@vzaidman vzaidman commented Sep 11, 2024

After bumping the minimum supported version of Node.js for react native in facebook/react-native-website#4211, this PR bumps the minimum supported version in Metro to 18.18.

This will:

  • Align us with React-Native
  • Align us with the minimum version of our dev dependencies which comes from @typescript-eslint/typescript-eslint (also 18.8
    • This will allow us to install yarn packages on the minimum version of node without the --ignore-engines flag.
  • Allow us to get rid of the workaround for fetch in Node.js < 18.14 in packages/metro/src/integration_tests/__tests__/server-test.js.

Changelog: [Breaking] Bump minimum supported Node.js version to 18.18

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 11, 2024
@vzaidman vzaidman force-pushed the bump-metro-version-to-18.8 branch 2 times, most recently from e3f49c6 to c9b2ea0 Compare September 11, 2024 16:01
@vzaidman vzaidman changed the title bump metro to minimum node 18.8 bump metro minimum supported Node.js to 18.8 Sep 11, 2024
@facebook-github-bot
Copy link
Contributor

@vzaidman has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@vzaidman vzaidman changed the title bump metro minimum supported Node.js to 18.8 bump metro minimum supported Node.js to 18.18 Sep 11, 2024
@facebook-github-bot
Copy link
Contributor

@vzaidman has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@vzaidman has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@vzaidman merged this pull request in 0fcd69a.

robhogan pushed a commit that referenced this pull request Sep 16, 2024
Summary:
After bumping the minimum supported version of Node.js for react native in facebook/react-native-website#4211, this PR bumps the minimum supported version in Metro to 18.8.

This will:
* Align us with React-Native
* Align us with the minimum version of our dev dependencies which comes from `typescript-eslint/typescript-eslint` (also 18.8
  * This will allow us to install `yarn` packages on the minimum version of node without the `--ignore-engines` flag.
* Allow us to get rid of the workaround for fetch in Node.js < 18.14 in `packages/metro/src/integration_tests/__tests__/server-test.js`.

Changelog:**[Breaking]** Bump minimum supported Node.js version to 18.18

Pull Request resolved: #1351

Reviewed By: huntie

Differential Revision: D62505043

Pulled By: vzaidman

fbshipit-source-id: a9d013db36dc203a475770bb5a4dc6e96a64475b
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. Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants