add engines field

This commit is contained in:
Jacky Zhao 2023-08-20 08:57:56 -07:00
parent 9d77edaf94
commit 5adf3c67a8
3 changed files with 7 additions and 0 deletions

1
.npmrc Normal file
View File

@ -0,0 +1 @@
engine-strict=true

3
package-lock.json generated
View File

@ -80,6 +80,9 @@
"prettier": "^3.0.0", "prettier": "^3.0.0",
"tsx": "^3.12.7", "tsx": "^3.12.7",
"typescript": "^5.0.4" "typescript": "^5.0.4"
},
"engines": {
"node": ">=18.14"
} }
}, },
"node_modules/@clack/core": { "node_modules/@clack/core": {

View File

@ -17,6 +17,9 @@
"test": "tsx ./quartz/util/path.test.ts", "test": "tsx ./quartz/util/path.test.ts",
"profile": "0x -D prof ./quartz/bootstrap-cli.mjs build --concurrency=1" "profile": "0x -D prof ./quartz/bootstrap-cli.mjs build --concurrency=1"
}, },
"engines": {
"node": ">=18.14"
},
"keywords": [ "keywords": [
"site generator", "site generator",
"ssg", "ssg",