限制使用yarn安装依赖 落雨 2022-08-11 469 阅读1分钟 在 package.json 中使用 添加钩子 "scripts": {"preinstall": "npx only-allow yarn"},