1.0.2 • Published 7 years ago
deyarn v1.0.2
deyarn
A command-line tool for converting projects that use yarn to npm.
The follow-up to npm2yarn. See https://mixmax.com/blog/to-yarn-and-back-again-npm for motivation.
Procedure
deyarn:
- Removes
yarn.lockif it exists - Removes
node_modulesto avoid any installation conflicts - Installs your project dependencies using
npm, generating apackage-lock.jsonfile - 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! :)
Installation
$ npm install -g deyarnor
$ yarn global add deyarnUsage
(in the directory of the project to convert)
$ deyarnContributing
We welcome your pull requests! Please lint your code.
Changelog
- 1.0.0 Add initial code