Skip to content

Commit 8ea5f09

Browse files
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 #2121
1 parent 176eb69 commit 8ea5f09

5 files changed

Lines changed: 30 additions & 5 deletions

File tree

.claude-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"chrome-devtools": {
77
"command": "npx",
88
"args": [
9-
"chrome-devtools-mcp@latest"
9+
"chrome-devtools-mcp@1.0.1"
1010
]
1111
}
1212
}

.cursor-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"mcpServers": {
1212
"chrome-devtools": {
1313
"command": "npx",
14-
"args": ["chrome-devtools-mcp@latest"]
14+
"args": ["chrome-devtools-mcp@1.0.1"]
1515
}
1616
}
1717
}

.github/plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"chrome-devtools": {
77
"command": "npx",
88
"args": [
9-
"chrome-devtools-mcp@latest"
9+
"chrome-devtools-mcp@1.0.1"
1010
]
1111
}
1212
}

gemini-extension.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"name": "chrome-devtools-mcp",
3-
"version": "latest",
3+
"version": "1.0.1",
44
"mcpServers": {
55
"chrome-devtools": {
66
"command": "npx",
7-
"args": ["chrome-devtools-mcp@latest"]
7+
"args": ["chrome-devtools-mcp@1.0.1"]
88
}
99
}
1010
}

release-please-config.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,40 @@
4040
"path": ".claude-plugin/plugin.json",
4141
"jsonpath": "version"
4242
},
43+
{
44+
"type": "json",
45+
"path": ".claude-plugin/plugin.json",
46+
"jsonpath": "mcpServers['chrome-devtools'].args[1]"
47+
},
4348
{
4449
"type": "json",
4550
"path": ".cursor-plugin/plugin.json",
4651
"jsonpath": "version"
4752
},
53+
{
54+
"type": "json",
55+
"path": ".cursor-plugin/plugin.json",
56+
"jsonpath": "mcpServers.[['chrome-devtools']'].args[1]"
57+
},
58+
{
59+
"type": "json",
60+
"path": "gemini-extension.json",
61+
"jsonpath": "version"
62+
},
63+
{
64+
"type": "json",
65+
"path": "gemini-extension.json",
66+
"jsonpath": "mcpServers['chrome-devtools'].args[1]"
67+
},
4868
{
4969
"type": "json",
5070
"path": ".github/plugin/plugin.json",
5171
"jsonpath": "version"
72+
},
73+
{
74+
"type": "json",
75+
"path": ".github/plugin/plugin.json",
76+
"jsonpath": "mcpServers['chrome-devtools'].args[1]"
5277
}
5378
]
5479
}

0 commit comments

Comments
 (0)