You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"scripts": {
"preinstall": "node -e \"if(process.env.npm_execpath.indexOf('yarn') === -1) throw new Error('You must use Yarn to install, not NPM')\""
},
to prevent people from running npm install
But this line fails to prevent people from running npm install <package name>
Is there any way to prevent people from running npm install <package name>?
0xdevalias, ezze, Creative-Difficulty, cimak and nhannhtJHerwigkarol-wilk-lcloud, liuliangsir, Tynael, ento, hendriku and 6 more