Skip to content

Group "changed, but with unstaged changeset" packages #80

Description

@jesstelford

The CLI currently outputs something like:

Changed Packages:
o foobar
o zipquux
o helloworld

Unchanged Packages:
o boombam
o whackadoo

Sometimes I want to do multiple changesets immediately after eachother, so on first cycle, I'd do:

Changed Packages:
o foobar
x zipquux
x helloworld

Unchanged Packages:
o boombam
o whackadoo

(ie; write my changeset for zipquux & helloworld packages)

Now I have some unstaged changes:

- .changesets
  - a-set
    - changes.md
    - changes.json

Now, I want to do a changeset for the foobar package, and end up seeing the same UI again:

Changed Packages:
o foobar
o zipquux
o helloworld

Unchanged Packages:
o boombam
o whackadoo

But ideally I'd prefer if changesets scans unstaged changes in .changesets and groups out packages with changesets just added:

No Changsets:
o foobar

Uncommited Changeset:
o zipquux
o helloworld

Unchanged Packages:
o boombam
o whackadoo

Which makes it really easy for me to see that I only have foobar remaining to write a changeset for.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions