New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cleanup @changesets/git
tests
#1029
Conversation
|
Name | Type |
---|---|
@changesets/git | Major |
@changesets/apply-release-plan | Patch |
@changesets/cli | Patch |
@changesets/read | Patch |
@changesets/release-utils | Patch |
@changesets/get-release-plan | Patch |
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit adf66bd:
|
71bbe7a
to
9a19bcc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems fine besides missing missing changesets
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good overall. Just wondering if we need a changeset to top it off.
*/ | ||
export async function getCommitsThatAddFiles( | ||
gitPaths: string[], | ||
cwd: string | ||
{ cwd, short = false }: { cwd: string; short?: boolean } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this is exposed API, should we include a changeset to document it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeap, gonna add changesets before merging this - a few minor breaking changes got included here as part of the refactor.
This PR:
beforeEach
hooks in favor of explicit setup per testgetCurrentCommitId
TODO:
@changesets/git
package since the second change could be seen as a breaking change