Skip to content

Fix publish with yarn#1449

Open
bensampaio wants to merge 1 commit intochangesets:mainfrom
catawiki:fix-publish-with-yarn
Open

Fix publish with yarn#1449
bensampaio wants to merge 1 commit intochangesets:mainfrom
catawiki:fix-publish-with-yarn

Conversation

@bensampaio
Copy link

@bensampaio bensampaio commented Aug 30, 2024

  • Add support for yarn to getPublishTool.
  • Use yarn for publishing when it is the used package manager.

Fixes:

Screenshot 2024-08-30 at 15 28 48

@changeset-bot
Copy link

changeset-bot bot commented Aug 30, 2024

🦋 Changeset detected

Latest commit: b0b9df3

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

This PR includes changesets to release 1 package
Name Type
@changesets/cli Minor

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

codesandbox-ci bot commented Aug 30, 2024

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.

* Add support for yarn to `getPublishTool`.
* Use yarn for publishing when it is the used package manager.
@bensampaio bensampaio force-pushed the fix-publish-with-yarn branch from 7d6f9c8 to b0b9df3 Compare August 30, 2024 13:59
@codecov
Copy link

codecov bot commented Aug 30, 2024

Codecov Report

Attention: Patch coverage is 0% with 5 lines in your changes missing coverage. Please review.

Project coverage is 80.91%. Comparing base (5150fc1) to head (b0b9df3).

Files with missing lines Patch % Lines
packages/cli/src/commands/publish/npm-utils.ts 0.00% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1449      +/-   ##
==========================================
- Coverage   81.02%   80.91%   -0.11%     
==========================================
  Files          54       54              
  Lines        2213     2216       +3     
  Branches      659      661       +2     
==========================================
  Hits         1793     1793              
- Misses        416      419       +3     
  Partials        4        4              

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

@zouguangxian
Copy link

A PR has discussed this issue in detail #674

@kvz
Copy link

kvz commented Nov 13, 2024

I guess this is superseded by #674, if so should this PR be closed?

Or if that one is sufficiently stuck, perhaps this one can be merged?

Would love to see yarn 4 support land in Changesets.

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.

3 participants