mirror of
https://github.com/giancarloerra/socraticode.git
synced 2026-06-02 06:23:43 +02:00
6a91febe45
The Cursor and Codex plugin manifests had drifted from the engine version because the previous `release-it` `after:bump` hook only updated `.claude-plugin/plugin.json`. Replace the inline-JS hook with `scripts/bump-plugin-versions.mjs`, which iterates every known plugin manifest (Claude / Cursor / Codex plus the upcoming `extension/package.json`) and skips any that don't yet exist. This keeps every distribution channel in lockstep on subsequent releases. Bring `.cursor-plugin/plugin.json` and `.codex-plugin/plugin.json` up to v1.7.2 so they reflect the current engine release. Tidy up the plugin descriptions in the same pass (replace decorative dashes with colons, no semantic change).
40 lines
1.2 KiB
JSON
40 lines
1.2 KiB
JSON
{
|
|
"hooks": {
|
|
"after:bump": "node scripts/bump-plugin-versions.mjs ${version}"
|
|
},
|
|
"git": {
|
|
"commitMessage": "chore: release v${version}",
|
|
"tagName": "v${version}",
|
|
"tagAnnotation": "Release v${version}",
|
|
"requireCleanWorkingDir": true,
|
|
"push": true
|
|
},
|
|
"github": {
|
|
"release": true,
|
|
"releaseName": "v${version}"
|
|
},
|
|
"npm": {
|
|
"publish": true
|
|
},
|
|
"plugins": {
|
|
"@release-it/conventional-changelog": {
|
|
"preset": {
|
|
"name": "conventionalcommits",
|
|
"types": [
|
|
{ "type": "feat", "section": "Features" },
|
|
{ "type": "fix", "section": "Bug Fixes" },
|
|
{ "type": "perf", "section": "Performance" },
|
|
{ "type": "refactor", "section": "Refactors" },
|
|
{ "type": "docs", "section": "Documentation" },
|
|
{ "type": "test", "section": "Tests" },
|
|
{ "type": "chore", "hidden": true },
|
|
{ "type": "ci", "hidden": true },
|
|
{ "type": "build", "hidden": true }
|
|
]
|
|
},
|
|
"infile": "CHANGELOG.md",
|
|
"header": "# Changelog\n\nAll notable changes to SocratiCode are documented here.\nThis project uses [Conventional Commits](https://www.conventionalcommits.org/) and [Semantic Versioning](https://semver.org/).\n"
|
|
}
|
|
}
|
|
}
|