We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
yarn
pnpm
npm
> require('npm-to-yarn')('yarn add foo', 'npm'); 'npm install foo' > require('npm-to-yarn')('yarn add foo', 'pnpm'); 'yarn add foo'
> require('npm-to-yarn')('pnpm add foo', 'npm'); 'pnpm add foo' > require('npm-to-yarn')('pnpm add foo', 'yarn'); "pnpm add foo\n# couldn't auto-convert command"
The text was updated successfully, but these errors were encountered:
This isn't supported by the library right now, but PRs are welcome!
Sorry, something went wrong.
I think the source code should be simplified, and yarnToNpm.ts should be removed (because we already have npmToYarn)
all commands should be translated no matter you pass yarn add or pnpm add
yarn add
pnpm add
Here's a list of commands conversion which does not work:
yarn - pnpm yarn - bun
pnpm - npm pnpm - yarn pnpm - bun
bun - npm bun - yarn bun - pnpm
Will send a pull fixing this
Successfully merging a pull request may close this issue.
pnpm
The text was updated successfully, but these errors were encountered: