Skip to content

Commit 1b21043

Browse files
committed
release: @rsdoctor/mcp-server 0.0.1-next.1
1 parent 4232dfe commit 1b21043

File tree

7 files changed

+15
-577
lines changed

7 files changed

+15
-577
lines changed

e2e/cases/doctor-rspack/linter-rule-render.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,11 @@ test('linter rule render check', async () => {
127127
// ignore output text check because there's no .map file for track the source code
128128
const source = await page.$('.e2e-ecma-source');
129129
const error = await page.$('.e2e-ecma-error');
130+
130131
const sourceText = await source?.textContent();
131132
const errorText = await error?.textContent();
133+
134+
console.log('sourceText::::::::::::::', sourceText);
132135
expect(sourceText).toBe(
133136
'/cases/doctor-rspack/dist/linter-rule-render/main.js:1:2',
134137
);

e2e/test-results/.last-run.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"status": "passed",
3+
"failedTests": []
4+
}

packages/ai/package.json

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@rsdoctor/mcp-server",
3-
"version": "0.0.1-beta.4",
3+
"version": "0.0.1-next.1",
44
"repository": {
55
"type": "git",
66
"url": "https://github.com/web-infra-dev/rsdoctor",
@@ -24,20 +24,15 @@
2424
"client": "npm run build && node dist/mcp/index.js"
2525
},
2626
"devDependencies": {
27-
"@coze/api": "^1.2.0",
27+
"@modelcontextprotocol/sdk": "1.4.1",
2828
"@rslib/core": "^0.6.9",
2929
"@types/node": "^22.8.1",
30-
"dotenv": "^16.4.7",
31-
"langchain": "^0.3.24",
32-
"openai": "^4.77.0",
3330
"typescript": "^5.2.2",
3431
"vitest": "3.0.9"
3532
},
3633
"dependencies": {
37-
"@modelcontextprotocol/sdk": "1.4.1",
3834
"@rsdoctor/utils": "workspace:*",
3935
"@rsdoctor/types": "workspace:*",
40-
"axios": "^1.8.4",
4136
"socket.io-client": "4.6.1",
4237
"zod": "^3.24.4"
4338
},
File renamed without changes.
File renamed without changes.

packages/ai/rslib.config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default defineConfig({
55
{
66
source: {
77
entry: {
8-
index: './src/!(resources)/**/*.ts',
8+
index: './src/index.ts',
99
},
1010
tsconfigPath: './tsconfig.build.json',
1111
},
@@ -14,7 +14,7 @@ export default defineConfig({
1414
root: './dist/',
1515
},
1616
},
17-
bundle: false,
17+
bundle: true,
1818
dts: true,
1919
format: 'cjs',
2020
syntax: 'es2021',
@@ -26,7 +26,7 @@ export default defineConfig({
2626
'utf-8-validate': 'utf-8-validate',
2727
},
2828
copy: {
29-
patterns: [{ from: 'src/resources', to: 'resources' }],
29+
patterns: [{ from: 'resources', to: 'resources' }],
3030
},
3131
},
3232
});

0 commit comments

Comments
 (0)