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

[Node 8] Prepare for Node 8 #19226

Closed
11 tasks done
hramos opened this issue May 11, 2018 · 0 comments
Closed
11 tasks done

[Node 8] Prepare for Node 8 #19226

hramos opened this issue May 11, 2018 · 0 comments
Labels
JavaScript Resolution: Fixed A PR that fixes this issue has been merged. Resolution: Locked This issue was locked by the bot. Type: Discussion Long running discussion.

Comments

@hramos
Copy link
Contributor

hramos commented May 11, 2018

The time has come to bump the minimum required Node version to 8. Node 4.x LTS reached end of life, and Node 6.x entered maintenance mode, on April 30, 2018. Furthermore, this will allow us to be consistent with the rest of the JavaScript code at Facebook.

The codebase is ready for this, as our tests have been running on Node 8 for a while now.

Things that need to be done:

  • Update the documentation to tell people to install Node.js 8 or newer (react-native-website/#355)
  • Test with Node 8
  • Upgrade the Circle CI tests to run against Node 8 (8fa9984)
  • Convert Libraries/ to let/consts (8f5ebe5)
  • Allow trailing commas in the codebase (1e2de71)
  • Run Prettier (86b6f5d, dca21c8, d01ab66, additional commits incoming)
  • Update the version check message in the packager (local-cli‎/server‎/‎ checkNodeVersion.js)
  • Remove the Node 6 compatibility tests on Circle CI (.circleci‎/‎ config.yml)

The last three action items are in flight and should be landing soon.

cc @ide (h/t #2545), @TheSavior, @grabbou

Environment

N/A

Steps to Reproduce

N/A

Expected Behavior

N/A

Actual Behavior

N/A

facebook-github-bot pushed a commit that referenced this issue May 12, 2018
Summary:
Moving to Node 8 in React Native will allow us to be consistent with Facebook, e.g. trailing commas.

As of April 30, Node 4.x is end of life, and Node 6.x entered maintenance mode (see https://medium.com/the-node-js-collection/april-2018-release-updates-from-the-node-js-project-71687e1f7742).

This will require our docs to be updated to require Node 8 as a minimum. This should be done as part of the following PR: facebook/react-native-website#355

Circle CI already runs all JS tests using Node 8, and it has an extra compatibility check that uses Node 6. This workflow is dropped as we no longer need to check for failures when Node 6 is used.

See #19226

[GENERAL] [BREAKING] [Node] - Bump minimum req. Node version to 8
Closes #19230

Differential Revision: D7979478

Pulled By: hramos

fbshipit-source-id: c91ec118f0a59c4daae5fcdbfc822ccead591304
@hramos hramos closed this as completed May 24, 2018
@hramos hramos added the Resolution: Fixed A PR that fixes this issue has been merged. label May 24, 2018
macdoum1 pushed a commit to macdoum1/react-native that referenced this issue Jun 28, 2018
Summary:
Moving to Node 8 in React Native will allow us to be consistent with Facebook, e.g. trailing commas.

As of April 30, Node 4.x is end of life, and Node 6.x entered maintenance mode (see https://medium.com/the-node-js-collection/april-2018-release-updates-from-the-node-js-project-71687e1f7742).

This will require our docs to be updated to require Node 8 as a minimum. This should be done as part of the following PR: facebook/react-native-website#355

Circle CI already runs all JS tests using Node 8, and it has an extra compatibility check that uses Node 6. This workflow is dropped as we no longer need to check for failures when Node 6 is used.

See facebook#19226

[GENERAL] [BREAKING] [Node] - Bump minimum req. Node version to 8
Closes facebook#19230

Differential Revision: D7979478

Pulled By: hramos

fbshipit-source-id: c91ec118f0a59c4daae5fcdbfc822ccead591304
grabbou pushed a commit to react-native-community/cli that referenced this issue Sep 26, 2018
Summary:
Moving to Node 8 in React Native will allow us to be consistent with Facebook, e.g. trailing commas.

As of April 30, Node 4.x is end of life, and Node 6.x entered maintenance mode (see https://medium.com/the-node-js-collection/april-2018-release-updates-from-the-node-js-project-71687e1f7742).

This will require our docs to be updated to require Node 8 as a minimum. This should be done as part of the following PR: facebook/react-native-website#355

Circle CI already runs all JS tests using Node 8, and it has an extra compatibility check that uses Node 6. This workflow is dropped as we no longer need to check for failures when Node 6 is used.

See facebook/react-native#19226

[GENERAL] [BREAKING] [Node] - Bump minimum req. Node version to 8
Closes facebook/react-native#19230

Differential Revision: D7979478

Pulled By: hramos

fbshipit-source-id: c91ec118f0a59c4daae5fcdbfc822ccead591304
@facebook facebook locked as resolved and limited conversation to collaborators May 24, 2019
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label May 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
JavaScript Resolution: Fixed A PR that fixes this issue has been merged. Resolution: Locked This issue was locked by the bot. Type: Discussion Long running discussion.
Projects
None yet
Development

No branches or pull requests

2 participants