From 3f9058f9c8b0adff99596d6922d2a8d86832a491 Mon Sep 17 00:00:00 2001 From: Paul Laros Date: Sat, 31 Oct 2026 22:27:08 +0100 Subject: [PATCH] docs(free): title release PRs chore(release) "release: AdminKit " fails commitlint's type-enum when the PR is squash-merged onto main. Co-Authored-By: Claude Opus 5.5 --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index bccb27e..05423f9 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -55,7 +55,7 @@ Release AdminKit PRO first, so its counts are final, then this repository. A fix 1. Branch `chore/release-` from `main`. 2. Run `npm version --no-git-tag-version`, then `npm run stats:sync -- --pro ../adminkit-pro` (it runs `npm run stats` too). 3. In `CHANGELOG.md`, add `## [] - ` right under `## [Unreleased]`, so the unreleased lines move into it. -4. Commit as `chore(release): `, open a PR titled `release: AdminKit ` and squash-merge it. +4. Commit as `chore(release): `, open a PR titled `chore(release): ` and squash-merge it (commitlint checks the squashed subject on `main`). 5. Tag the merge commit and push the tag: `git tag -a v -m "AdminKit " && git push origin v`. The Release workflow builds `dist/` and attaches `adminkit-v.zip` to a GitHub release; name it `AdminKit ` and paste the version's changelog lines as its notes. 6. Publish to npm from the tagged commit: `npm publish` (`prepublishOnly` builds first). 7. In the website repository, refresh the docs previews: `npm run preview:sync -- --free ../adminkit --pro ../adminkit-pro`.