xmcp 0.0.12 → 0.0.13
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/dist/auth/api-key.d.ts +0 -1
- package/dist/auth/jwt.d.ts +0 -1
- package/dist/cli.d.ts +0 -1
- package/dist/cli.js +2 -2
- package/dist/cli.js.LICENSE.txt +0 -2
- package/dist/compile.d.ts +8 -0
- package/dist/declarations.d.ts +3 -0
- package/dist/index.d.ts +1 -8
- package/dist/index.js +1 -22
- package/dist/index.js.LICENSE.txt +0 -46
- package/dist/platforms/build-vercel-output.d.ts +0 -1
- package/dist/runtime/headers.d.ts +4 -0
- package/dist/runtime/headers.js +1 -0
- package/dist/runtime/shared.js +2 -0
- package/dist/runtime/sse.js +1 -2
- package/dist/runtime/stdio.js +1 -1
- package/dist/runtime/streamable-http.js +1 -2
- package/dist/types/middleware.d.ts +0 -1
- package/dist/utils/constants.d.ts +1 -1
- package/dist/utils/fs-utils.d.ts +0 -1
- package/dist/utils/generate-env-code.d.ts +1 -0
- package/dist/utils/generate-import-code.d.ts +0 -1
- package/dist/utils/get-webpack-config.d.ts +1 -2
- package/dist/utils/parse-config.d.ts +12 -13
- package/dist/utils/spawn-process.d.ts +0 -1
- package/package.json +2 -2
- package/dist/auth/api-key.d.ts.map +0 -1
- package/dist/auth/jwt.d.ts.map +0 -1
- package/dist/cli.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/platforms/build-vercel-output.d.ts.map +0 -1
- package/dist/runtime/base-streamable-http.d.ts +0 -26
- package/dist/runtime/base-streamable-http.d.ts.map +0 -1
- package/dist/runtime/server.d.ts +0 -3
- package/dist/runtime/server.d.ts.map +0 -1
- package/dist/runtime/sse.d.ts +0 -2
- package/dist/runtime/sse.d.ts.map +0 -1
- package/dist/runtime/stateless-streamable-http.d.ts +0 -32
- package/dist/runtime/stateless-streamable-http.d.ts.map +0 -1
- package/dist/runtime/stdio.d.ts +0 -2
- package/dist/runtime/stdio.d.ts.map +0 -1
- package/dist/runtime/streamable-http.d.ts +0 -2
- package/dist/runtime/streamable-http.d.ts.map +0 -1
- package/dist/runtime/streamable-http.js.LICENSE.txt +0 -250
- package/dist/templates/home.d.ts +0 -3
- package/dist/templates/home.d.ts.map +0 -1
- package/dist/types/middleware.d.ts.map +0 -1
- package/dist/utils/constants.d.ts.map +0 -1
- package/dist/utils/fs-utils.d.ts.map +0 -1
- package/dist/utils/generate-import-code.d.ts.map +0 -1
- package/dist/utils/get-webpack-config.d.ts.map +0 -1
- package/dist/utils/parse-config.d.ts.map +0 -1
- package/dist/utils/spawn-process.d.ts.map +0 -1
- /package/dist/runtime/{sse.js.LICENSE.txt → shared.js.LICENSE.txt} +0 -0
package/dist/utils/fs-utils.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function generateEnvCode(): string;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Configuration } from "webpack";
|
|
2
|
-
import { CompilerMode } from "
|
|
2
|
+
import { type CompilerMode } from "../compile";
|
|
3
3
|
import { XmcpConfig } from "./parse-config";
|
|
4
4
|
export declare function getWebpackConfig(mode: CompilerMode, xmcpConfig: XmcpConfig): Configuration;
|
|
5
|
-
//# sourceMappingURL=get-webpack-config.d.ts.map
|
|
@@ -17,41 +17,41 @@ declare const configSchema: z.ZodObject<{
|
|
|
17
17
|
credentials: z.ZodOptional<z.ZodBoolean>;
|
|
18
18
|
maxAge: z.ZodOptional<z.ZodNumber>;
|
|
19
19
|
}, "strip", z.ZodTypeAny, {
|
|
20
|
+
maxAge?: number | undefined;
|
|
20
21
|
origin?: string | boolean | string[] | undefined;
|
|
21
22
|
methods?: string | string[] | undefined;
|
|
22
23
|
allowedHeaders?: string | string[] | undefined;
|
|
23
24
|
exposedHeaders?: string | string[] | undefined;
|
|
24
25
|
credentials?: boolean | undefined;
|
|
25
|
-
maxAge?: number | undefined;
|
|
26
26
|
}, {
|
|
27
|
+
maxAge?: number | undefined;
|
|
27
28
|
origin?: string | boolean | string[] | undefined;
|
|
28
29
|
methods?: string | string[] | undefined;
|
|
29
30
|
allowedHeaders?: string | string[] | undefined;
|
|
30
31
|
exposedHeaders?: string | string[] | undefined;
|
|
31
32
|
credentials?: boolean | undefined;
|
|
32
|
-
maxAge?: number | undefined;
|
|
33
33
|
}>>;
|
|
34
34
|
}, "strip", z.ZodTypeAny, {
|
|
35
35
|
port: number;
|
|
36
36
|
bodySizeLimit: number;
|
|
37
37
|
cors?: {
|
|
38
|
+
maxAge?: number | undefined;
|
|
38
39
|
origin?: string | boolean | string[] | undefined;
|
|
39
40
|
methods?: string | string[] | undefined;
|
|
40
41
|
allowedHeaders?: string | string[] | undefined;
|
|
41
42
|
exposedHeaders?: string | string[] | undefined;
|
|
42
43
|
credentials?: boolean | undefined;
|
|
43
|
-
maxAge?: number | undefined;
|
|
44
44
|
} | undefined;
|
|
45
45
|
}, {
|
|
46
46
|
port?: number | undefined;
|
|
47
47
|
bodySizeLimit?: number | undefined;
|
|
48
48
|
cors?: {
|
|
49
|
+
maxAge?: number | undefined;
|
|
49
50
|
origin?: string | boolean | string[] | undefined;
|
|
50
51
|
methods?: string | string[] | undefined;
|
|
51
52
|
allowedHeaders?: string | string[] | undefined;
|
|
52
53
|
exposedHeaders?: string | string[] | undefined;
|
|
53
54
|
credentials?: boolean | undefined;
|
|
54
|
-
maxAge?: number | undefined;
|
|
55
55
|
} | undefined;
|
|
56
56
|
}>]>>;
|
|
57
57
|
stdio: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -69,19 +69,19 @@ declare const configSchema: z.ZodObject<{
|
|
|
69
69
|
credentials: z.ZodOptional<z.ZodBoolean>;
|
|
70
70
|
maxAge: z.ZodOptional<z.ZodNumber>;
|
|
71
71
|
}, "strip", z.ZodTypeAny, {
|
|
72
|
+
maxAge?: number | undefined;
|
|
72
73
|
origin?: string | boolean | string[] | undefined;
|
|
73
74
|
methods?: string | string[] | undefined;
|
|
74
75
|
allowedHeaders?: string | string[] | undefined;
|
|
75
76
|
exposedHeaders?: string | string[] | undefined;
|
|
76
77
|
credentials?: boolean | undefined;
|
|
77
|
-
maxAge?: number | undefined;
|
|
78
78
|
}, {
|
|
79
|
+
maxAge?: number | undefined;
|
|
79
80
|
origin?: string | boolean | string[] | undefined;
|
|
80
81
|
methods?: string | string[] | undefined;
|
|
81
82
|
allowedHeaders?: string | string[] | undefined;
|
|
82
83
|
exposedHeaders?: string | string[] | undefined;
|
|
83
84
|
credentials?: boolean | undefined;
|
|
84
|
-
maxAge?: number | undefined;
|
|
85
85
|
}>>;
|
|
86
86
|
}, "strip", z.ZodTypeAny, {
|
|
87
87
|
port: number;
|
|
@@ -90,23 +90,23 @@ declare const configSchema: z.ZodObject<{
|
|
|
90
90
|
endpoint: string;
|
|
91
91
|
stateless: boolean;
|
|
92
92
|
cors?: {
|
|
93
|
+
maxAge?: number | undefined;
|
|
93
94
|
origin?: string | boolean | string[] | undefined;
|
|
94
95
|
methods?: string | string[] | undefined;
|
|
95
96
|
allowedHeaders?: string | string[] | undefined;
|
|
96
97
|
exposedHeaders?: string | string[] | undefined;
|
|
97
98
|
credentials?: boolean | undefined;
|
|
98
|
-
maxAge?: number | undefined;
|
|
99
99
|
} | undefined;
|
|
100
100
|
}, {
|
|
101
101
|
port?: number | undefined;
|
|
102
102
|
bodySizeLimit?: number | undefined;
|
|
103
103
|
cors?: {
|
|
104
|
+
maxAge?: number | undefined;
|
|
104
105
|
origin?: string | boolean | string[] | undefined;
|
|
105
106
|
methods?: string | string[] | undefined;
|
|
106
107
|
allowedHeaders?: string | string[] | undefined;
|
|
107
108
|
exposedHeaders?: string | string[] | undefined;
|
|
108
109
|
credentials?: boolean | undefined;
|
|
109
|
-
maxAge?: number | undefined;
|
|
110
110
|
} | undefined;
|
|
111
111
|
debug?: boolean | undefined;
|
|
112
112
|
endpoint?: string | undefined;
|
|
@@ -118,12 +118,12 @@ declare const configSchema: z.ZodObject<{
|
|
|
118
118
|
port: number;
|
|
119
119
|
bodySizeLimit: number;
|
|
120
120
|
cors?: {
|
|
121
|
+
maxAge?: number | undefined;
|
|
121
122
|
origin?: string | boolean | string[] | undefined;
|
|
122
123
|
methods?: string | string[] | undefined;
|
|
123
124
|
allowedHeaders?: string | string[] | undefined;
|
|
124
125
|
exposedHeaders?: string | string[] | undefined;
|
|
125
126
|
credentials?: boolean | undefined;
|
|
126
|
-
maxAge?: number | undefined;
|
|
127
127
|
} | undefined;
|
|
128
128
|
} | undefined;
|
|
129
129
|
stdio?: boolean | undefined;
|
|
@@ -134,12 +134,12 @@ declare const configSchema: z.ZodObject<{
|
|
|
134
134
|
endpoint: string;
|
|
135
135
|
stateless: boolean;
|
|
136
136
|
cors?: {
|
|
137
|
+
maxAge?: number | undefined;
|
|
137
138
|
origin?: string | boolean | string[] | undefined;
|
|
138
139
|
methods?: string | string[] | undefined;
|
|
139
140
|
allowedHeaders?: string | string[] | undefined;
|
|
140
141
|
exposedHeaders?: string | string[] | undefined;
|
|
141
142
|
credentials?: boolean | undefined;
|
|
142
|
-
maxAge?: number | undefined;
|
|
143
143
|
} | undefined;
|
|
144
144
|
} | undefined;
|
|
145
145
|
webpack?: ((args_0: any, ...args: unknown[]) => any) | undefined;
|
|
@@ -148,12 +148,12 @@ declare const configSchema: z.ZodObject<{
|
|
|
148
148
|
port?: number | undefined;
|
|
149
149
|
bodySizeLimit?: number | undefined;
|
|
150
150
|
cors?: {
|
|
151
|
+
maxAge?: number | undefined;
|
|
151
152
|
origin?: string | boolean | string[] | undefined;
|
|
152
153
|
methods?: string | string[] | undefined;
|
|
153
154
|
allowedHeaders?: string | string[] | undefined;
|
|
154
155
|
exposedHeaders?: string | string[] | undefined;
|
|
155
156
|
credentials?: boolean | undefined;
|
|
156
|
-
maxAge?: number | undefined;
|
|
157
157
|
} | undefined;
|
|
158
158
|
} | undefined;
|
|
159
159
|
stdio?: boolean | undefined;
|
|
@@ -161,12 +161,12 @@ declare const configSchema: z.ZodObject<{
|
|
|
161
161
|
port?: number | undefined;
|
|
162
162
|
bodySizeLimit?: number | undefined;
|
|
163
163
|
cors?: {
|
|
164
|
+
maxAge?: number | undefined;
|
|
164
165
|
origin?: string | boolean | string[] | undefined;
|
|
165
166
|
methods?: string | string[] | undefined;
|
|
166
167
|
allowedHeaders?: string | string[] | undefined;
|
|
167
168
|
exposedHeaders?: string | string[] | undefined;
|
|
168
169
|
credentials?: boolean | undefined;
|
|
169
|
-
maxAge?: number | undefined;
|
|
170
170
|
} | undefined;
|
|
171
171
|
debug?: boolean | undefined;
|
|
172
172
|
endpoint?: string | undefined;
|
|
@@ -177,4 +177,3 @@ declare const configSchema: z.ZodObject<{
|
|
|
177
177
|
export type XmcpConfig = z.infer<typeof configSchema>;
|
|
178
178
|
export declare function getConfig(configFilePath: string): XmcpConfig;
|
|
179
179
|
export {};
|
|
180
|
-
//# sourceMappingURL=parse-config.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xmcp",
|
|
3
3
|
"description": "The MCP framework",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.13",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Basement Studio",
|
|
7
7
|
"email": "hello@basement.studio",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
],
|
|
37
37
|
"scripts": {
|
|
38
38
|
"dev": "cross-env NODE_ENV=development tsx --watch --tsconfig ./compiler.tsconfig.json ./compiler/index.ts",
|
|
39
|
-
"build": "cross-env NODE_ENV=production tsx --tsconfig ./compiler.tsconfig.json ./compiler/index.ts
|
|
39
|
+
"build": "cross-env NODE_ENV=production tsx --tsconfig ./compiler.tsconfig.json ./compiler/index.ts"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@modelcontextprotocol/inspector": "0.14.3",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"api-key.d.ts","sourceRoot":"","sources":["../../src/auth/api-key.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmC,cAAc,EAAE,MAAM,SAAS,CAAC;AAE1E,MAAM,WAAW,0BAA0B;IACzC,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,0BAA0B,GACjC,cAAc,CAahB"}
|
package/dist/auth/jwt.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"jwt.d.ts","sourceRoot":"","sources":["../../src/auth/jwt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmC,cAAc,EAAE,MAAM,SAAS,CAAC;AAC1E,OAAY,EAAc,aAAa,EAAE,MAAM,cAAc,CAAC;AAE9D,MAAM,WAAW,uBAAwB,SAAQ,aAAa;IAC5D,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,uBAAuB,GAC9B,cAAc,CAuBhB"}
|
package/dist/cli.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":""}
|
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,KAAK,CAAC,EAAE,MAAM,KAAK,CAAC;AAE7B,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAuCrD,MAAM,MAAM,YAAY,GAAG,aAAa,GAAG,YAAY,CAAC;AAExD,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,YAAY,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,wBAAgB,OAAO,CAAC,EACtB,IAAI,EACJ,OAAO,EACP,cAAmC,GACpC,EAAE,cAAc,QAyHhB;AA+CD,MAAM,MAAM,WAAW,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI;KAC5D,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAC9B,CAAC;AAEF,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"build-vercel-output.d.ts","sourceRoot":"","sources":["../../src/platforms/build-vercel-output.ts"],"names":[],"mappings":"AA0CA,iBAAe,iBAAiB,kBAqG/B;AAED,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { IncomingMessage, ServerResponse } from "http";
|
|
2
|
-
export interface StreamableHttpTransportOptions {
|
|
3
|
-
port?: number;
|
|
4
|
-
endpoint?: string;
|
|
5
|
-
bodySizeLimit?: string;
|
|
6
|
-
debug?: boolean;
|
|
7
|
-
bindToLocalhost?: boolean;
|
|
8
|
-
}
|
|
9
|
-
export interface JsonRpcMessage {
|
|
10
|
-
jsonrpc: string;
|
|
11
|
-
method?: string;
|
|
12
|
-
params?: any;
|
|
13
|
-
id?: string | number | null;
|
|
14
|
-
result?: any;
|
|
15
|
-
error?: any;
|
|
16
|
-
}
|
|
17
|
-
export declare abstract class BaseHttpServerTransport {
|
|
18
|
-
onmessage?: (message: JsonRpcMessage) => void;
|
|
19
|
-
onerror?: (error: Error) => void;
|
|
20
|
-
onclose?: () => void;
|
|
21
|
-
abstract start(): Promise<void>;
|
|
22
|
-
abstract close(): Promise<void>;
|
|
23
|
-
abstract send(message: JsonRpcMessage): Promise<void>;
|
|
24
|
-
abstract handleRequest(req: IncomingMessage, res: ServerResponse, parsedBody?: unknown): Promise<void>;
|
|
25
|
-
}
|
|
26
|
-
//# sourceMappingURL=base-streamable-http.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"base-streamable-http.d.ts","sourceRoot":"","sources":["../../src/runtime/base-streamable-http.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;AAEvD,MAAM,WAAW,8BAA8B;IAC7C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IAC5B,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,KAAK,CAAC,EAAE,GAAG,CAAC;CACb;AAID,8BAAsB,uBAAuB;IAO3C,SAAS,CAAC,EAAE,CAAC,OAAO,EAAE,cAAc,KAAK,IAAI,CAAC;IAC9C,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IAErB,QAAQ,CAAC,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAC/B,QAAQ,CAAC,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAC/B,QAAQ,CAAC,IAAI,CAAC,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;IACrD,QAAQ,CAAC,aAAa,CACpB,GAAG,EAAE,eAAe,EACpB,GAAG,EAAE,cAAc,EACnB,UAAU,CAAC,EAAE,OAAO,GACnB,OAAO,CAAC,IAAI,CAAC;CACjB"}
|
package/dist/runtime/server.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../src/runtime/server.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AAsBjE,wBAAsB,YAAY,uBAqBjC"}
|
package/dist/runtime/sse.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sse.d.ts","sourceRoot":"","sources":["../../src/runtime/sse.ts"],"names":[],"mappings":""}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp";
|
|
2
|
-
import { RequestHandler } from "express";
|
|
3
|
-
import { StreamableHttpTransportOptions } from "./base-streamable-http";
|
|
4
|
-
type CorsOptions = {
|
|
5
|
-
origin?: string | string[] | boolean;
|
|
6
|
-
methods?: string | string[];
|
|
7
|
-
allowedHeaders?: string | string[];
|
|
8
|
-
exposedHeaders?: string | string[];
|
|
9
|
-
credentials?: boolean;
|
|
10
|
-
maxAge?: number;
|
|
11
|
-
};
|
|
12
|
-
export declare class StatelessStreamableHTTPTransport {
|
|
13
|
-
private app;
|
|
14
|
-
private server;
|
|
15
|
-
private port;
|
|
16
|
-
private endpoint;
|
|
17
|
-
private debug;
|
|
18
|
-
private options;
|
|
19
|
-
private createServerFn;
|
|
20
|
-
private corsOptions;
|
|
21
|
-
private middleware;
|
|
22
|
-
constructor(createServerFn: () => Promise<McpServer>, options: StreamableHttpTransportOptions | undefined, corsOptions: CorsOptions | undefined, middleware: RequestHandler | undefined);
|
|
23
|
-
private log;
|
|
24
|
-
private setupMiddleware;
|
|
25
|
-
private setupRoutes;
|
|
26
|
-
private handleStatelessRequest;
|
|
27
|
-
start(): void;
|
|
28
|
-
private setupShutdownHandlers;
|
|
29
|
-
shutdown(): void;
|
|
30
|
-
}
|
|
31
|
-
export {};
|
|
32
|
-
//# sourceMappingURL=stateless-streamable-http.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"stateless-streamable-http.d.ts","sourceRoot":"","sources":["../../src/runtime/stateless-streamable-http.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AACjE,OAAgB,EAKd,cAAc,EACf,MAAM,SAAS,CAAC;AAKjB,OAAO,EAGL,8BAA8B,EAC/B,MAAM,wBAAwB,CAAC;AAKhC,KAAK,WAAW,GAAG;IACjB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,OAAO,CAAC;IACrC,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC5B,cAAc,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IACnC,cAAc,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IACnC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AA8OF,qBAAa,gCAAgC;IAC3C,OAAO,CAAC,GAAG,CAAU;IACrB,OAAO,CAAC,MAAM,CAAc;IAC5B,OAAO,CAAC,IAAI,CAAS;IACrB,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,KAAK,CAAU;IACvB,OAAO,CAAC,OAAO,CAAiC;IAChD,OAAO,CAAC,cAAc,CAA2B;IACjD,OAAO,CAAC,WAAW,CAAc;IACjC,OAAO,CAAC,UAAU,CAA6B;gBAG7C,cAAc,EAAE,MAAM,OAAO,CAAC,SAAS,CAAC,EACxC,OAAO,EAAE,8BAA8B,YAAK,EAC5C,WAAW,EAAE,WAAW,YAAK,EAC7B,UAAU,EAAE,cAAc,GAAG,SAAS;IAoBxC,OAAO,CAAC,GAAG;IAMX,OAAO,CAAC,eAAe;IAuDvB,OAAO,CAAC,WAAW;YAuBL,sBAAsB;IAuC7B,KAAK,IAAI,IAAI;IAqBpB,OAAO,CAAC,qBAAqB;IAKtB,QAAQ,IAAI,IAAI;CAKxB"}
|
package/dist/runtime/stdio.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"stdio.d.ts","sourceRoot":"","sources":["../../src/runtime/stdio.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"streamable-http.d.ts","sourceRoot":"","sources":["../../src/runtime/streamable-http.ts"],"names":[],"mappings":""}
|
|
@@ -1,250 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* accepts
|
|
3
|
-
* Copyright(c) 2014 Jonathan Ong
|
|
4
|
-
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
5
|
-
* MIT Licensed
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
/*!
|
|
9
|
-
* body-parser
|
|
10
|
-
* Copyright(c) 2014 Jonathan Ong
|
|
11
|
-
* Copyright(c) 2014-2015 Douglas Christopher Wilson
|
|
12
|
-
* MIT Licensed
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
/*!
|
|
16
|
-
* body-parser
|
|
17
|
-
* Copyright(c) 2014-2015 Douglas Christopher Wilson
|
|
18
|
-
* MIT Licensed
|
|
19
|
-
*/
|
|
20
|
-
|
|
21
|
-
/*!
|
|
22
|
-
* bytes
|
|
23
|
-
* Copyright(c) 2012-2014 TJ Holowaychuk
|
|
24
|
-
* Copyright(c) 2015 Jed Watson
|
|
25
|
-
* MIT Licensed
|
|
26
|
-
*/
|
|
27
|
-
|
|
28
|
-
/*!
|
|
29
|
-
* content-disposition
|
|
30
|
-
* Copyright(c) 2014-2017 Douglas Christopher Wilson
|
|
31
|
-
* MIT Licensed
|
|
32
|
-
*/
|
|
33
|
-
|
|
34
|
-
/*!
|
|
35
|
-
* content-type
|
|
36
|
-
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
37
|
-
* MIT Licensed
|
|
38
|
-
*/
|
|
39
|
-
|
|
40
|
-
/*!
|
|
41
|
-
* cookie
|
|
42
|
-
* Copyright(c) 2012-2014 Roman Shtylman
|
|
43
|
-
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
44
|
-
* MIT Licensed
|
|
45
|
-
*/
|
|
46
|
-
|
|
47
|
-
/*!
|
|
48
|
-
* depd
|
|
49
|
-
* Copyright(c) 2014-2018 Douglas Christopher Wilson
|
|
50
|
-
* MIT Licensed
|
|
51
|
-
*/
|
|
52
|
-
|
|
53
|
-
/*!
|
|
54
|
-
* destroy
|
|
55
|
-
* Copyright(c) 2014 Jonathan Ong
|
|
56
|
-
* Copyright(c) 2015-2022 Douglas Christopher Wilson
|
|
57
|
-
* MIT Licensed
|
|
58
|
-
*/
|
|
59
|
-
|
|
60
|
-
/*!
|
|
61
|
-
* ee-first
|
|
62
|
-
* Copyright(c) 2014 Jonathan Ong
|
|
63
|
-
* MIT Licensed
|
|
64
|
-
*/
|
|
65
|
-
|
|
66
|
-
/*!
|
|
67
|
-
* encodeurl
|
|
68
|
-
* Copyright(c) 2016 Douglas Christopher Wilson
|
|
69
|
-
* MIT Licensed
|
|
70
|
-
*/
|
|
71
|
-
|
|
72
|
-
/*!
|
|
73
|
-
* escape-html
|
|
74
|
-
* Copyright(c) 2012-2013 TJ Holowaychuk
|
|
75
|
-
* Copyright(c) 2015 Andreas Lubbe
|
|
76
|
-
* Copyright(c) 2015 Tiancheng "Timothy" Gu
|
|
77
|
-
* MIT Licensed
|
|
78
|
-
*/
|
|
79
|
-
|
|
80
|
-
/*!
|
|
81
|
-
* etag
|
|
82
|
-
* Copyright(c) 2014-2016 Douglas Christopher Wilson
|
|
83
|
-
* MIT Licensed
|
|
84
|
-
*/
|
|
85
|
-
|
|
86
|
-
/*!
|
|
87
|
-
* express
|
|
88
|
-
* Copyright(c) 2009-2013 TJ Holowaychuk
|
|
89
|
-
* Copyright(c) 2013 Roman Shtylman
|
|
90
|
-
* Copyright(c) 2014-2015 Douglas Christopher Wilson
|
|
91
|
-
* MIT Licensed
|
|
92
|
-
*/
|
|
93
|
-
|
|
94
|
-
/*!
|
|
95
|
-
* express
|
|
96
|
-
* Copyright(c) 2009-2013 TJ Holowaychuk
|
|
97
|
-
* Copyright(c) 2014-2015 Douglas Christopher Wilson
|
|
98
|
-
* MIT Licensed
|
|
99
|
-
*/
|
|
100
|
-
|
|
101
|
-
/*!
|
|
102
|
-
* finalhandler
|
|
103
|
-
* Copyright(c) 2014-2022 Douglas Christopher Wilson
|
|
104
|
-
* MIT Licensed
|
|
105
|
-
*/
|
|
106
|
-
|
|
107
|
-
/*!
|
|
108
|
-
* forwarded
|
|
109
|
-
* Copyright(c) 2014-2017 Douglas Christopher Wilson
|
|
110
|
-
* MIT Licensed
|
|
111
|
-
*/
|
|
112
|
-
|
|
113
|
-
/*!
|
|
114
|
-
* fresh
|
|
115
|
-
* Copyright(c) 2012 TJ Holowaychuk
|
|
116
|
-
* Copyright(c) 2016-2017 Douglas Christopher Wilson
|
|
117
|
-
* MIT Licensed
|
|
118
|
-
*/
|
|
119
|
-
|
|
120
|
-
/*!
|
|
121
|
-
* http-errors
|
|
122
|
-
* Copyright(c) 2014 Jonathan Ong
|
|
123
|
-
* Copyright(c) 2016 Douglas Christopher Wilson
|
|
124
|
-
* MIT Licensed
|
|
125
|
-
*/
|
|
126
|
-
|
|
127
|
-
/*!
|
|
128
|
-
* media-typer
|
|
129
|
-
* Copyright(c) 2014 Douglas Christopher Wilson
|
|
130
|
-
* MIT Licensed
|
|
131
|
-
*/
|
|
132
|
-
|
|
133
|
-
/*!
|
|
134
|
-
* merge-descriptors
|
|
135
|
-
* Copyright(c) 2014 Jonathan Ong
|
|
136
|
-
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
137
|
-
* MIT Licensed
|
|
138
|
-
*/
|
|
139
|
-
|
|
140
|
-
/*!
|
|
141
|
-
* methods
|
|
142
|
-
* Copyright(c) 2013-2014 TJ Holowaychuk
|
|
143
|
-
* Copyright(c) 2015-2016 Douglas Christopher Wilson
|
|
144
|
-
* MIT Licensed
|
|
145
|
-
*/
|
|
146
|
-
|
|
147
|
-
/*!
|
|
148
|
-
* mime-db
|
|
149
|
-
* Copyright(c) 2014 Jonathan Ong
|
|
150
|
-
* Copyright(c) 2015-2022 Douglas Christopher Wilson
|
|
151
|
-
* MIT Licensed
|
|
152
|
-
*/
|
|
153
|
-
|
|
154
|
-
/*!
|
|
155
|
-
* mime-types
|
|
156
|
-
* Copyright(c) 2014 Jonathan Ong
|
|
157
|
-
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
158
|
-
* MIT Licensed
|
|
159
|
-
*/
|
|
160
|
-
|
|
161
|
-
/*!
|
|
162
|
-
* negotiator
|
|
163
|
-
* Copyright(c) 2012 Federico Romero
|
|
164
|
-
* Copyright(c) 2012-2014 Isaac Z. Schlueter
|
|
165
|
-
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
166
|
-
* MIT Licensed
|
|
167
|
-
*/
|
|
168
|
-
|
|
169
|
-
/*!
|
|
170
|
-
* on-finished
|
|
171
|
-
* Copyright(c) 2013 Jonathan Ong
|
|
172
|
-
* Copyright(c) 2014 Douglas Christopher Wilson
|
|
173
|
-
* MIT Licensed
|
|
174
|
-
*/
|
|
175
|
-
|
|
176
|
-
/*!
|
|
177
|
-
* parseurl
|
|
178
|
-
* Copyright(c) 2014 Jonathan Ong
|
|
179
|
-
* Copyright(c) 2014-2017 Douglas Christopher Wilson
|
|
180
|
-
* MIT Licensed
|
|
181
|
-
*/
|
|
182
|
-
|
|
183
|
-
/*!
|
|
184
|
-
* proxy-addr
|
|
185
|
-
* Copyright(c) 2014-2016 Douglas Christopher Wilson
|
|
186
|
-
* MIT Licensed
|
|
187
|
-
*/
|
|
188
|
-
|
|
189
|
-
/*!
|
|
190
|
-
* range-parser
|
|
191
|
-
* Copyright(c) 2012-2014 TJ Holowaychuk
|
|
192
|
-
* Copyright(c) 2015-2016 Douglas Christopher Wilson
|
|
193
|
-
* MIT Licensed
|
|
194
|
-
*/
|
|
195
|
-
|
|
196
|
-
/*!
|
|
197
|
-
* raw-body
|
|
198
|
-
* Copyright(c) 2013-2014 Jonathan Ong
|
|
199
|
-
* Copyright(c) 2014-2022 Douglas Christopher Wilson
|
|
200
|
-
* MIT Licensed
|
|
201
|
-
*/
|
|
202
|
-
|
|
203
|
-
/*!
|
|
204
|
-
* send
|
|
205
|
-
* Copyright(c) 2012 TJ Holowaychuk
|
|
206
|
-
* Copyright(c) 2014-2022 Douglas Christopher Wilson
|
|
207
|
-
* MIT Licensed
|
|
208
|
-
*/
|
|
209
|
-
|
|
210
|
-
/*!
|
|
211
|
-
* serve-static
|
|
212
|
-
* Copyright(c) 2010 Sencha Inc.
|
|
213
|
-
* Copyright(c) 2011 TJ Holowaychuk
|
|
214
|
-
* Copyright(c) 2014-2016 Douglas Christopher Wilson
|
|
215
|
-
* MIT Licensed
|
|
216
|
-
*/
|
|
217
|
-
|
|
218
|
-
/*!
|
|
219
|
-
* statuses
|
|
220
|
-
* Copyright(c) 2014 Jonathan Ong
|
|
221
|
-
* Copyright(c) 2016 Douglas Christopher Wilson
|
|
222
|
-
* MIT Licensed
|
|
223
|
-
*/
|
|
224
|
-
|
|
225
|
-
/*!
|
|
226
|
-
* toidentifier
|
|
227
|
-
* Copyright(c) 2016 Douglas Christopher Wilson
|
|
228
|
-
* MIT Licensed
|
|
229
|
-
*/
|
|
230
|
-
|
|
231
|
-
/*!
|
|
232
|
-
* type-is
|
|
233
|
-
* Copyright(c) 2014 Jonathan Ong
|
|
234
|
-
* Copyright(c) 2014-2015 Douglas Christopher Wilson
|
|
235
|
-
* MIT Licensed
|
|
236
|
-
*/
|
|
237
|
-
|
|
238
|
-
/*!
|
|
239
|
-
* unpipe
|
|
240
|
-
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
241
|
-
* MIT Licensed
|
|
242
|
-
*/
|
|
243
|
-
|
|
244
|
-
/*!
|
|
245
|
-
* vary
|
|
246
|
-
* Copyright(c) 2014-2017 Douglas Christopher Wilson
|
|
247
|
-
* MIT Licensed
|
|
248
|
-
*/
|
|
249
|
-
|
|
250
|
-
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
package/dist/templates/home.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"home.d.ts","sourceRoot":"","sources":["../../src/templates/home.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,YAAY,GAAI,UAAU,MAAM,WA8CrC,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"middleware.d.ts","sourceRoot":"","sources":["../../src/types/middleware.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,SAAS,CAAC;AAE9C,MAAM,MAAM,UAAU,GAAG,cAAc,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/utils/constants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,UAAU,CAAC;AACrC,eAAO,MAAM,iBAAiB,QAA0C,CAAC;AAEzE,eAAO,MAAM,aAAa,QAAgB,CAAC;AAC3C,eAAO,MAAM,UAAU,QAAmC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fs-utils.d.ts","sourceRoot":"","sources":["../../src/utils/fs-utils.ts"],"names":[],"mappings":"AAEA,wBAAgB,YAAY,CAAC,UAAU,EAAE,MAAM,QAI9C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generate-import-code.d.ts","sourceRoot":"","sources":["../../src/utils/generate-import-code.ts"],"names":[],"mappings":"AAAA,wBAAgB,kBAAkB,CAChC,QAAQ,EAAE,MAAM,EAAE,EAClB,aAAa,EAAE,OAAO,GACrB,MAAM,CAmBR"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-webpack-config.d.ts","sourceRoot":"","sources":["../../src/utils/get-webpack-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,aAAa,EAA+B,MAAM,SAAS,CAAC;AAK/E,OAAO,EAAE,YAAY,EAAE,MAAM,IAAI,CAAC;AAClC,OAAO,EAOL,UAAU,EACX,MAAM,gBAAgB,CAAC;AAYxB,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,YAAY,EAClB,UAAU,EAAE,UAAU,GACrB,aAAa,CAoJf"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"parse-config.d.ts","sourceRoot":"","sources":["../../src/utils/parse-config.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,gBAAgB,OAAO,CAAC;AACrC,eAAO,MAAM,2BAA2B,QAAmB,CAAC;AAE5D,eAAO,MAAM,4BAA4B,OAAO,CAAC;AACjD,eAAO,MAAM,uCAAuC,QAAmB,CAAC;AACxE,eAAO,MAAM,gCAAgC,SAAS,CAAC;AACvD,eAAO,MAAM,iCAAiC,OAAO,CAAC;AAYtD,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4BhB,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAgBtD,wBAAgB,SAAS,CAAC,cAAc,EAAE,MAAM,GAAG,UAAU,CAW5D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"spawn-process.d.ts","sourceRoot":"","sources":["../../src/utils/spawn-process.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,YAAY,EAAS,MAAM,eAAe,CAAC;AAyBpD;;;;;;GAMG;AACH,eAAO,MAAM,QAAQ,GAAI,OAAO,YAAY,iBAU3C,CAAC"}
|
|
File without changes
|