From aae8e1730ece7b6ec247a67912e754b510b541ec Mon Sep 17 00:00:00 2001 From: Ryan Waskiewicz Date: Fri, 9 Jun 2023 15:10:40 -0400 Subject: [PATCH] chore(package): add engines to package.json this commit adds an engines field to the package to explicitly state what versions of node/npm that are currently supported. the current version of the package supports stencil v2 and up - stencil v2 supported node 12+, which is the justification for such a low version of node/npm in these fields --- package-lock.json | 4 ++++ package.json | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/package-lock.json b/package-lock.json index 0fa348a..f802d1a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24,6 +24,10 @@ "ts-jest": "^26.4.4", "typescript": "^4.9.4" }, + "engines": { + "node": ">=12.0.0", + "npm": ">=6.0.0" + }, "peerDependencies": { "@stencil/core": ">=2.0.0 || >=3.0.0-beta.0 || >= 4.0.0-beta.0 || >= 4.0.0" } diff --git a/package.json b/package.json index 028a7c4..b36734e 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,10 @@ "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", + "engines": { + "node": ">=12.0.0", + "npm": ">=6.0.0" + }, "files": [ "dist/" ],