From 8fc03d970bbcd0230c555dddc738a36a37373e85 Mon Sep 17 00:00:00 2001 From: Carlos Precioso Date: Tue, 5 Aug 2025 10:53:09 +0200 Subject: [PATCH] Upgrade to Node 22.12 (#477) --- .github/workflows/e2e-tests.yml | 2 +- .../blog/src/content/docs/start/getting-started.mdx | 6 +++--- template/e2e-tests/package-lock.json | 8 ++++---- template/e2e-tests/package.json | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index 2d438ca6..8af95658 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -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 diff --git a/opensaas-sh/blog/src/content/docs/start/getting-started.mdx b/opensaas-sh/blog/src/content/docs/start/getting-started.mdx index 2713d749..7bbc717c 100644 --- a/opensaas-sh/blog/src/content/docs/start/getting-started.mdx +++ b/opensaas-sh/blog/src/content/docs/start/getting-started.mdx @@ -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 If you are using WSL2, make sure that your Wasp project is not on the Windows file system, but instead on the Linux file system. Otherwise, Wasp won't be able to detect file changes, due to this issue in WSL2. -::: +::: ### Finalize Installation diff --git a/template/e2e-tests/package-lock.json b/template/e2e-tests/package-lock.json index f91393d6..4ec36ac2 100644 --- a/template/e2e-tests/package-lock.json +++ b/template/e2e-tests/package-lock.json @@ -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": { diff --git a/template/e2e-tests/package.json b/template/e2e-tests/package.json index c954d899..b3fb8e11 100644 --- a/template/e2e-tests/package.json +++ b/template/e2e-tests/package.json @@ -29,6 +29,6 @@ "prisma": "5.19.1" }, "devDependencies": { - "@types/node": "^20.14.8" + "@types/node": "^22.12.0" } }