Skip to content

fix: install GitHub changelog during init - #2337

Open
hamzahamidi wants to merge 2 commits into
changesets:mainfrom
hamzahamidi:fix/2306-install-github-changelog
Open

hamzahamidi wants to merge 2 commits into
changesets:mainfrom
hamzahamidi:fix/2306-install-github-changelog

Conversation

@hamzahamidi

@hamzahamidi hamzahamidi commented Oct 17, 2026 •

Copy link
Copy Markdown

Issue

changesets/changesets#2306

Summary

  • GitHub changelog setup Prompts to install the package and reports when manual installation is needed.
  • Install handling Detects unsuccessful installer exits and adds the pnpm workspace root flag.

Test plan

  • pnpm --filter @changesets/cli exec vitest run src/commands/init/__tests__/command.test.ts (15 passed)
  • pnpm types:check
  • pnpm lint
  • pnpm format

Selecting a provider without its package leaves the generated configuration unusable when the next release runs.
@changeset-bot

changeset-bot Bot commented Oct 17, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: e96e4bd

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 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

@netlify

netlify Bot commented Oct 17, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for changesets ready!

Name Link
🔨 Latest commit e96e4bd
🔍 Latest deploy log https://app.netlify.com/projects/changesets/deploys/6ad3ec8f9d070656c80225d3
😎 Deploy Preview https://deploy-preview-2337--changesets.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov

codecov Bot commented Oct 17, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 97.05882% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 87.57%. Comparing base (e2ee472) to head (e96e4bd).

Files with missing lines Patch % Lines
packages/cli/src/commands/init/index.ts 97.05% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2337      +/-   ##
==========================================
+ Coverage   87.48%   87.57%   +0.09%     
==========================================
  Files          78       78              
  Lines        2973     3003      +30     
  Branches      851      866      +15     
==========================================
+ Hits         2601     2630      +29     
- Misses        337      338       +1     
  Partials       35       35              

☔ 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.

Keep initialization usable when an installer exits unsuccessfully or the project uses a pnpm workspace.
@hamzahamidi
hamzahamidi marked this pull request as ready for review October 17, 2026 21:50
@hamzahamidi
hamzahamidi marked this pull request as draft October 17, 2026 23:38
@hamzahamidi
hamzahamidi marked this pull request as ready for review October 17, 2026 23:47

This branch has not been deployed

No deployments
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