@supainc/supacatch-tanstack-start 0.1.0-alpha.6
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/LICENSE +21 -0
- package/README.md +9 -0
- package/dist/client.d.ts +11 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/client.js +16 -0
- package/dist/client.js.map +1 -0
- package/dist/server.d.ts +12 -0
- package/dist/server.d.ts.map +1 -0
- package/dist/server.js +47 -0
- package/dist/server.js.map +1 -0
- package/dist/types.d.ts +45 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +2 -0
- package/dist/types.js.map +1 -0
- package/package.json +46 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Supa, Inc.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# `@supainc/supacatch-tanstack-start`
|
|
2
|
+
|
|
3
|
+
Error capture middleware and server wrappers for TanStack Start.
|
|
4
|
+
|
|
5
|
+
```sh
|
|
6
|
+
npm install @supainc/supacatch-tanstack-start@alpha
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
See the [SupaCatch JavaScript SDK documentation](https://github.com/supainc/supacatch-js#readme) for usage.
|
package/dist/client.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { SdkConfig } from "@supainc/supacatch-core";
|
|
2
|
+
import type { SupaCatchFunctionMiddleware, SupaCatchRequestMiddleware, TanStackServerEntry } from "./types.js";
|
|
3
|
+
/** Browser no-op for the server-only request middleware. */
|
|
4
|
+
export declare const supaCatchGlobalRequestMiddleware: SupaCatchRequestMiddleware;
|
|
5
|
+
/** Browser no-op for the server-only Server Function middleware. */
|
|
6
|
+
export declare const supaCatchGlobalFunctionMiddleware: SupaCatchFunctionMiddleware;
|
|
7
|
+
/** Browser no-op for the server entry wrapper. */
|
|
8
|
+
export declare function withSupaCatch<Entry extends TanStackServerEntry>(serverEntry: Entry): Entry;
|
|
9
|
+
export declare function withSupaCatch<Env, Entry extends TanStackServerEntry>(config: (env: Env) => SdkConfig, serverEntry: Entry): Entry;
|
|
10
|
+
export type { SupaCatchFunctionMiddleware, SupaCatchRequestMiddleware, TanStackServerEntry, } from "./types.js";
|
|
11
|
+
//# sourceMappingURL=client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,KAAK,EACV,2BAA2B,EAC3B,0BAA0B,EAC1B,mBAAmB,EACpB,MAAM,YAAY,CAAC;AAEpB,4DAA4D;AAC5D,eAAO,MAAM,gCAAgC,EAAE,0BAI9C,CAAC;AAEF,oEAAoE;AACpE,eAAO,MAAM,iCAAiC,EAAE,2BAI/C,CAAC;AAEF,kDAAkD;AAClD,wBAAgB,aAAa,CAAC,KAAK,SAAS,mBAAmB,EAAE,WAAW,EAAE,KAAK,GAAG,KAAK,CAAC;AAC5F,wBAAgB,aAAa,CAAC,GAAG,EAAE,KAAK,SAAS,mBAAmB,EAClE,MAAM,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,SAAS,EAC/B,WAAW,EAAE,KAAK,GACjB,KAAK,CAAC;AAOT,YAAY,EACV,2BAA2B,EAC3B,0BAA0B,EAC1B,mBAAmB,GACpB,MAAM,YAAY,CAAC"}
|
package/dist/client.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/** Browser no-op for the server-only request middleware. */
|
|
2
|
+
export const supaCatchGlobalRequestMiddleware = {
|
|
3
|
+
"~types": undefined,
|
|
4
|
+
_types: undefined,
|
|
5
|
+
options: {},
|
|
6
|
+
};
|
|
7
|
+
/** Browser no-op for the server-only Server Function middleware. */
|
|
8
|
+
export const supaCatchGlobalFunctionMiddleware = {
|
|
9
|
+
"~types": undefined,
|
|
10
|
+
_types: undefined,
|
|
11
|
+
options: {},
|
|
12
|
+
};
|
|
13
|
+
export function withSupaCatch(...args) {
|
|
14
|
+
return args.length === 1 ? args[0] : args[1];
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.js","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAOA,4DAA4D;AAC5D,MAAM,CAAC,MAAM,gCAAgC,GAA+B;IAC1E,QAAQ,EAAE,SAA4D;IACtE,MAAM,EAAE,SAA4D;IACpE,OAAO,EAAE,EAAE;CACZ,CAAC;AAEF,oEAAoE;AACpE,MAAM,CAAC,MAAM,iCAAiC,GAAgC;IAC5E,QAAQ,EAAE,SAA6D;IACvE,MAAM,EAAE,SAA6D;IACrE,OAAO,EAAE,EAAE;CACZ,CAAC;AAQF,MAAM,UAAU,aAAa,CAC3B,GAAG,IAAgD;IAEnD,OAAO,IAAI,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAC/C,CAAC"}
|
package/dist/server.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { SdkConfig } from "@supainc/supacatch-core";
|
|
2
|
+
import { type CloudflareWorker } from "@supainc/supacatch-cloudflare";
|
|
3
|
+
import type { SupaCatchFunctionMiddleware, SupaCatchRequestMiddleware, TanStackServerEntry } from "./types.js";
|
|
4
|
+
/** Captures failures escaping TanStack Start request middleware. */
|
|
5
|
+
export declare const supaCatchGlobalRequestMiddleware: SupaCatchRequestMiddleware;
|
|
6
|
+
/** Captures failures escaping TanStack Start Server Function middleware. */
|
|
7
|
+
export declare const supaCatchGlobalFunctionMiddleware: SupaCatchFunctionMiddleware;
|
|
8
|
+
/** Captures failures escaping a TanStack Start server entry. Pass a config function for Cloudflare Workers. */
|
|
9
|
+
export declare function withSupaCatch<Entry extends TanStackServerEntry>(serverEntry: Entry): Entry;
|
|
10
|
+
export declare function withSupaCatch<Env, Entry extends TanStackServerEntry>(config: (env: Env) => SdkConfig, serverEntry: Entry): Omit<Entry, "fetch"> & CloudflareWorker<Env>;
|
|
11
|
+
export type { SupaCatchFunctionMiddleware, SupaCatchRequestMiddleware, TanStackServerEntry, } from "./types.js";
|
|
12
|
+
//# sourceMappingURL=server.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAEzD,OAAO,EAAa,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEjF,OAAO,KAAK,EACV,2BAA2B,EAC3B,0BAA0B,EAC1B,mBAAmB,EACpB,MAAM,YAAY,CAAC;AAkBpB,oEAAoE;AACpE,eAAO,MAAM,gCAAgC,EAAE,0BAI9C,CAAC;AAEF,4EAA4E;AAC5E,eAAO,MAAM,iCAAiC,EAAE,2BAI/C,CAAC;AAgBF,+GAA+G;AAC/G,wBAAgB,aAAa,CAAC,KAAK,SAAS,mBAAmB,EAAE,WAAW,EAAE,KAAK,GAAG,KAAK,CAAC;AAC5F,wBAAgB,aAAa,CAAC,GAAG,EAAE,KAAK,SAAS,mBAAmB,EAClE,MAAM,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,SAAS,EAC/B,WAAW,EAAE,KAAK,GACjB,IAAI,CAAC,KAAK,EAAE,OAAO,CAAC,GAAG,gBAAgB,CAAC,GAAG,CAAC,CAAC;AAWhD,YAAY,EACV,2BAA2B,EAC3B,0BAA0B,EAC1B,mBAAmB,GACpB,MAAM,YAAY,CAAC"}
|
package/dist/server.js
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { captureAutomatic } from "@supainc/supacatch-core/adapter";
|
|
2
|
+
import { withCatch } from "@supainc/supacatch-cloudflare";
|
|
3
|
+
import { Effect } from "effect";
|
|
4
|
+
const captureException = (value) => Effect.runPromise(captureAutomatic(value).pipe(Effect.ignoreCause));
|
|
5
|
+
const captureMiddlewareException = async ({ next }) => {
|
|
6
|
+
try {
|
|
7
|
+
return await next();
|
|
8
|
+
}
|
|
9
|
+
catch (error) {
|
|
10
|
+
await captureException(error);
|
|
11
|
+
throw error;
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
/** Captures failures escaping TanStack Start request middleware. */
|
|
15
|
+
export const supaCatchGlobalRequestMiddleware = {
|
|
16
|
+
"~types": undefined,
|
|
17
|
+
_types: undefined,
|
|
18
|
+
options: { server: captureMiddlewareException },
|
|
19
|
+
};
|
|
20
|
+
/** Captures failures escaping TanStack Start Server Function middleware. */
|
|
21
|
+
export const supaCatchGlobalFunctionMiddleware = {
|
|
22
|
+
"~types": undefined,
|
|
23
|
+
_types: undefined,
|
|
24
|
+
options: { server: captureMiddlewareException },
|
|
25
|
+
};
|
|
26
|
+
const wrapServerEntry = (serverEntry) => ({
|
|
27
|
+
...serverEntry,
|
|
28
|
+
fetch: new Proxy(serverEntry.fetch, {
|
|
29
|
+
apply: async (target, thisArgument, argumentsList) => {
|
|
30
|
+
try {
|
|
31
|
+
return await Reflect.apply(target, thisArgument, argumentsList);
|
|
32
|
+
}
|
|
33
|
+
catch (error) {
|
|
34
|
+
await captureException(error);
|
|
35
|
+
throw error;
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
}),
|
|
39
|
+
});
|
|
40
|
+
export function withSupaCatch(...args) {
|
|
41
|
+
if (args.length === 1) {
|
|
42
|
+
return wrapServerEntry(args[0]);
|
|
43
|
+
}
|
|
44
|
+
const [config, serverEntry] = args;
|
|
45
|
+
return withCatch(config, wrapServerEntry(serverEntry));
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=server.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"server.js","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,SAAS,EAAyB,MAAM,+BAA+B,CAAC;AACjF,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAWhC,MAAM,gBAAgB,GAAG,CAAC,KAAc,EAAiB,EAAE,CACzD,MAAM,CAAC,UAAU,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC;AAEtE,MAAM,0BAA0B,GAAG,KAAK,EAAE,EAAE,IAAI,EAAqB,EAAoB,EAAE;IACzF,IAAI,CAAC;QACH,OAAO,MAAM,IAAI,EAAE,CAAC;IACtB,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,MAAM,gBAAgB,CAAC,KAAK,CAAC,CAAC;QAC9B,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC,CAAC;AAEF,oEAAoE;AACpE,MAAM,CAAC,MAAM,gCAAgC,GAA+B;IAC1E,QAAQ,EAAE,SAA4D;IACtE,MAAM,EAAE,SAA4D;IACpE,OAAO,EAAE,EAAE,MAAM,EAAE,0BAA0B,EAAE;CAChD,CAAC;AAEF,4EAA4E;AAC5E,MAAM,CAAC,MAAM,iCAAiC,GAAgC;IAC5E,QAAQ,EAAE,SAA6D;IACvE,MAAM,EAAE,SAA6D;IACrE,OAAO,EAAE,EAAE,MAAM,EAAE,0BAA0B,EAAE;CAChD,CAAC;AAEF,MAAM,eAAe,GAAG,CAAoC,WAAkB,EAAS,EAAE,CAAC,CAAC;IACzF,GAAG,WAAW;IACd,KAAK,EAAE,IAAI,KAAK,CAAC,WAAW,CAAC,KAAK,EAAE;QAClC,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,aAAa,EAAE,EAAE;YACnD,IAAI,CAAC;gBACH,OAAO,MAAM,OAAO,CAAC,KAAK,CAAC,MAAM,EAAE,YAAY,EAAE,aAAa,CAAC,CAAC;YAClE,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBACf,MAAM,gBAAgB,CAAC,KAAK,CAAC,CAAC;gBAC9B,MAAM,KAAK,CAAC;YACd,CAAC;QACH,CAAC;KACF,CAAC;CACH,CAAC,CAAC;AAQH,MAAM,UAAU,aAAa,CAC3B,GAAG,IAAgD;IAEnD,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACtB,OAAO,eAAe,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;IAClC,CAAC;IACD,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,GAAG,IAAI,CAAC;IACnC,OAAO,SAAS,CAAC,MAAM,EAAE,eAAe,CAAC,WAAW,CAAC,CAAC,CAAC;AACzD,CAAC"}
|
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
type RequestMiddlewareTypes = {
|
|
2
|
+
readonly type: "request";
|
|
3
|
+
readonly middlewares: undefined;
|
|
4
|
+
readonly allInput: undefined;
|
|
5
|
+
readonly allOutput: undefined;
|
|
6
|
+
readonly serverContext: undefined;
|
|
7
|
+
readonly allServerContext: undefined;
|
|
8
|
+
};
|
|
9
|
+
type FunctionMiddlewareTypes = {
|
|
10
|
+
readonly type: "function";
|
|
11
|
+
readonly middlewares: undefined;
|
|
12
|
+
readonly input: undefined;
|
|
13
|
+
readonly allInput: undefined;
|
|
14
|
+
readonly output: undefined;
|
|
15
|
+
readonly allOutput: undefined;
|
|
16
|
+
readonly clientContext: undefined;
|
|
17
|
+
readonly allClientContextBeforeNext: undefined;
|
|
18
|
+
readonly allClientContextAfterNext: undefined;
|
|
19
|
+
readonly serverContext: undefined;
|
|
20
|
+
readonly serverSendContext: undefined;
|
|
21
|
+
readonly allServerSendContext: undefined;
|
|
22
|
+
readonly allServerContext: undefined;
|
|
23
|
+
readonly clientSendContext: undefined;
|
|
24
|
+
readonly allClientSendContext: undefined;
|
|
25
|
+
readonly validator: undefined;
|
|
26
|
+
readonly inputValidator: undefined;
|
|
27
|
+
};
|
|
28
|
+
type TanStackMiddlewareOptions = {
|
|
29
|
+
readonly server?: (...arguments_: Array<any>) => any;
|
|
30
|
+
};
|
|
31
|
+
export type SupaCatchRequestMiddleware = {
|
|
32
|
+
readonly "~types": RequestMiddlewareTypes;
|
|
33
|
+
readonly _types: RequestMiddlewareTypes;
|
|
34
|
+
readonly options: TanStackMiddlewareOptions;
|
|
35
|
+
};
|
|
36
|
+
export type SupaCatchFunctionMiddleware = {
|
|
37
|
+
readonly "~types": FunctionMiddlewareTypes;
|
|
38
|
+
readonly _types: FunctionMiddlewareTypes;
|
|
39
|
+
readonly options: TanStackMiddlewareOptions;
|
|
40
|
+
};
|
|
41
|
+
export type TanStackServerEntry = {
|
|
42
|
+
readonly fetch: (...arguments_: Array<any>) => Response | Promise<Response>;
|
|
43
|
+
};
|
|
44
|
+
export {};
|
|
45
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,KAAK,sBAAsB,GAAG;IAC5B,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAC;IACzB,QAAQ,CAAC,WAAW,EAAE,SAAS,CAAC;IAChC,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAC;IAC7B,QAAQ,CAAC,SAAS,EAAE,SAAS,CAAC;IAC9B,QAAQ,CAAC,aAAa,EAAE,SAAS,CAAC;IAClC,QAAQ,CAAC,gBAAgB,EAAE,SAAS,CAAC;CACtC,CAAC;AAEF,KAAK,uBAAuB,GAAG;IAC7B,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;IAC1B,QAAQ,CAAC,WAAW,EAAE,SAAS,CAAC;IAChC,QAAQ,CAAC,KAAK,EAAE,SAAS,CAAC;IAC1B,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAC;IAC7B,QAAQ,CAAC,MAAM,EAAE,SAAS,CAAC;IAC3B,QAAQ,CAAC,SAAS,EAAE,SAAS,CAAC;IAC9B,QAAQ,CAAC,aAAa,EAAE,SAAS,CAAC;IAClC,QAAQ,CAAC,0BAA0B,EAAE,SAAS,CAAC;IAC/C,QAAQ,CAAC,yBAAyB,EAAE,SAAS,CAAC;IAC9C,QAAQ,CAAC,aAAa,EAAE,SAAS,CAAC;IAClC,QAAQ,CAAC,iBAAiB,EAAE,SAAS,CAAC;IACtC,QAAQ,CAAC,oBAAoB,EAAE,SAAS,CAAC;IACzC,QAAQ,CAAC,gBAAgB,EAAE,SAAS,CAAC;IACrC,QAAQ,CAAC,iBAAiB,EAAE,SAAS,CAAC;IACtC,QAAQ,CAAC,oBAAoB,EAAE,SAAS,CAAC;IACzC,QAAQ,CAAC,SAAS,EAAE,SAAS,CAAC;IAC9B,QAAQ,CAAC,cAAc,EAAE,SAAS,CAAC;CACpC,CAAC;AAEF,KAAK,yBAAyB,GAAG;IAC/B,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC,GAAG,UAAU,EAAE,KAAK,CAAC,GAAG,CAAC,KAAK,GAAG,CAAC;CACtD,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACvC,QAAQ,CAAC,QAAQ,EAAE,sBAAsB,CAAC;IAC1C,QAAQ,CAAC,MAAM,EAAE,sBAAsB,CAAC;IACxC,QAAQ,CAAC,OAAO,EAAE,yBAAyB,CAAC;CAC7C,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG;IACxC,QAAQ,CAAC,QAAQ,EAAE,uBAAuB,CAAC;IAC3C,QAAQ,CAAC,MAAM,EAAE,uBAAuB,CAAC;IACzC,QAAQ,CAAC,OAAO,EAAE,yBAAyB,CAAC;CAC7C,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,CAAC,KAAK,EAAE,CAAC,GAAG,UAAU,EAAE,KAAK,CAAC,GAAG,CAAC,KAAK,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;CAC7E,CAAC"}
|
package/dist/types.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":""}
|
package/package.json
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@supainc/supacatch-tanstack-start",
|
|
3
|
+
"version": "0.1.0-alpha.6",
|
|
4
|
+
"description": "SupaCatch SDK for TanStack Start",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/supainc/supacatch-js.git",
|
|
9
|
+
"directory": "packages/tanstack-start"
|
|
10
|
+
},
|
|
11
|
+
"files": [
|
|
12
|
+
"dist"
|
|
13
|
+
],
|
|
14
|
+
"type": "module",
|
|
15
|
+
"sideEffects": false,
|
|
16
|
+
"exports": {
|
|
17
|
+
".": {
|
|
18
|
+
"types": "./dist/server.d.ts",
|
|
19
|
+
"workerd": "./dist/server.js",
|
|
20
|
+
"worker": "./dist/server.js",
|
|
21
|
+
"browser": "./dist/client.js",
|
|
22
|
+
"node": "./dist/server.js",
|
|
23
|
+
"bun": "./dist/server.js",
|
|
24
|
+
"import": "./dist/server.js"
|
|
25
|
+
},
|
|
26
|
+
"./package.json": "./package.json"
|
|
27
|
+
},
|
|
28
|
+
"publishConfig": {
|
|
29
|
+
"access": "public",
|
|
30
|
+
"provenance": true
|
|
31
|
+
},
|
|
32
|
+
"scripts": {
|
|
33
|
+
"build": "tsc -b tsconfig.build.json",
|
|
34
|
+
"publint": "publint"
|
|
35
|
+
},
|
|
36
|
+
"dependencies": {
|
|
37
|
+
"@supainc/supacatch-cloudflare": "0.1.0-alpha.6",
|
|
38
|
+
"@supainc/supacatch-core": "0.1.0-alpha.6"
|
|
39
|
+
},
|
|
40
|
+
"peerDependencies": {
|
|
41
|
+
"effect": "4.0.0-beta.103"
|
|
42
|
+
},
|
|
43
|
+
"engines": {
|
|
44
|
+
"node": ">=20.19.0"
|
|
45
|
+
}
|
|
46
|
+
}
|