Repository navigation
feat!: pnpm cella sync is now pnpm cella upgrade, leaving "sync" to cella's sync engine - #62
Merged
Merged
Conversation
…ella's sync engine Template updates and the sync engine shared one word, which confused readers of cella's marketing and docs. The command, its branch, ref, settings and output now say upgrade. - `cella upgrade` cuts `cella/upgrade/<stamp>`, commits `chore: upgrade cella to v0.27.0 (<sha>)` and records `refs/cella/last-upgrade`; the manifest stamps `upgradedAt`. - Settings `packageJsonSync` and `syncWithPackages` are `packageJsonKeys` and `mergePackageJson`. - An alignment's `syncBreaking` frontmatter is `breaking`, also in `align --json`. - Output says "CLI config" where it said "sync config". Old names keep working for the 0.6 line: `cella sync` runs the upgrade with a warning, a `cella/sync/` branch from a cycle 0.5 started still resumes and ships, `refs/cella/last-sync` is read when the new ref is absent, the old settings are read with a warning (also in upstream's config at an older commit), and `syncBreaking` is read from older upstream alignments. BREAKING CHANGE: the public config type `PackageJsonSyncKey` is `PackageJsonKey`, and `align --json` reports `breaking` in place of `syncBreaking`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Template updates and cella's sync engine shared one word. In marketing and docs, "sync" now means only the sync engine; pulling template changes into an app is an upgrade.
What changes
pnpm cella syncpnpm cella upgradecella/sync/<stamp>cella/upgrade/<stamp>chore: sync upstream cella v0.26.0 (<sha>)chore: upgrade cella to v0.26.0 (<sha>)refs/cella/last-sync(+-head)refs/cella/last-upgrade(+-head)settings.packageJsonSync/syncWithPackagespackageJsonKeys/mergePackageJsonsyncBreakingbreaking(also inalign --json)syncedAtupgradedAtThe README follows: headings "Upgrade workflow", "Merge rules", "Package.json merge".
Old names keep working through 0.6
cella syncruns the upgrade, hidden from help, and warns that it is renamed.cella/sync/<stamp>resumes and ships, because an upgrade bumps the CLI mid-cycle. Open PRs under either prefix count for the "earlier PR still open" guard.refs/cella/last-syncis read when the new ref is absent.packageJsonSyncandsyncWithPackagesare read under the new names, with one warning each. Upstream's config at an older merge-base is read the same way, so the template's own key rename does not show up as an upstream config change.syncBreakingis read from alignments at older upstream commits.Internal identifiers (
SyncManifest,runSync,ensureSyncBase, …) keep their names. The service file and four command-named test files are renamed toupgrade.Breaking: the public config type
PackageJsonSyncKeyis nowPackageJsonKey, andalign --jsonreportsbreaking. Nothing in cella, raak or projectcampus imports the type.Verified
pnpm checkandpnpm test(329 tests) pass;pnpm test:releasepasses.cella syncresolves to upgrade with its options and both warnings (tests/cli.test.ts); a branch cut undercella/sync/ships on the rerun (tests/e2e/upgrade-worktree.test.ts);syncBreakingfrontmatter reads asbreaking(tests/alignments.test.ts). These pin the transition for apps that are mid-cycle or on an older upstream.7520e6a): help listsupgrade;analyzeprints both rename warnings and ends with2 upgrade pnpm cella upgrade; today's upstream alignments (stillsyncBreaking) show asbreaking;refs/cella/last-upgradeis written;cella sync --helpresolves.The template side (dependency bump,
cella.config.tskeys, CI branch prefix, docs, thecella-syncskill, the alignment frontmatter) follows in a cella PR once this is released.Size
The added and removed counts include the five renamed files in full; the net numbers are the real growth.
🤖 Generated with Claude Code