☰
Debian Codegraph
@
7.0.2+~cs8.6.5-2
7.0.2+~cs8.6.5-1
/
/
new
/
scripts
/
disallow-npm.js
☽
☼
new/scripts/disallow-npm.js
code
plain
raw
Expat
2019 RollupJS Plugin Contributors <https://github.com/rollup/plugins/graphs/contributors>
debian/copyright
1
const agent = process.env.npm_config_user_agent;
2
const { error } = console;
3
4
if (!agent.startsWith('pnpm')) {
5
error('\nPlease use pnpm to manage dependencies in this repository.\n $ npm i pnpm -g\n');
6
process.exit(1);
7
}