build: enforce node/npm versions (#4434)

* build: enforce node/npm versions

* enforce yarn usage
This commit is contained in:
Vignesh Mohankumar 2022-08-22 13:55:48 -04:00 committed by GitHub
parent d42ed88845
commit 2c2dad1415
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

1
.npmrc Normal file

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

@ -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"
}
}