Open anqisoft opened 4 weeks ago
Bot detected the issue body's language is not English, translate it automatically.
Title: ✨ [Feature]: It is hoped that the following npm package installation methods can be supported at the same time: npm, pnpm, cnpm, yarn, bun
This afternoon, when I used the tiny command, I saw: tiny switch changes the installation method of npm packages. Now it supports npm and cnpm.
I hope it can support npm, pnpm, cnpm, yarn, and bun.
Although I don’t know about bun, I saw it on https://vite.dev/guide/ a few days ago.
Now I use pnpm to install npm packages, and a friend of mine has always used yarn.
So, if you can support it, please allow all common tools.
What problem does this feature solve
查帮助时看到: tiny switch 切换npm包安装方式,支持npm和cnpm
不支持pnpm、yarn和bun么?
我没用过bun,但在页面https://vite.dev/guide/ 看到: NPM Yarn PNPM Bun
目前我主要用pnpm(虽然我这台windows开发机似乎并没有完全做到最小磁盘空间占用,且每次安装比较慢)。 前几天跟一个朋友交流时,他说他习惯使用yarn了。
感觉没太多必要限制npm包安装方式,能支持的尽量都支持下。
What does the proposed API look like
建议全面支持所有常用的npm安装方式。