Since bower package manager is deprecated now, I am finding a way to migrate my bower.json
to "Yarn" without having to enter packages manually, or break dependencies.
Is there any script or utility to do the migration?
I've written one: https://bower.io/blog/2017/how-to-migrate-away-from-bower/
Hope it helps
For me running bower-away was enough. It took a while and some iterations until it finished, but was just follow the instructions.
As stated in the utility page just run the following commands:
yarn global add bower-away # or "npm install -g bower-away"
bower-away # listen and repeat!
Hope it helps.
来源:https://stackoverflow.com/questions/46728053/migrating-from-bower-to-yarn