@mozilla/firefox-devtools-mcp 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 +2 -3
- package/scripts/bump-version.mjs +0 -31
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mozilla/firefox-devtools-mcp",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.9",
|
|
4
4
|
"description": "Model Context Protocol (MCP) server for Firefox DevTools automation",
|
|
5
5
|
"author": "Mozilla",
|
|
6
6
|
"license": "MIT OR Apache-2.0",
|
|
@@ -45,8 +45,7 @@
|
|
|
45
45
|
"test:navigation": "node scripts/test-navigation.js",
|
|
46
46
|
"test:privileged": "node scripts/test-privileged-context.js",
|
|
47
47
|
"test:screenshot": "node scripts/test-screenshot.js",
|
|
48
|
-
"test:integration:win": "node scripts/run-integration-tests-windows.mjs"
|
|
49
|
-
"bump-version": "node scripts/bump-version.mjs"
|
|
48
|
+
"test:integration:win": "node scripts/run-integration-tests-windows.mjs"
|
|
50
49
|
},
|
|
51
50
|
"keywords": [
|
|
52
51
|
"mcp",
|
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
|
-
});
|