From 5adf3c67a8f1939b891fadd2c8c30cf201d87943 Mon Sep 17 00:00:00 2001 From: Jacky Zhao Date: Sun, 20 Aug 2023 08:57:56 -0700 Subject: [PATCH] add engines field --- .npmrc | 1 + package-lock.json | 3 +++ package.json | 3 +++ 3 files changed, 7 insertions(+) create mode 100644 .npmrc diff --git a/.npmrc b/.npmrc new file mode 100644 index 00000000..b6f27f13 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +engine-strict=true diff --git a/package-lock.json b/package-lock.json index 7c6c23b6..c7ef802a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -80,6 +80,9 @@ "prettier": "^3.0.0", "tsx": "^3.12.7", "typescript": "^5.0.4" + }, + "engines": { + "node": ">=18.14" } }, "node_modules/@clack/core": { diff --git a/package.json b/package.json index 08ab2d60..4f9f109b 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,9 @@ "test": "tsx ./quartz/util/path.test.ts", "profile": "0x -D prof ./quartz/bootstrap-cli.mjs build --concurrency=1" }, + "engines": { + "node": ">=18.14" + }, "keywords": [ "site generator", "ssg",