Skip to content
This repository was archived by the owner on Feb 6, 2023. It is now read-only.

Commit 584d849

Browse files
thibaudcolasfacebook-github-bot
authored andcommitted
Remove Node 6 from engines list in package.json
Summary: **Summary** Fixes #1650. Travis is using Node 8 since 247a632, and Prettier is already configured in a way that's not Node-6 compatible: https://github.com/facebook/draft-js/blob/a6317e60b06519d3c00a2c0621701f3da0837a88/prettier.config.js#L3 Node 8 is the LTS release line since late october 2017 so I think it's fair to remove support for Node 6. NB: I see `devEngines` also states support for npm 2 and 3. Node 8 ships with npm 5 by default, so I imagine those 2 versions could be removed as well. Edit: Ah actually I see draft-js is at least partially using yarn since #1568 / #1570. **Test plan** No tests. This is only removing support, it doesn't affect supported versions. Closes #1652 Differential Revision: D7013709 fbshipit-source-id: bdb7e105352be2e8f205c36f516b1e6c4cedb591
1 parent 6cc2d85 commit 584d849

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
"webpack-stream": "^4.0.0"
8686
},
8787
"devEngines": {
88-
"node": "6.x || 8.x || 9.x",
88+
"node": "8.x || 9.x",
8989
"npm": "2.x || 3.x || 5.x"
9090
},
9191
"jest": {

0 commit comments

Comments
 (0)