A command-line tool for converting projects that use
The follow-up to
npm2yarn. See https://mixmax.com/blog/to-yarn-and-back-again-npm for motivation.
yarn.lockif it exists
node_modulesto avoid any installation conflicts
- Installs your project dependencies using
npm, generating a
- Logs a list of manual steps to be taken to complete the transition
This conversion will likely involve the upgrading of some/many of your transitive dependencies, so make sure to test thoroughly! :)
You can use deyarn via npx to quickly convert a project without needing to install deyarn first. Just run the following command in your project directory:
Note: The directory must be a Git repository.
Alternatively you can install deyarn globally (see below) and then run
$ deyarn in your project directory instead.
npm install -g deyarn
yarn global add deyarn
We welcome your pull requests! Please lint your code.
- 1.0.0 Add initial code