elm-deps-sync

1.1.0 • Public • Published

elm-deps-sync

npm version Build Status

Node.js port of NoRedInk/elm-ops-tooling/elm_deps_sync

Sometimes we want to sync the deps between two files, such that all the deps in one file are matched in another file. The deps in the first file will be added to the deps in the second file. Note that this is additive.

Usage:

  • --dry will only print the changes to happen, not write them to file
  • --quiet will only print the final statement
  • --note will add a test-dependencies field to the second file. Useful for tooling
elm-deps-sync elm-package.json spec/elm/elm-package.json

will print

1 packages changed.
Package mgold/elm-date-format inserted to spec/elm/elm-package.json for the first time at version "1.1.2 <= v < 2.0.0"

Readme

Keywords

Package Sidebar

Install

npm i elm-deps-sync

Weekly Downloads

1

Version

1.1.0

License

MIT

Last publish

Collaborators

  • halfzebra