After running ember-cli-update on ~ 25 or so addons (and learning how to use git mergetool) I've found that fixing up the merge conflicts in package.json end up being the most time consuming. I think we can do even better than git for this specific file.
In general, I'd like to:
- Run sort-package-json (to ensure the correct sort order before applying).
- Leverage three-way-merger to update the specific
dependencies / devDependencies required. - Generate a patch of the
package.json files (using --from and --to versions) excluding changes in dependencies and devDependencies using RFC6902 and apply them.
After running ember-cli-update on ~ 25 or so addons (and learning how to use
git mergetool) I've found that fixing up the merge conflicts inpackage.jsonend up being the most time consuming. I think we can do even better thangitfor this specific file.In general, I'd like to:
dependencies/devDependenciesrequired.package.jsonfiles (using--fromand--toversions) excluding changes independenciesanddevDependenciesusing RFC6902 and apply them.