From 0d741cf23c2066703ff4edabd0e82de362635a0a Mon Sep 17 00:00:00 2001 From: Connor Lindsey Date: Wed, 6 Mar 2024 08:10:44 -0800 Subject: [PATCH] fix: specify minimum node version --- .gitignore | 1 - .npmrc | 3 +++ package.json | 7 +++++-- 3 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 .npmrc diff --git a/.gitignore b/.gitignore index ce6069a..eb1da6e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,4 @@ .DS_Store -.npmrc node_modules yarn-error.log dist diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..99a2652 --- /dev/null +++ b/.npmrc @@ -0,0 +1,3 @@ +# Will prevent NPM from installing this package if the +# minimum engine versions are not met +engine-strict=true \ No newline at end of file diff --git a/package.json b/package.json index c49069d..7b6568d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@knocklabs/node", - "version": "0.6.5", + "version": "0.6.6", "description": "Library for interacting with the Knock API", "homepage": "https://github.com/knocklabs/knock-node", "author": "@knocklabs", @@ -41,5 +41,8 @@ }, "dependencies": { "jose": "^5.2.0" + }, + "engines": { + "node": ">=17.5.0" } -} +} \ No newline at end of file