elm-wrap logo elm-wrap

Remove packages from elm.json.

wrap package uninstall elm/html
wrap package uninstall elm/html elm/json
wrap package uninstall --local-dev

package uninstall behaves as one expects: removes specified packages from an application's (or another package's) elm.json.
It removes a direct dependency and all its indirect dependencies that are no longer useful.

One can specify multiple packages in the same invocation.

options

--local-dev

This only has an effect when executed from a package source directory. It will read a package's elm.json and then remove it from the local-dev registry. This is useful after publishing the package when the package metadata moves to ELM_HOME and becomes available in the package registry.

Helper options

-y, --yes executes commands without asking for confirmation.

See also

wrap package uninstall is synonymous with wrap uninstall