feat: force developer to use yarn

This solves alot of issues in PR's that have package-lock.json becuase
they did npm install, this update forces an error and exits out when
developer runs npm install
This commit is contained in:
itsOdell 2024-05-16 11:17:01 -04:00
parent a27a8644ea
commit 75a9d56624
2 changed files with 5 additions and 0 deletions

1
.npmrc Normal file
View File

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

View File

@ -10,6 +10,10 @@
"url": "https://github.com/hydralauncher/hydra.git"
},
"type": "module",
"engines": {
"npm": "please-use-yarn",
"yarn": ">= 1.19.1"
},
"scripts": {
"format": "prettier --write .",
"format-check": "prettier --check .",