DEV: Prevent npm usage (#13945)

We rely on yarn workspaces so we don't want people using npm in the repo by accident.

Also updated the required node version to 12+.

~~Not sure about the min yarn version – the latest one could be missing in various CI-like envs, so I might change it yet.~~
Downgraded yarn to ">= 1.21.1" (the oldest of "current" versions, tagged "legacy")
This commit is contained in:
Jarek Radosz
2021-08-04 22:04:58 +02:00
committed by GitHub
parent 5b85b254db
commit fbd1cd5fe1
21 changed files with 45 additions and 9 deletions

View File

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

View File

@@ -45,7 +45,9 @@
"loader.js": "^4.7.0"
},
"engines": {
"node": "8.* || >= 10.*"
"node": ">= 12.*",
"npm": "please-use-yarn",
"yarn": ">= 1.21.1"
},
"ember": {
"edition": "octane"