Skip to content

Commit

Permalink
chore: use node 22
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelgerber committed Dec 22, 2024
1 parent ec00fbc commit 9b931ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.16.0
22.12.0
6 changes: 3 additions & 3 deletions docs/local-typescript-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This local environment requires some manual setup. For a faster way to get start

You need the following to be able to compile the grapher project and run the tests or use our Storybook:

- [Node 18](https://nodejs.org/en/)
- [Node 22](https://nodejs.org/en/)
- [Yarn](https://yarnpkg.com/)

All further dependencies will be automatically installed by the yarn package manager.
Expand Down Expand Up @@ -50,10 +50,10 @@ Note: on Windows we strongly recommend using the [Windows Subsystem for Linux](h
(this will pick up the right version from `.nvmrc`)
5. Install yarn:
5. Enable [Corepack](https://nodejs.org/docs/latest-v22.x/api/corepack.html), which provides `yarn` versions:
```sh
npm install -g yarn
corepack enable
```
6. Run yarn inside the repo folder to install dependencies:
Expand Down

0 comments on commit 9b931ad

Please sign in to comment.