@reckona/mreact-compiler 0.0.81 → 0.0.83

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.
Files changed (39) hide show
  1. package/README.md +15 -0
  2. package/dist/boundary-graph.d.ts +66 -0
  3. package/dist/boundary-graph.d.ts.map +1 -0
  4. package/dist/boundary-graph.js +568 -0
  5. package/dist/boundary-graph.js.map +1 -0
  6. package/dist/emit-boundary-lowering.d.ts +43 -0
  7. package/dist/emit-boundary-lowering.d.ts.map +1 -0
  8. package/dist/emit-boundary-lowering.js +63 -0
  9. package/dist/emit-boundary-lowering.js.map +1 -0
  10. package/dist/emit-code-builder.d.ts +9 -0
  11. package/dist/emit-code-builder.d.ts.map +1 -0
  12. package/dist/emit-code-builder.js +17 -0
  13. package/dist/emit-code-builder.js.map +1 -0
  14. package/dist/emit-server-stream.d.ts.map +1 -1
  15. package/dist/emit-server-stream.js +64 -84
  16. package/dist/emit-server-stream.js.map +1 -1
  17. package/dist/emit-server.d.ts.map +1 -1
  18. package/dist/emit-server.js +12 -1
  19. package/dist/emit-server.js.map +1 -1
  20. package/dist/index.d.ts +3 -1
  21. package/dist/index.d.ts.map +1 -1
  22. package/dist/index.js +1 -0
  23. package/dist/index.js.map +1 -1
  24. package/dist/internal.d.ts +5 -0
  25. package/dist/internal.d.ts.map +1 -1
  26. package/dist/internal.js +14 -1
  27. package/dist/internal.js.map +1 -1
  28. package/dist/types.d.ts +16 -69
  29. package/dist/types.d.ts.map +1 -1
  30. package/dist/types.js.map +1 -1
  31. package/package.json +2 -2
  32. package/src/boundary-graph.ts +904 -0
  33. package/src/emit-boundary-lowering.ts +165 -0
  34. package/src/emit-code-builder.ts +27 -0
  35. package/src/emit-server-stream.ts +61 -152
  36. package/src/emit-server.ts +12 -1
  37. package/src/index.ts +16 -0
  38. package/src/internal.ts +25 -1
  39. package/src/types.ts +32 -79
package/dist/types.d.ts CHANGED
@@ -1,8 +1,9 @@
1
- export type CompileTarget = "client" | "server";
2
- export type ServerOutputMode = "string" | "stream";
3
- export type ServerBootstrapMode = "none" | "out-of-order-reorder";
1
+ import type { ClientReferenceMetadata as SharedClientReferenceMetadata, CompileTarget as SharedCompileTarget, CompilerFrontend as SharedCompilerFrontend, ComponentMetadata as SharedComponentMetadata, Diagnostic as SharedDiagnostic, DiagnosticSuggestion as SharedDiagnosticSuggestion, EventHydrationEntryMetadata as SharedEventHydrationEntryMetadata, EventHydrationManifestMetadata as SharedEventHydrationManifestMetadata, ModuleMetadata as SharedModuleMetadata, RuntimeImport as SharedRuntimeImport, ServerBootstrapMode as SharedServerBootstrapMode, ServerOutputMode as SharedServerOutputMode, SourceLocation as SharedSourceLocation, TransformOutput as SharedTransformOutput } from "@reckona/mreact-shared/compiler-contract";
2
+ export type CompileTarget = SharedCompileTarget;
3
+ export type ServerOutputMode = SharedServerOutputMode;
4
+ export type ServerBootstrapMode = SharedServerBootstrapMode;
4
5
  export type ParserMode = "oxc";
5
- export type CompilerFrontend = "oxc";
6
+ export type CompilerFrontend = SharedCompilerFrontend;
6
7
  export type BodyStatementJsxMode = "dom-node" | "compat-object" | "server-string" | "unsupported";
7
8
  export interface AnalyzeModuleOptions {
8
9
  topLevelJsx?: "diagnostic" | "compat-object" | "server-string";
@@ -35,69 +36,15 @@ export interface ServerEscapeOptions {
35
36
  batchImportName: string;
36
37
  batchImportSource: string;
37
38
  }
38
- export interface TransformOutput {
39
- code: string;
40
- map?: string | null;
41
- diagnostics: Diagnostic[];
42
- metadata: ModuleMetadata;
43
- }
44
- export interface Diagnostic {
45
- level: "info" | "warn" | "error";
46
- code: string;
47
- message: string;
48
- loc?: SourceLocation;
49
- suggestion?: DiagnosticSuggestion;
50
- }
51
- export interface DiagnosticSuggestion {
52
- title: string;
53
- replacement?: string;
54
- link?: string;
55
- }
56
- export interface SourceLocation {
57
- line: number;
58
- column: number;
59
- }
60
- export interface ModuleMetadata {
61
- filename: string;
62
- target: CompileTarget;
63
- compiler: CompilerMetadata;
64
- serverOutput?: ServerOutputMode;
65
- serverBootstrap?: ServerBootstrapMode;
66
- serverBootstrapNonce?: string;
67
- serverBootstrapSrc?: string;
68
- serverHydration?: boolean;
69
- reactSuspenseRevealScriptSrc?: string;
70
- components: ComponentMetadata[];
71
- imports: RuntimeImport[];
72
- clientReferences?: string[];
73
- clientReferenceManifest?: ClientReferenceMetadata[];
74
- serverReferences?: string[];
75
- eventHydrationManifest?: EventHydrationManifestMetadata;
76
- }
77
- export interface CompilerMetadata {
78
- frontend: CompilerFrontend;
79
- typescriptFallback: boolean;
80
- }
81
- export interface ClientReferenceMetadata {
82
- name: string;
83
- moduleId: string;
84
- exportName: string;
85
- }
86
- export interface ComponentMetadata {
87
- name: string;
88
- exportName: string;
89
- }
90
- export interface RuntimeImport {
91
- source: string;
92
- specifiers: string[];
93
- }
94
- export interface EventHydrationManifestMetadata {
95
- version: 1;
96
- events: EventHydrationEntryMetadata[];
97
- }
98
- export interface EventHydrationEntryMetadata {
99
- id: string;
100
- event: string;
101
- handler: string;
102
- }
39
+ export type TransformOutput = SharedTransformOutput;
40
+ export type Diagnostic = SharedDiagnostic;
41
+ export type DiagnosticSuggestion = SharedDiagnosticSuggestion;
42
+ export type SourceLocation = SharedSourceLocation;
43
+ export type ModuleMetadata = SharedModuleMetadata;
44
+ export type CompilerMetadata = SharedModuleMetadata["compiler"];
45
+ export type ClientReferenceMetadata = SharedClientReferenceMetadata;
46
+ export type ComponentMetadata = SharedComponentMetadata;
47
+ export type RuntimeImport = SharedRuntimeImport;
48
+ export type EventHydrationManifestMetadata = SharedEventHydrationManifestMetadata;
49
+ export type EventHydrationEntryMetadata = SharedEventHydrationEntryMetadata;
103
50
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAChD,MAAM,MAAM,gBAAgB,GAAG,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AAC;IAC1C,YAAY,CAAC,EAAE,mBAAmB,CAAC;IACnC,4BAA4B,CAAC,EAAE,MAAM,CAAC;CACvC;AAED,MAAM,WAAW,mBAAmB;IAClC,eAAe,EAAE,MAAM,CAAC;IACxB,iBAAiB,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,MAAM,eAAe,GAAG,qBAAqB,CAAC;AACpD,MAAM,MAAM,UAAU,GAAG,gBAAgB,CAAC;AAC1C,MAAM,MAAM,oBAAoB,GAAG,0BAA0B,CAAC;AAC9D,MAAM,MAAM,cAAc,GAAG,oBAAoB,CAAC;AAClD,MAAM,MAAM,cAAc,GAAG,oBAAoB,CAAC;AAClD,MAAM,MAAM,gBAAgB,GAAG,oBAAoB,CAAC,UAAU,CAAC,CAAC;AAChE,MAAM,MAAM,uBAAuB,GAAG,6BAA6B,CAAC;AACpE,MAAM,MAAM,iBAAiB,GAAG,uBAAuB,CAAC;AACxD,MAAM,MAAM,aAAa,GAAG,mBAAmB,CAAC;AAChD,MAAM,MAAM,8BAA8B,GAAG,oCAAoC,CAAC;AAClF,MAAM,MAAM,2BAA2B,GAAG,iCAAiC,CAAC"}
package/dist/types.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"","sourcesContent":["export type CompileTarget = \"client\" | \"server\";\nexport type ServerOutputMode = \"string\" | \"stream\";\nexport type ServerBootstrapMode = \"none\" | \"out-of-order-reorder\";\nexport type ParserMode = \"oxc\";\nexport type CompilerFrontend = \"oxc\";\n\nexport type BodyStatementJsxMode = \"dom-node\" | \"compat-object\" | \"server-string\" | \"unsupported\";\n\nexport interface AnalyzeModuleOptions {\n topLevelJsx?: \"diagnostic\" | \"compat-object\" | \"server-string\";\n bodyStatementJsx?: BodyStatementJsxMode;\n serverOutput?: ServerOutputMode;\n awaitCompatComponents?: \"diagnostic\" | \"lower\";\n clientBoundaryImports?: readonly string[];\n compatReactNodeReturn?: boolean;\n compatReactNodeReturnRenderMode?: \"react-node\";\n}\n\nexport interface TransformInput {\n code: string;\n filename: string;\n target: CompileTarget;\n dev: boolean;\n sourceMap?: boolean;\n mode?: \"auto\" | \"reactive\" | \"compat\";\n parser?: ParserMode;\n serverOutput?: ServerOutputMode;\n serverBootstrap?: ServerBootstrapMode;\n serverBootstrapNonce?: string;\n serverBootstrapSrc?: string;\n serverHydration?: boolean;\n serverAwaitHydration?: boolean;\n clientBoundaryImports?: readonly string[];\n serverEscape?: ServerEscapeOptions;\n reactSuspenseRevealScriptSrc?: string;\n}\n\nexport interface ServerEscapeOptions {\n batchImportName: string;\n batchImportSource: string;\n}\n\nexport interface TransformOutput {\n code: string;\n map?: string | null;\n diagnostics: Diagnostic[];\n metadata: ModuleMetadata;\n}\n\nexport interface Diagnostic {\n level: \"info\" | \"warn\" | \"error\";\n code: string;\n message: string;\n loc?: SourceLocation;\n suggestion?: DiagnosticSuggestion;\n}\n\nexport interface DiagnosticSuggestion {\n title: string;\n replacement?: string;\n link?: string;\n}\n\nexport interface SourceLocation {\n line: number;\n column: number;\n}\n\nexport interface ModuleMetadata {\n filename: string;\n target: CompileTarget;\n compiler: CompilerMetadata;\n serverOutput?: ServerOutputMode;\n serverBootstrap?: ServerBootstrapMode;\n serverBootstrapNonce?: string;\n serverBootstrapSrc?: string;\n serverHydration?: boolean;\n reactSuspenseRevealScriptSrc?: string;\n components: ComponentMetadata[];\n imports: RuntimeImport[];\n clientReferences?: string[];\n clientReferenceManifest?: ClientReferenceMetadata[];\n serverReferences?: string[];\n eventHydrationManifest?: EventHydrationManifestMetadata;\n}\n\nexport interface CompilerMetadata {\n frontend: CompilerFrontend;\n typescriptFallback: boolean;\n}\n\nexport interface ClientReferenceMetadata {\n name: string;\n moduleId: string;\n exportName: string;\n}\n\nexport interface ComponentMetadata {\n name: string;\n exportName: string;\n}\n\nexport interface RuntimeImport {\n source: string;\n specifiers: string[];\n}\n\nexport interface EventHydrationManifestMetadata {\n version: 1;\n events: EventHydrationEntryMetadata[];\n}\n\nexport interface EventHydrationEntryMetadata {\n id: string;\n event: string;\n handler: string;\n}\n"]}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"","sourcesContent":["import type {\n ClientReferenceMetadata as SharedClientReferenceMetadata,\n CompileTarget as SharedCompileTarget,\n CompilerFrontend as SharedCompilerFrontend,\n ComponentMetadata as SharedComponentMetadata,\n Diagnostic as SharedDiagnostic,\n DiagnosticSuggestion as SharedDiagnosticSuggestion,\n EventHydrationEntryMetadata as SharedEventHydrationEntryMetadata,\n EventHydrationManifestMetadata as SharedEventHydrationManifestMetadata,\n ModuleMetadata as SharedModuleMetadata,\n RuntimeImport as SharedRuntimeImport,\n ServerBootstrapMode as SharedServerBootstrapMode,\n ServerOutputMode as SharedServerOutputMode,\n SourceLocation as SharedSourceLocation,\n TransformOutput as SharedTransformOutput,\n} from \"@reckona/mreact-shared/compiler-contract\";\n\nexport type CompileTarget = SharedCompileTarget;\nexport type ServerOutputMode = SharedServerOutputMode;\nexport type ServerBootstrapMode = SharedServerBootstrapMode;\nexport type ParserMode = \"oxc\";\nexport type CompilerFrontend = SharedCompilerFrontend;\n\nexport type BodyStatementJsxMode = \"dom-node\" | \"compat-object\" | \"server-string\" | \"unsupported\";\n\nexport interface AnalyzeModuleOptions {\n topLevelJsx?: \"diagnostic\" | \"compat-object\" | \"server-string\";\n bodyStatementJsx?: BodyStatementJsxMode;\n serverOutput?: ServerOutputMode;\n awaitCompatComponents?: \"diagnostic\" | \"lower\";\n clientBoundaryImports?: readonly string[];\n compatReactNodeReturn?: boolean;\n compatReactNodeReturnRenderMode?: \"react-node\";\n}\n\nexport interface TransformInput {\n code: string;\n filename: string;\n target: CompileTarget;\n dev: boolean;\n sourceMap?: boolean;\n mode?: \"auto\" | \"reactive\" | \"compat\";\n parser?: ParserMode;\n serverOutput?: ServerOutputMode;\n serverBootstrap?: ServerBootstrapMode;\n serverBootstrapNonce?: string;\n serverBootstrapSrc?: string;\n serverHydration?: boolean;\n serverAwaitHydration?: boolean;\n clientBoundaryImports?: readonly string[];\n serverEscape?: ServerEscapeOptions;\n reactSuspenseRevealScriptSrc?: string;\n}\n\nexport interface ServerEscapeOptions {\n batchImportName: string;\n batchImportSource: string;\n}\n\nexport type TransformOutput = SharedTransformOutput;\nexport type Diagnostic = SharedDiagnostic;\nexport type DiagnosticSuggestion = SharedDiagnosticSuggestion;\nexport type SourceLocation = SharedSourceLocation;\nexport type ModuleMetadata = SharedModuleMetadata;\nexport type CompilerMetadata = SharedModuleMetadata[\"compiler\"];\nexport type ClientReferenceMetadata = SharedClientReferenceMetadata;\nexport type ComponentMetadata = SharedComponentMetadata;\nexport type RuntimeImport = SharedRuntimeImport;\nexport type EventHydrationManifestMetadata = SharedEventHydrationManifestMetadata;\nexport type EventHydrationEntryMetadata = SharedEventHydrationEntryMetadata;\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reckona/mreact-compiler",
3
- "version": "0.0.81",
3
+ "version": "0.0.83",
4
4
  "description": "Compiler passes and OXC-backed JSX analysis for mreact.",
5
5
  "keywords": [
6
6
  "compiler",
@@ -50,6 +50,6 @@
50
50
  "dependencies": {
51
51
  "oxc-parser": "0.129.0",
52
52
  "oxc-transform": "0.129.0",
53
- "@reckona/mreact-shared": "0.0.81"
53
+ "@reckona/mreact-shared": "0.0.83"
54
54
  }
55
55
  }