Skip to content
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

Fixed a regression that caused changeset version to fail on packages having a dev dependency on a skipped package #1370

Merged
merged 1 commit into from
May 28, 2024

Conversation

Andarist
Copy link
Member

No description provided.

…s having a dev dependency on a skipped package
@Andarist Andarist requested a review from emmatown May 28, 2024 15:53
Copy link

changeset-bot bot commented May 28, 2024

🦋 Changeset detected

Latest commit: 7fa36fa

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
Name Type
@changesets/cli Major
@changesets/get-dependents-graph Minor
@changesets/assemble-release-plan Patch
@changesets/config Patch
@changesets/get-release-plan Patch
@changesets/apply-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

Copy link

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.

Copy link

codecov bot commented May 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.95%. Comparing base (e3f4a50) to head (7fa36fa).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1370      +/-   ##
==========================================
+ Coverage   80.89%   80.95%   +0.06%     
==========================================
  Files          54       54              
  Lines        2204     2211       +7     
  Branches      646      657      +11     
==========================================
+ Hits         1783     1790       +7     
  Misses        417      417              
  Partials        4        4              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -100,6 +100,41 @@ describe("cli", () => {
expect(loggerErrorCalls.length).toEqual(0);
});

it("should not throw on a dev dependent on an unversioned private package", async () => {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a similar scenario was already buggy before this recent regression, see:
#1361 (comment)

@Andarist Andarist merged commit 5e9d33a into main May 28, 2024
7 checks passed
@Andarist Andarist deleted the fix/ignore-dev-deps-when-checking-dependent-graph branch May 28, 2024 16:03
@github-actions github-actions bot mentioned this pull request May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant