Skip to content

Add publish-plan command#2061

Merged
Andarist merged 12 commits into
mainfrom
publish-plan
Jun 16, 2026
Merged

Add publish-plan command#2061
Andarist merged 12 commits into
mainfrom
publish-plan

Conversation

@Andarist

@Andarist Andarist commented Jun 6, 2026

Copy link
Copy Markdown
Member

This kinda addresses #614 (albeit in a different way)

closes #200

@Andarist Andarist requested review from beeequeue and bluwy June 6, 2026 11:05
@changeset-bot

changeset-bot Bot commented Jun 6, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: a0febcf

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

@Andarist Andarist marked this pull request as draft June 6, 2026 11:23
@codecov

codecov Bot commented Jun 6, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 86.86869% with 13 lines in your changes missing coverage. Please review.
✅ Project coverage is 81.75%. Comparing base (3918fe5) to head (a0febcf).

Files with missing lines Patch % Lines
...es/cli/src/commands/publish-plan/getPublishPlan.ts 88.88% 6 Missing ⚠️
packages/cli/src/commands/publish/index.ts 44.44% 5 Missing ⚠️
...ckages/cli/src/commands/publish/publishPackages.ts 77.77% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2061      +/-   ##
==========================================
+ Coverage   81.27%   81.75%   +0.48%     
==========================================
  Files          62       64       +2     
  Lines        2350     2390      +40     
  Branches      645      648       +3     
==========================================
+ Hits         1910     1954      +44     
+ Misses        395      393       -2     
+ Partials       45       43       -2     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Andarist Andarist marked this pull request as ready for review June 6, 2026 11:28
Base automatically changed from fix/publish-selection to next June 6, 2026 18:41
Comment thread packages/cli/src/commands/publish-plan/__tests__/getPublishPlan.test.ts Outdated
Comment thread packages/cli/src/commands/publish-plan/getPublishPlan.ts Outdated
Comment thread packages/cli/src/commands/publish/index.ts
@Andarist Andarist changed the base branch from next to main June 12, 2026 10:09
}

if (packagesToPublish.length !== 0) {
log.info(

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.

should stuff like this be logged when --output gets used?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think we should keep it for now so it's consistent with changeset status, but we can revisit this later if it's better to remove.

@bluwy bluwy left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM. Just one small nit/preference to keep the output as internal.

Comment thread packages/cli/src/cli.ts Outdated
@Andarist Andarist added this pull request to the merge queue Jun 16, 2026
Merged via the queue into main with commit c2db1dd Jun 16, 2026
12 checks passed
@Andarist Andarist deleted the publish-plan branch June 16, 2026 09:39
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.

Add way to output a 'release info' thing

3 participants