Repository navigation
Build(Release): Replace semantic-release and commitlint with Aronrepo 3 - #501
Merged
Merged
Conversation
Commits, PR titles and releases now follow one resolver, Aronrepo 3, in explicit mode: only Bump(Minor) and Bump(Major) raise minor and major versions, and a release type needs a change in a published package. - The commit hook, `bun run commit-check` and the PR title check run `aronrepo check`; the PR title is checked against the PR diff. - `bun run release` runs scripts/release.mjs. Aronrepo plans the version, tag and notes; the workspace and promotion modules stage, verify and promote the npm cohort in the same order as before; Aronrepo creates the GitHub release with the assets in aronrepo.config.js. A rerun on a tagged commit creates a missing GitHub release only after every package's channel points to the version. `--dry-run [--branch main]` previews it. - semantic-release, @semantic-release/*, commitlint and the five @aronrepo/* v2 packages are removed with release.config.js, commitlint.config.js and the major guard and notes plugins; the workspace and promotion modules drop the semantic-release prefix and their addChannel entry points. - AGENTS.md carries the generated Aronrepo policy block, and RELEASING.md describes the new entrypoint. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
`getChannel()` only sees `latest`, a prerelease channel, or `site` now, and the OIDC note no longer names semantic-release. 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.
Summary
Moves commits, PR titles and releases to one resolver, Aronrepo 3, in explicit mode.
bun run commit-checkand the PR title check runaronrepo check(the PR title against the PR diff). AGENTS.md carries the generated policy block.bun run releaserunsscripts/release.mjs. Aronrepo plans the version, tag and notes from the commits since the channel's lastv*tag; the existing workspace and promotion modules stage, verify (provenance and registry consumer) and promote the npm cohort in the same order as before; Aronrepo creates the GitHub release with the assets listed inaronrepo.config.js. Recovery is unchanged:release-recover.mjsand the workflow's npm recovery mode. A rerun on a tagged commit creates a missing GitHub release only after every package's channel points to the version.@semantic-release/*, commitlint, the five@aronrepo/*v2 packages,release.config.js,commitlint.config.js, and the major-guard and notes plugins. The workspace and promotion modules drop thesemantic-release-prefix and theiraddChannelentry points.Release behavior
Explicit mode keeps the existing rules: only
Bump(Major)releases major, andAddreleases a patch.Feat/New/Update/Miscbecome legacy types, rejected in new commits; a minor release now needsBump(Minor). Merging this PR releases nothing (only non-release commits since v2.0.2).Validation
bun run check:release, release script tests (106),bun run test:toolchain,scripts/validation-workflow.test.mjs,check:toolchain,check:ai-context,aronrepo doctorall pass locally.node scripts/release.mjs --dry-run --branch mainreports no release on this branch; with a simulatedFix(Core)commit it plansv2.0.3for all 34 packages with the expected notes.🤖 Generated with Claude Code