@supacloud/compiler 0.29.0 → 0.31.0
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/README.md +9 -0
- package/dist/cli.js +861 -10701
- package/dist/delivery-bundle-worker.js +654 -10607
- package/dist/diagnostics.d.ts +22 -0
- package/dist/diagnostics.js +262 -2
- package/dist/fixes.d.ts +3 -0
- package/dist/graphql-schema-hashes.d.ts +5 -0
- package/dist/graphql-schema.d.ts +1 -0
- package/dist/index.js +1128 -11042
- package/dist/inspect.d.ts +6 -0
- package/dist/types.d.ts +6 -0
- package/package.json +1 -1
package/dist/inspect.d.ts
CHANGED
|
@@ -17,6 +17,12 @@ export interface ContextPack {
|
|
|
17
17
|
executionPlans: ExecutionPlan[];
|
|
18
18
|
routeContracts: ReturnType<typeof inspectRouteContracts>;
|
|
19
19
|
diagnostics: Diagnostic[];
|
|
20
|
+
conventions: {
|
|
21
|
+
singleResult: "async-await";
|
|
22
|
+
eventComposition: "rxjs";
|
|
23
|
+
angularHost: "@supacloud/app/angular";
|
|
24
|
+
cancellation: "explicit-owner-signal";
|
|
25
|
+
};
|
|
20
26
|
relatedModules: {
|
|
21
27
|
importedBy: string[];
|
|
22
28
|
imports: string[];
|
package/dist/types.d.ts
CHANGED
|
@@ -72,6 +72,10 @@ export interface Diagnostic {
|
|
|
72
72
|
message: string;
|
|
73
73
|
file?: string;
|
|
74
74
|
line?: number;
|
|
75
|
+
/** Zero-based source columns and optional end position for editor consumers. */
|
|
76
|
+
column?: number;
|
|
77
|
+
endLine?: number;
|
|
78
|
+
endColumn?: number;
|
|
75
79
|
/** Actionable Angular Ivy-style remediation hint. */
|
|
76
80
|
suggestion?: string;
|
|
77
81
|
/** Standardized compiler diagnostic code (e.g. SC1001) modeled after Angular ngtsc error codes. */
|
|
@@ -473,6 +477,8 @@ export interface OpenApiOptions {
|
|
|
473
477
|
export interface GraphqlContractSummary {
|
|
474
478
|
schema: string;
|
|
475
479
|
schemaHash?: string;
|
|
480
|
+
/** SHA-256 with physical CRLF/CR normalized to LF; not an integrity or semantic digest. */
|
|
481
|
+
schemaNormalizedHash?: string;
|
|
476
482
|
documents: string[];
|
|
477
483
|
operations: Array<{
|
|
478
484
|
name: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@supacloud/compiler",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.31.0",
|
|
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",
|