@mozilla/firefox-devtools-mcp-moz 0.9.8 → 0.9.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/scripts/bump-version.mjs +0 -31
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mozilla/firefox-devtools-mcp-moz",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.9",
|
|
4
4
|
"description": "Model Context Protocol (MCP) server for Firefox DevTools automation (moz build with privileged context support)",
|
|
5
5
|
"author": "Mozilla",
|
|
6
6
|
"license": "MIT OR Apache-2.0",
|
package/scripts/bump-version.mjs
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import { readFileSync, writeFileSync } from 'node:fs';
|
|
3
|
-
import { fileURLToPath } from 'node:url';
|
|
4
|
-
import { resolve, dirname } from 'node:path';
|
|
5
|
-
|
|
6
|
-
const version = process.argv[2];
|
|
7
|
-
|
|
8
|
-
if (!version || !/^\d+\.\d+\.\d+$/.test(version)) {
|
|
9
|
-
console.error('Usage: node scripts/bump-version.mjs <version>');
|
|
10
|
-
console.error('Example: node scripts/bump-version.mjs 0.9.8');
|
|
11
|
-
process.exit(1);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
const root = resolve(dirname(fileURLToPath(import.meta.url)), '..');
|
|
15
|
-
|
|
16
|
-
function updateJson(filePath, update) {
|
|
17
|
-
const obj = JSON.parse(readFileSync(filePath, 'utf8'));
|
|
18
|
-
const prev = obj.version;
|
|
19
|
-
update(obj);
|
|
20
|
-
writeFileSync(filePath, JSON.stringify(obj, null, 2) + '\n');
|
|
21
|
-
console.log(`${filePath}: ${prev} -> ${obj.version}`);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
updateJson(resolve(root, 'package.json'), pkg => {
|
|
25
|
-
pkg.version = version;
|
|
26
|
-
});
|
|
27
|
-
|
|
28
|
-
updateJson(resolve(root, '.claude-plugin/plugin.json'), plugin => {
|
|
29
|
-
plugin.version = version;
|
|
30
|
-
plugin.mcpServers['firefox-devtools'].args[1] = `@mozilla/firefox-devtools-mcp@${version}`;
|
|
31
|
-
});
|