Skip to content

More intelligent handling of package.json. #68

Description

@rwjblue

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:

  1. Run sort-package-json (to ensure the correct sort order before applying).
  2. Leverage three-way-merger to update the specific dependencies / devDependencies required.
  3. Generate a patch of the package.json files (using --from and --to versions) excluding changes in dependencies and devDependencies using RFC6902 and apply them.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions