@supacloud/compiler 0.41.0 → 0.42.1
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/analyze.d.ts +2 -2
- package/dist/cli.js +886 -10601
- package/dist/delivery-bundle-worker.js +655 -10608
- package/dist/index.js +1178 -10893
- package/dist/migration-app-version.d.ts +1 -1
- package/dist/migration-elysia-version.d.ts +1 -1
- package/dist/types.d.ts +10 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const MIGRATION_APP_VERSION = "0.24.
|
|
1
|
+
export declare const MIGRATION_APP_VERSION = "0.24.1";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const MIGRATION_ELYSIA_VERSION = "0.
|
|
1
|
+
export declare const MIGRATION_ELYSIA_VERSION = "0.29.0";
|
package/dist/types.d.ts
CHANGED
|
@@ -456,6 +456,16 @@ export interface EffectCompilerOptions {
|
|
|
456
456
|
requireErrorMappings?: boolean;
|
|
457
457
|
/** Require an explicit dependency list for Effect environments. */
|
|
458
458
|
requireDependencies?: boolean;
|
|
459
|
+
/** Reject unknown/any failures and require a tagged failure union. */
|
|
460
|
+
requireTaggedErrorTypes?: boolean;
|
|
461
|
+
/** Require effect.dependencies to exactly match the Effect environment type. */
|
|
462
|
+
requireExactDependencyTypes?: boolean;
|
|
463
|
+
/** Require a timeout whenever the route declares Effect dependencies. */
|
|
464
|
+
requireTimeoutForDependencies?: boolean;
|
|
465
|
+
/** Reject direct Effect.run* calls inside governed route handlers. */
|
|
466
|
+
forbidDirectRuntimeExecution?: boolean;
|
|
467
|
+
/** Reject direct throw statements inside governed route handlers. */
|
|
468
|
+
forbidDirectThrows?: boolean;
|
|
459
469
|
}
|
|
460
470
|
export interface GraphqlOptions {
|
|
461
471
|
/** Additionally emit standard TypedDocumentNode artifacts for GraphQL ecosystem clients. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@supacloud/compiler",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.42.1",
|
|
4
4
|
"description": "Static compiler for @supacloud/app metadata: builds the application graph from AST, validates it, and generates reflection-free factory code",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|