Emile Bangma
2025-05-28 7fa9253abc1e4056d425847e2eaa5a8e107fc297
Node 22 (#1997)

7 files modified
26 ■■■■ changed files
.github/workflows/build-preview.yaml 2 ●●● patch | view | raw | blame | history
.github/workflows/ci.yaml 4 ●●●● patch | view | raw | blame | history
.node-version 2 ●●● patch | view | raw | blame | history
docs/hosting.md 2 ●●● patch | view | raw | blame | history
docs/index.md 2 ●●● patch | view | raw | blame | history
package-lock.json 8 ●●●● patch | view | raw | blame | history
package.json 6 ●●●● patch | view | raw | blame | history
.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
.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
.node-version
@@ -1 +1 @@
v20.9.0
v22.16.0
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:
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:
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": {
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",