From 38361aaf489708432eb4b07986b271ecf59d8189 Mon Sep 17 00:00:00 2001 From: Jacky Zhao Date: Mon, 5 Aug 2024 18:41:46 -0700 Subject: [PATCH] deps: change min required nodejs to v20 (breaking) --- docs/index.md | 2 +- package-lock.json | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/index.md b/docs/index.md index ed1eb2887..e41c1711e 100644 --- a/docs/index.md +++ b/docs/index.md @@ -6,7 +6,7 @@ Quartz is a fast, batteries-included static-site generator that transforms Markd ## 🪴 Get Started -Quartz requires **at least [Node](https://nodejs.org/) v18.14** 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/) v20** and `npm` v9.3.1 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 16b767278..baa377c7b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -85,7 +85,7 @@ "typescript": "^5.5.3" }, "engines": { - "node": ">=18.14", + "node": "20 || >=22", "npm": ">=9.3.1" } }, diff --git a/package.json b/package.json index 54f940150..bf732b6d7 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ }, "engines": { "npm": ">=9.3.1", - "node": ">=18.14" + "node": "20 || >=22" }, "keywords": [ "site generator",