Skip to content

Commit 9ceaf31

Browse files
authored
Update node version (#7)
* Update node version * try this * try this * ok
1 parent 2e5528e commit 9ceaf31

File tree

3 files changed

+398
-145
lines changed

3 files changed

+398
-145
lines changed

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
12.22.0
1+
18.20.6

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"unist-util-visit": "^1.1.3"
6060
},
6161
"engines": {
62-
"node": "12.x.x || 14.x.x || 15.x.x || 16.x.x",
62+
"node": "12.x.x || 14.x.x || 15.x.x || 16.x.x || 18.x.x",
6363
"yarn": "^1.3.2"
6464
},
6565
"homepage": "https://reactjs.org/",
@@ -71,7 +71,7 @@
7171
"url": "git+https://github.com/reactjs/reactjs.org.git"
7272
},
7373
"scripts": {
74-
"build": "gatsby clean && gatsby build",
74+
"build": "export NODE_OPTIONS=--openssl-legacy-provider && gatsby clean && gatsby build",
7575
"check-all": "npm-run-all prettier generate-ids --parallel lint flow",
7676
"ci-check": "npm-run-all prettier:diff --parallel lint flow",
7777
"dev": "gatsby develop -H 0.0.0.0",

0 commit comments

Comments
 (0)