mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Enforce using Yarn instead of NPM
This commit is contained in:
@@ -36,5 +36,8 @@
|
||||
"qunit": "2.6",
|
||||
"route-recognizer": "^0.3.3",
|
||||
"sinon": "^6.3.5"
|
||||
},
|
||||
"scripts": {
|
||||
"preinstall": "node -e \"if(process.env.npm_execpath.indexOf('yarn') === -1) throw new Error('NPM is not supported, please use Yarn instead. ')\""
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user