Skip to content

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

Merged
Andarist merged 1 commit into
mainfrom
fix/ignore-dev-deps-when-checking-dependent-graph
May 28, 2024
Merged

Andarist merged 1 commit into
mainfrom
fix/ignore-dev-deps-when-checking-dependent-graph

Conversation

@Andarist

Copy link
Copy Markdown
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
@changeset-bot

changeset-bot Bot commented May 28, 2024

Copy link
Copy Markdown

🦋 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

@codesandbox-ci

Copy link
Copy Markdown

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.

@codecov

codecov Bot commented May 28, 2024

Copy link
Copy Markdown

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.

expect(loggerErrorCalls.length).toEqual(0);
});

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

Copy link
Copy Markdown
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)

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