项目文件夹

文件
T
Nikolay Vitkov 8ea5f098ef fix: use pinned version for plugins (#2135)
The regex used to match the versions is 
```js
const regex = /(?<major>\d+)\.(?<minor>\d+)\.(?<patch>\d+)(-(?<preRelease>[\w.]+))?(\+(?<build>[-\w.]+))?/
```
And they replace what was matched.
Closes https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/2121
2026-05-26 13:22:03 +00:00

82 行
2.3 KiB
JSON

{
"changelog-sections": [
{"type": "feat", "section": "🎉 Features", "hidden": false},
{"type": "fix", "section": "🛠️ Fixes", "hidden": false},
{"type": "docs", "section": "📄 Documentation", "hidden": false},
{"type": "perf", "section": "⚡ Performance", "hidden": false},
{"type": "refactor", "section": "🏗️ Refactor", "hidden": false},
{"type": "chore", "section": "♻️ Chores", "hidden": true},
{"type": "test", "section": "♻️ Chores", "hidden": true},
{"type": "build", "section": "⚙️ Automation", "hidden": true},
{"type": "ci", "section": "⚙️ Automation", "hidden": true}
],
"packages": {
".": {
"extra-files": [
{
"type": "generic",
"path": "src/version.ts"
},
{
"type": "json",
"path": "server.json",
"jsonpath": "version"
},
{
"type": "json",
"path": "server.json",
"jsonpath": "packages[0].version"
},
{
"type": "json",
"path": ".claude-plugin/marketplace.json",
"jsonpath": "version"
},
{
"type": "json",
"path": ".claude-plugin/plugin.json",
"jsonpath": "version"
},
{
"type": "json",
"path": ".claude-plugin/plugin.json",
"jsonpath": "mcpServers['chrome-devtools'].args[1]"
},
{
"type": "json",
"path": ".cursor-plugin/plugin.json",
"jsonpath": "version"
},
{
"type": "json",
"path": ".cursor-plugin/plugin.json",
"jsonpath": "mcpServers.[['chrome-devtools']'].args[1]"
},
{
"type": "json",
"path": "gemini-extension.json",
"jsonpath": "version"
},
{
"type": "json",
"path": "gemini-extension.json",
"jsonpath": "mcpServers['chrome-devtools'].args[1]"
},
{
"type": "json",
"path": ".github/plugin/plugin.json",
"jsonpath": "version"
},
{
"type": "json",
"path": ".github/plugin/plugin.json",
"jsonpath": "mcpServers['chrome-devtools'].args[1]"
}
]
}
}
}