Skip to content

Commit 1af7d0f

Browse files
author
AI Assistant
committed
fix: CI failures across all repos — pnpm 10, eslint config, lockfiles
- Update all CI workflows from pnpm 9 to pnpm 10 (matching local) - Add eslint.config.js (ESLint 9 flat config) to all 4 packages - Add @typescript-eslint/eslint-plugin and parser to devDeps where missing - Replace file: dependency references with published npm versions - Regenerate pnpm-lock.yaml files for standalone repo compatibility - Fix unused variable lint errors in webmcp-meta.ts and TimelineEntry.tsx
1 parent b6838e8 commit 1af7d0f

4 files changed

Lines changed: 243 additions & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- uses: actions/checkout@v4
1414
- uses: pnpm/action-setup@v4
1515
with:
16-
version: 9
16+
version: 10
1717
- uses: actions/setup-node@v4
1818
with:
1919
node-version: 22
@@ -35,7 +35,7 @@ jobs:
3535
- uses: actions/checkout@v4
3636
- uses: pnpm/action-setup@v4
3737
with:
38-
version: 9
38+
version: 10
3939
- uses: actions/setup-node@v4
4040
with:
4141
node-version: 22

eslint.config.js

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
import tseslint from "@typescript-eslint/eslint-plugin";
2+
import tsparser from "@typescript-eslint/parser";
3+
4+
export default [
5+
{
6+
files: ["src/**/*.ts"],
7+
languageOptions: {
8+
parser: tsparser,
9+
parserOptions: {
10+
ecmaVersion: "latest",
11+
sourceType: "module",
12+
},
13+
},
14+
plugins: {
15+
"@typescript-eslint": tseslint,
16+
},
17+
rules: {
18+
...tseslint.configs.recommended.rules,
19+
"@typescript-eslint/no-explicit-any": "off",
20+
},
21+
},
22+
{
23+
ignores: ["dist/", "node_modules/"],
24+
},
25+
];

package.json

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@
1818
}
1919
}
2020
},
21-
"files": ["dist"],
21+
"files": [
22+
"dist"
23+
],
2224
"scripts": {
2325
"build": "tsup",
2426
"typecheck": "tsc --noEmit",
@@ -30,19 +32,26 @@
3032
"prepublishOnly": "pnpm build"
3133
},
3234
"dependencies": {
33-
"chrome-remote-interface": "^0.34.0",
34-
"@tech-sumit/ai-inspector-types": "^0.2.0"
35+
"@tech-sumit/ai-inspector-types": "^0.2.0",
36+
"chrome-remote-interface": "^0.34.0"
3537
},
3638
"devDependencies": {
3739
"@types/chrome-remote-interface": "^0.31.14",
40+
"@typescript-eslint/eslint-plugin": "^8.56.0",
41+
"@typescript-eslint/parser": "^8.56.0",
3842
"devtools-protocol": "^0.0.1502260",
43+
"eslint": "^9.0.0",
44+
"prettier": "^3.0.0",
3945
"tsup": "^8.0.0",
4046
"typescript": "^5.6.0",
41-
"vitest": "^3.0.0",
42-
"eslint": "^9.0.0",
43-
"prettier": "^3.0.0"
47+
"vitest": "^3.0.0"
4448
},
45-
"keywords": ["webmcp", "cdp", "chrome-devtools-protocol", "tool-discovery"],
49+
"keywords": [
50+
"webmcp",
51+
"cdp",
52+
"chrome-devtools-protocol",
53+
"tool-discovery"
54+
],
4655
"license": "MIT",
4756
"repository": {
4857
"type": "git",

pnpm-lock.yaml

Lines changed: 200 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)