Skip to content

Commit 9d4542b

Browse files
Copilotchrisgervangclaude
authored
Remove Volta from deck.gl (#9970)
* chore(examples): replace deprecated `assert` with `with` for JSON imports The `assert` keyword for import attributes is deprecated in Node.js 18+ in favor of the `with` keyword. This change fixes deprecation warnings when running tests and ensures compatibility with modern Node.js versions. The `with` syntax requires Node.js 18.20.0+, so the .nvmrc is updated to 18.20.8. Co-Authored-By: Claude Opus 4.5 <[email protected]> * Initial plan * Remove Volta from deck.gl Co-authored-by: chrisgervang <[email protected]> --------- Co-authored-by: Chris Gervang <[email protected]> Co-authored-by: Claude Opus 4.5 <[email protected]> Co-authored-by: Chris Gervang <[email protected]> Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: chrisgervang <[email protected]>
1 parent 9485173 commit 9d4542b

File tree

3 files changed

+1
-9
lines changed

3 files changed

+1
-9
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ PRs and bug reports are welcome, and we are actively looking for new maintainers
1010
The **master** branch is the active development branch.
1111

1212
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).
13-
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 [volta](https://docs.volta.sh/guide/getting-started), [nvm](https://github.com/nvm-sh/nvm), or any other Node version manager of your choice - configuration files are provided for all major tools (.nvmrc and volta settings in package.json).
13+
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
1616
git checkout master

package.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,5 @@
6565
"engines": {
6666
"node": ">=14"
6767
},
68-
"volta": {
69-
"node": "18.19.0",
70-
"yarn": "1.22.19"
71-
},
7268
"packageManager": "[email protected]"
7369
}

website/package.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,5 @@
5959
">0.2% and supports async-functions",
6060
"not dead"
6161
],
62-
"volta": {
63-
"node": "18.19.0",
64-
"yarn": "1.22.19"
65-
},
6662
"packageManager": "[email protected]"
6763
}

0 commit comments

Comments
 (0)