From 2c2dad141589c9b56028a474675dcf3c5c0f1a3a Mon Sep 17 00:00:00 2001 From: Vignesh Mohankumar Date: Mon, 22 Aug 2022 13:55:48 -0400 Subject: [PATCH] build: enforce node/npm versions (#4434) * build: enforce node/npm versions * enforce yarn usage --- .npmrc | 1 + package.json | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 .npmrc diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000000..c42da845b4 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +engine-strict = true diff --git a/package.json b/package.json index 6e108f25f1..4ec6d9696d 100644 --- a/package.json +++ b/package.json @@ -228,5 +228,10 @@ "workbox-precaching": "^6.1.0", "workbox-routing": "^6.1.0", "zustand": "^4.0.0-rc.1" + }, + "engines": { + "npm": "please-use-yarn", + "node": "14", + "yarn": ">=1.22" } }