Skip to content

Commit 6199363

Browse files
chrisgervangPessimistress
authored andcommitted
Upgrade Node.js from 18 to 20 across build, test, website and repo (#10050)
1 parent dd97915 commit 6199363

File tree

5 files changed

+8
-5
lines changed

5 files changed

+8
-5
lines changed

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18.19.0
1+
20.19.0

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ PRs and bug reports are welcome, and we are actively looking for new maintainers
99

1010
The **master** branch is the active development branch.
1111

12-
Building deck.gl locally from the source requires node.js `>=18`. Further limitations on the Node version may be imposed by [puppeteer](https://github.com/puppeteer/puppeteer#usage) and [headless-gl](https://github.com/stackgl/headless-gl#supported-platforms-and-nodejs-versions).
12+
Building deck.gl locally from the source requires node.js `>=20`. Further limitations on the Node version may be imposed by [puppeteer](https://github.com/puppeteer/puppeteer#usage) and [headless-gl](https://github.com/stackgl/headless-gl#supported-platforms-and-nodejs-versions).
1313
We use [yarn](https://yarnpkg.com/en/docs/install) to manage the dependencies of deck.gl. The project's automated builds use Node [corepack](https://github.com/nodejs/corepack) to manage the yarn version. For local development, you can use [nvm](https://github.com/nvm-sh/nvm) or any other Node version manager of your choice - a `.nvmrc` configuration file is provided.
1414

1515
```bash

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:8.9.0
1+
FROM node:20
22

33
WORKDIR /deck-gl
44
ENV PATH /deck-gl/node_modules/.bin:$PATH

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"bindings-precommit-tests"
6464
],
6565
"engines": {
66-
"node": ">=14"
66+
"node": ">=20"
6767
},
6868
"packageManager": "yarn@1.22.19"
6969
}

website/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,8 @@
5959
">0.2% and supports async-functions",
6060
"not dead"
6161
],
62-
"packageManager": "yarn@1.22.19"
62+
"packageManager": "yarn@1.22.19",
63+
"engines": {
64+
"node": ">=20"
65+
}
6366
}

0 commit comments

Comments
 (0)