From 7fa9253abc1e4056d425847e2eaa5a8e107fc297 Mon Sep 17 00:00:00 2001
From: Emile Bangma <github@emilebangma.com>
Date: Wed, 28 May 2025 23:20:59 +0000
Subject: [PATCH] Node 22 (#1997)
---
docs/hosting.md | 2 +-
package-lock.json | 8 ++++----
.github/workflows/build-preview.yaml | 2 +-
.node-version | 2 +-
package.json | 6 +++---
.github/workflows/ci.yaml | 4 ++--
docs/index.md | 2 +-
7 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/.github/workflows/build-preview.yaml b/.github/workflows/build-preview.yaml
index 9a4455d..ff723a1 100644
--- a/.github/workflows/build-preview.yaml
+++ b/.github/workflows/build-preview.yaml
@@ -18,7 +18,7 @@
- name: Setup Node
uses: actions/setup-node@v4
with:
- node-version: 20
+ node-version: 22
- name: Cache dependencies
uses: actions/cache@v4
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 2387e7a..c584fde 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -26,7 +26,7 @@
- name: Setup Node
uses: actions/setup-node@v4
with:
- node-version: 20
+ node-version: 22
- name: Cache dependencies
uses: actions/cache@v4
@@ -59,7 +59,7 @@
- name: Setup Node
uses: actions/setup-node@v4
with:
- node-version: 20
+ node-version: 22
- name: Get package version
run: node -p -e '`PACKAGE_VERSION=${require("./package.json").version}`' >> $GITHUB_ENV
- name: Create release tag
diff --git a/.node-version b/.node-version
index 805b5a4..aebd91c 100644
--- a/.node-version
+++ b/.node-version
@@ -1 +1 @@
-v20.9.0
+v22.16.0
diff --git a/docs/hosting.md b/docs/hosting.md
index 8b945a2..eb7cc3e 100644
--- a/docs/hosting.md
+++ b/docs/hosting.md
@@ -189,7 +189,7 @@
- build
- deploy
-image: node:20
+image: node:22
cache: # Cache modules in between jobs
key: $CI_COMMIT_REF_SLUG
paths:
diff --git a/docs/index.md b/docs/index.md
index 9f5ffec..bdd12f6 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -6,7 +6,7 @@
## 🪴 Get Started
-Quartz requires **at least [Node](https://nodejs.org/) v20** and `npm` v9.3.1 to function correctly. Ensure you have this installed on your machine before continuing.
+Quartz requires **at least [Node](https://nodejs.org/) v22** and `npm` v10.9.2 to function correctly. Ensure you have this installed on your machine before continuing.
Then, in your terminal of choice, enter the following commands line by line:
diff --git a/package-lock.json b/package-lock.json
index e276a75..8bd2ac4 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "@jackyzha0/quartz",
- "version": "4.5.0",
+ "version": "4.5.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@jackyzha0/quartz",
- "version": "4.5.0",
+ "version": "4.5.1",
"license": "MIT",
"dependencies": {
"@clack/prompts": "^0.11.0",
@@ -90,8 +90,8 @@
"typescript": "^5.8.3"
},
"engines": {
- "node": ">=20",
- "npm": ">=9.3.1"
+ "node": ">=22",
+ "npm": ">=10.9.2"
}
},
"node_modules/@bufbuild/protobuf": {
diff --git a/package.json b/package.json
index dc01348..ba07693 100644
--- a/package.json
+++ b/package.json
@@ -2,7 +2,7 @@
"name": "@jackyzha0/quartz",
"description": "🌱 publish your digital garden and notes as a website",
"private": true,
- "version": "4.5.0",
+ "version": "4.5.1",
"type": "module",
"author": "jackyzha0 <j.zhao2k19@gmail.com>",
"license": "MIT",
@@ -20,8 +20,8 @@
"profile": "0x -D prof ./quartz/bootstrap-cli.mjs build --concurrency=1"
},
"engines": {
- "npm": ">=9.3.1",
- "node": ">=20"
+ "npm": ">=10.9.2",
+ "node": ">=22"
},
"keywords": [
"site generator",
--
Gitblit v1.10.0