Skip to content

Commit 9f31ad9

Browse files
committed
fixing builds
1 parent 58fe864 commit 9f31ad9

File tree

5 files changed

+23
-44
lines changed

5 files changed

+23
-44
lines changed

build/index.js

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

mock-client/test-health.js

Lines changed: 0 additions & 40 deletions
This file was deleted.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"name": "@socketsecurity/mcp",
3-
"version": "0.0.4",
3+
"version": "0.0.5",
44
"type": "module",
55
"main": "./build/index.js",
66
"bin": {
77
"socket-mcp": "./build/index.js"
88
},
99
"scripts": {
10-
"build": "tsc && chmod 755 ./build/index.js && (chmod 755 ./build/mock-client/*.js 2>/dev/null || true)",
10+
"build": "tsc && tsc -p tsconfig.mock-client.json && chmod 755 ./build/index.js && (chmod 755 ./build/mock-client/*.js 2>/dev/null || true)",
1111
"debug:stdio": "node ./build/mock-client/debug-client.js",
1212
"debug:sdk": "node ./build/mock-client/stdio-client.js",
1313
"debug:http": "node ./build/mock-client/http-client.js",

tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"module": "Node16",
55
"moduleResolution": "Node16",
66
"outDir": "./build",
7-
"rootDir": "./",
7+
"rootDir": "./src",
88
"strict": true,
99
"esModuleInterop": true,
1010
"skipLibCheck": true,
1111
"sourceMap": true,
1212
"forceConsistentCasingInFileNames": true
1313
},
14-
"include": ["src/**/*", "mock-client/**/*"],
14+
"include": ["src/**/*"],
1515
"exclude": ["node_modules"]
1616
}

tsconfig.mock-client.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"extends": "./tsconfig.json",
3+
"compilerOptions": {
4+
"outDir": "./build/mock-client",
5+
"rootDir": "./mock-client"
6+
},
7+
"include": ["mock-client/**/*"]
8+
}

0 commit comments

Comments
 (0)