From 1b28043f5628f9401aa7d621c77ae988d03f9b40 Mon Sep 17 00:00:00 2001 From: fallenbagel <98979876+Fallenbagel@users.noreply.github.com> Date: Tue, 7 Jan 2025 02:46:03 +0800 Subject: [PATCH] chore: update nodejs version to 22 --- CONTRIBUTING.md | 2 +- Dockerfile.local | 2 +- docs/getting-started/buildfromsource.mdx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ee7cf029..ab5f59da 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -8,7 +8,7 @@ All help is welcome and greatly appreciated! If you would like to contribute to - HTML/Typescript/Javascript editor - [VSCode](https://code.visualstudio.com/) is recommended. Upon opening the project, a few extensions will be automatically recommended for install. -- [NodeJS](https://nodejs.org/en/download/) (Node 20.x) +- [NodeJS](https://nodejs.org/en/download/) (Node 22.x) - [Pnpm](https://pnpm.io/cli/install) - [Git](https://git-scm.com/downloads) diff --git a/Dockerfile.local b/Dockerfile.local index b9322e53..a60248b9 100644 --- a/Dockerfile.local +++ b/Dockerfile.local @@ -1,4 +1,4 @@ -FROM node:20-alpine +FROM node:22-alpine COPY . /app WORKDIR /app diff --git a/docs/getting-started/buildfromsource.mdx b/docs/getting-started/buildfromsource.mdx index f1de1a6d..b6ad72fe 100644 --- a/docs/getting-started/buildfromsource.mdx +++ b/docs/getting-started/buildfromsource.mdx @@ -12,7 +12,7 @@ import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; ### Prerequisites - - [Node.js 20.x](https://nodejs.org/en/download/) + - [Node.js 22.x](https://nodejs.org/en/download/) - [Pnpm 9.x](https://pnpm.io/installation) - [Git](https://git-scm.com/downloads)