@supacloud/compiler 0.29.0 → 0.30.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/dist/cli.js +847 -10699
- 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/index.js +1114 -11040
- package/dist/inspect.d.ts +6 -0
- package/dist/types.d.ts +4 -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. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@supacloud/compiler",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.30.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",
|