feat: introduce changeset for monorepo version management#12783
Open
feat: introduce changeset for monorepo version management#12783
Conversation
- Add @changesets/cli and @changesets/changelog-github dependencies - Configure changeset with GitHub integration for CherryHQ/cherry-studio - Add release-packages.yml workflow for automated publishing - Add snapshot.yml workflow for manual snapshot releases - Add changeset scripts to root package.json: - changeset, changeset:status, changeset:version, changeset:publish - build:packages, release:packages - Add prepublishOnly script to all publishable packages - Backup extension-table-plus CHANGELOG and create changeset format This enables automated version management and changelog generation for the three publishable packages: - @cherrystudio/ai-core - @cherrystudio/ai-sdk-provider - @cherrystudio/extension-table-plus Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
DeJeune
approved these changes
Feb 7, 2026
kangfenmao
reviewed
Feb 10, 2026
| "changeset:status": "changeset status", | ||
| "changeset:version": "changeset version", | ||
| "changeset:publish": "changeset publish", | ||
| "build:packages": "pnpm --filter @cherrystudio/ai-sdk-provider build && pnpm --filter @cherrystudio/ai-core build && pnpm --filter @cherrystudio/extension-table-plus build", |
Collaborator
There was a problem hiding this comment.
这里建议修改成为:packages:build, packages:release
| @@ -0,0 +1,14 @@ | |||
| { | |||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
This PR introduces changesets to automate version management and publishing for the Cherry Studio monorepo.
Changes
New Files
.changeset/config.json- Changeset configuration with GitHub changelog integration.changeset/README.md- Documentation for using changesets.changeset/initial-setup.md- Initial changeset marking the setup.github/workflows/release-packages.yml- Automated release workflow.github/workflows/snapshot.yml- Manual snapshot release workflowpackages/extension-table-plus/CHANGELOG-OLD.md- Backup of historical changelogModified Files
package.json- Added changeset scripts (changeset,changeset:status,changeset:version,changeset:publish,build:packages,release:packages)packages/aiCore/package.json- AddedprepublishOnlyscriptpackages/ai-sdk-provider/package.json- AddedprepublishOnlyscriptpackages/extension-table-plus/package.json- AddedprepublishOnlyscriptpackages/extension-table-plus/CHANGELOG.md- Reformatted for changesetPackages Managed
@cherrystudio/ai-core@cherrystudio/ai-sdk-provider@cherrystudio/extension-table-plusUsage
CI/CD Flow
main, a "Version Packages" PR is automatically createdRequirements
NPM_TOKENsecret must be configured in GitHub repository settingsTest Plan
pnpm changeset statusruns successfullypnpm build:packagesbuilds all packages in correct orderpnpm formatpassesRelease Note
🤖 Generated with Claude Code