Reputation: 1758
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?
Upvotes: 29
Views: 7135
Reputation: 1406
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
Upvotes: 4
Reputation: 832
Remove corresponding line from elm-package.json
and run elm-package install
. It'll ask first and then remove the package in question.
Upvotes: 5
Reputation: 1708
currently the only way to remove a package is to delete the dependency in elm-package.json
Upvotes: 27