deps: change min required nodejs to v20 (breaking)

This commit is contained in:
Jacky Zhao 2024-08-05 18:41:46 -07:00
parent f3e07fd51c
commit 38361aaf48
3 changed files with 3 additions and 3 deletions

View file

@ -6,7 +6,7 @@ Quartz is a fast, batteries-included static-site generator that transforms Markd
## 🪴 Get Started ## 🪴 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: Then, in your terminal of choice, enter the following commands line by line:

2
package-lock.json generated
View file

@ -85,7 +85,7 @@
"typescript": "^5.5.3" "typescript": "^5.5.3"
}, },
"engines": { "engines": {
"node": ">=18.14", "node": "20 || >=22",
"npm": ">=9.3.1" "npm": ">=9.3.1"
} }
}, },

View file

@ -21,7 +21,7 @@
}, },
"engines": { "engines": {
"npm": ">=9.3.1", "npm": ">=9.3.1",
"node": ">=18.14" "node": "20 || >=22"
}, },
"keywords": [ "keywords": [
"site generator", "site generator",