After I install an elm package by executing
elm package install packagename
Is there a way to uninstall the elm package besides manually deleting the dependency in elm-package.json?
currently the only way to remove a package is to delete the dependency in elm-package.json
Remove corresponding line from elm-package.json
and run elm-package install
. It'll ask first and then remove the package in question.
The elm-json project provides an 'uninstall' option that seems to handle things properly, eg. moving them to 'indirect' dependencies when needed, otherwise removing them completely.
It is written by zwilias who is on the core team though the project includes a disclaimer that it work in progress.
In can be installed via npm. The project recommends:
npm install --global elm-json
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With