Upgrade to Node 22.12

This commit is contained in:
Carlos Precioso
2025-08-01 11:30:21 +02:00
parent 13e69ff2ff
commit d992fff0b9
4 changed files with 9 additions and 9 deletions

View File

@@ -24,7 +24,7 @@ jobs:
id: setup-node
uses: actions/setup-node@v4
with:
node-version: '20'
node-version: '22'
- name: Docker setup
uses: docker/setup-buildx-action@v3

View File

@@ -17,7 +17,7 @@ If you prefer video tutorials, you can watch this walkthrough below which will g
### Pre-requisites
You must have Node.js (and NPM) installed on your machine and available in `PATH` to use Wasp.
Your version of Node.js must be >= 20.
Your version of Node.js must be >= 22.12.
To switch easily between Node.js versions, we recommend using [nvm](https://github.com/nvm-sh/nvm).
@@ -81,7 +81,7 @@ Once Rosetta is installed, you should be able to run Wasp without any issues.
### Windows
In order to use Wasp on Windows, you need to install WSL2 (Windows Subsystem for Linux) and a Linux distribution of your choice. We recommend using Ubuntu.
In order to use Wasp on Windows, you need to install WSL2 (Windows Subsystem for Linux) and a Linux distribution of your choice. We recommend using Ubuntu.
**You can refer to this [article](https://wasp.sh/blog/2023/11/21/guide-windows-development-wasp-wsl) for a step by step guide to using Wasp in the WSL environment.** If you need further help, reach out to us on [Discord](https://discord.gg/rzdnErX).
@@ -127,7 +127,7 @@ curl -sSL https://get.wasp.sh/installer.sh | sh
</summary>
If you are using WSL2, make sure that your Wasp project is not on the Windows file system, <b>but instead on the Linux file system</b>. Otherwise, Wasp won't be able to detect file changes, due to this <a href='https://github.com/microsoft/WSL/issues/4739'>issue in WSL2</a>.
</details>
:::
:::
### Finalize Installation

View File

@@ -15,7 +15,7 @@
"prisma": "5.19.1"
},
"devDependencies": {
"@types/node": "^20.14.8"
"@types/node": "^22.12.0"
}
},
"node_modules/@playwright/test": {
@@ -96,9 +96,9 @@
}
},
"node_modules/@types/node": {
"version": "20.19.4",
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.19.4.tgz",
"integrity": "sha512-OP+We5WV8Xnbuvw0zC2m4qfB/BJvjyCwtNjhHdJxV1639SGSKrLmJkc3fMnp2Qy8nJyHp8RO6umxELN/dS1/EA==",
"version": "22.17.0",
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.17.0.tgz",
"integrity": "sha512-bbAKTCqX5aNVryi7qXVMi+OkB3w/OyblodicMbvE38blyAz7GxXf6XYhklokijuPwwVg9sDLKRxt0ZHXQwZVfQ==",
"dev": true,
"license": "MIT",
"dependencies": {

View File

@@ -29,6 +29,6 @@
"prisma": "5.19.1"
},
"devDependencies": {
"@types/node": "^20.14.8"
"@types/node": "^22.12.0"
}
}