Both manifests started `rea-agents@latest`, so a server start could run a different package version from the installed plugin and bundled skill, and would execute whatever npm's latest tag pointed at. Pin the launch to the manifest version and have Release Please rewrite it with each release. Release Please reserializes JSON extra-files with JSON.stringify, which the formatter would reject in every release PR. Store both manifests in that form, exempt them from the formatter, and assert the form in conformance. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
59 lines
1.8 KiB
JSON
59 lines
1.8 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
|
|
"release-type": "node",
|
|
"versioning": "always-bump-minor",
|
|
"include-v-in-tag": false,
|
|
"changelog-sections": [
|
|
{ "type": "feat", "section": "Features", "hidden": false },
|
|
{ "type": "fix", "section": "Bug Fixes", "hidden": false },
|
|
{ "type": "perf", "section": "Performance Improvements", "hidden": false },
|
|
{ "type": "refactor", "section": "Code Refactoring", "hidden": false },
|
|
{ "type": "docs", "section": "Documentation", "hidden": false },
|
|
{ "type": "test", "section": "Tests", "hidden": false },
|
|
{ "type": "chore", "section": "Chores", "hidden": true },
|
|
{ "type": "ci", "section": "Continuous Integration", "hidden": false }
|
|
],
|
|
"packages": {
|
|
".": {
|
|
"package-name": "rea-agents",
|
|
"extra-files": [
|
|
{ "type": "generic", "path": "docs/installation.md" },
|
|
{
|
|
"type": "generic",
|
|
"path": "src/generatedPackageMetadata.ts"
|
|
},
|
|
{
|
|
"type": "json",
|
|
"path": "server.json",
|
|
"jsonpath": "$.version"
|
|
},
|
|
{
|
|
"type": "json",
|
|
"path": "server.json",
|
|
"jsonpath": "$.packages[0].version"
|
|
},
|
|
{
|
|
"type": "json",
|
|
"path": ".claude-plugin/plugin.json",
|
|
"jsonpath": "$.version"
|
|
},
|
|
{
|
|
"type": "json",
|
|
"path": ".claude-plugin/plugin.json",
|
|
"jsonpath": "$.mcpServers.rea.args[1]"
|
|
},
|
|
{
|
|
"type": "json",
|
|
"path": ".codex-plugin/plugin.json",
|
|
"jsonpath": "$.version"
|
|
},
|
|
{
|
|
"type": "json",
|
|
"path": ".codex-plugin/plugin.json",
|
|
"jsonpath": "$.mcpServers.rea.args[1]"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|