Skip to content

Commit b1dae68

Browse files
committed
Upgrade Node.js from 18 to 20 across build, test, website and repo
- Update .nvmrc from 18.20.8 to 20.19.0 (Node 20 LTS) - Update package.json engines field from >=14 to >=18 - Update CONTRIBUTING.md to document >=20 requirement - Update Dockerfile base image from node:8.9.0 to node:20 CI workflows already use node-version-file: '.nvmrc' so they will automatically pick up the new Node 20 version. https://claude.ai/code/session_016oyFSyGm7hYU1e1KDXqjnW
1 parent a4d4cc0 commit b1dae68

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18.20.8
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": ">=18"
6767
},
6868
"packageManager": "yarn@1.22.19"
6969
}

0 commit comments

Comments
 (0)