Skip to content

Commit fd98a74

Browse files
committed
build(proxy): compile proxy TS to dist/proxy; fix TS path resolution; prep cold build
1 parent 4c7fdba commit fd98a74

5 files changed

Lines changed: 9 additions & 9 deletions

File tree

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"scripts": {
2121
"prepare": "npm run build",
2222
"prebuild": "rimraf dist",
23-
"build": "npm run build:packages && tsc -p tsconfig.json && npm run postbuild",
23+
"build": "npm run build:packages && tsc -p tsconfig.json && tsc src/index.ts src/server.ts --outDir dist --module NodeNext --moduleResolution NodeNext --esModuleInterop true --target ES2022 && tsc src/proxy/dap-proxy-entry.ts src/proxy/dap-proxy-worker.ts src/proxy/dap-proxy-core.ts src/proxy/dap-proxy-dependencies.ts src/proxy/dap-proxy-interfaces.ts src/proxy/dap-proxy-adapter-manager.ts src/proxy/dap-proxy-connection-manager.ts src/proxy/dap-proxy-message-parser.ts src/proxy/dap-proxy-request-tracker.ts src/proxy/dap-proxy.ts src/proxy/minimal-dap.ts src/proxy/index.ts src/proxy/proxy-config.ts src/proxy/proxy-manager.ts --outDir dist --module NodeNext --moduleResolution NodeNext --esModuleInterop true --target ES2022 && npm run postbuild",
2424
"build:shared": "npm run build -w @debugmcp/shared --if-present",
2525
"build:adapters": "npm run build -w @debugmcp/adapter-mock && npm run build -w @debugmcp/adapter-python",
2626
"build:packages": "npm run build -w @debugmcp/shared && npm run build -w @debugmcp/adapter-mock && npm run build -w @debugmcp/adapter-python",

‎packages/adapter-mock/src/mock-adapter-factory.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
*
66
* @since 2.0.0
77
*/
8-
import {
8+
import type {
99
IAdapterFactory,
1010
AdapterDependencies,
1111
AdapterMetadata,
12-
FactoryValidationResult
12+
FactoryValidationResult,
13+
IDebugAdapter
1314
} from '@debugmcp/shared';
14-
import { IDebugAdapter } from '@debugmcp/shared';
1515
import { MockDebugAdapter, MockAdapterConfig } from './mock-debug-adapter.js';
1616
import { DebugLanguage } from '@debugmcp/shared';
1717

‎packages/adapter-mock/tsconfig.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"rootDir": "src",
77
"baseUrl": ".",
88
"paths": {
9-
"@debugmcp/shared": ["../shared/dist/index.d.ts"],
10-
"@debugmcp/shared/*": ["../shared/dist/*"]
9+
"@debugmcp/shared": ["../shared/src/index.ts"],
10+
"@debugmcp/shared/*": ["../shared/src/*"]
1111
}
1212
},
1313
"references": [

‎packages/adapter-mock/tsconfig.tsbuildinfo‎

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

‎packages/adapter-python/tsconfig.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"rootDir": "src",
77
"baseUrl": ".",
88
"paths": {
9-
"@debugmcp/shared": ["../shared/dist/index.d.ts"],
10-
"@debugmcp/shared/*": ["../shared/dist/*"]
9+
"@debugmcp/shared": ["../shared/src"],
10+
"@debugmcp/shared/*": ["../shared/src/*"]
1111
},
1212
"esModuleInterop": true,
1313
"allowSyntheticDefaultImports": true

0 commit comments

Comments
 (0)