@nodegx/export 0.0.0-stage → 0.2.5

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 (49) hide show
  1. package/README.md +59 -2
  2. package/dist/analyze/appState.d.ts +296 -0
  3. package/dist/analyze/plan.d.ts +3757 -0
  4. package/dist/analyze/querySettings.d.ts +75 -0
  5. package/dist/analyze/reach.d.ts +41 -0
  6. package/dist/analyze/scriptUses.d.ts +29 -0
  7. package/dist/catalog.d.ts +129 -0
  8. package/dist/cli/args.d.ts +90 -0
  9. package/dist/cli/exitCodes.d.ts +125 -0
  10. package/dist/cli/run.d.ts +30 -0
  11. package/dist/cli.inputs.json +174 -0
  12. package/dist/cli.mjs +53746 -0
  13. package/dist/cli.mjs.map +7 -0
  14. package/dist/emit/animateLib.d.ts +43 -0
  15. package/dist/emit/component.d.ts +144 -0
  16. package/dist/emit/dateLib.d.ts +45 -0
  17. package/dist/emit/emitApp.d.ts +38 -0
  18. package/dist/emit/idLib.d.ts +68 -0
  19. package/dist/emit/kits.d.ts +85 -0
  20. package/dist/emit/mediaLib.d.ts +75 -0
  21. package/dist/emit/naming.d.ts +76 -0
  22. package/dist/emit/parseLib.d.ts +106 -0
  23. package/dist/emit/preflight.d.ts +174 -0
  24. package/dist/emit/readme.d.ts +51 -0
  25. package/dist/emit/report.d.ts +309 -0
  26. package/dist/emit/scaffold.d.ts +67 -0
  27. package/dist/emit/statesLib.d.ts +52 -0
  28. package/dist/emit/style.d.ts +165 -0
  29. package/dist/emit/utilLib.d.ts +78 -0
  30. package/dist/errorMessage.d.ts +28 -0
  31. package/dist/index.cjs +52848 -0
  32. package/dist/index.cjs.map +7 -0
  33. package/dist/index.d.ts +37 -0
  34. package/dist/index.mjs +52769 -0
  35. package/dist/index.mjs.map +7 -0
  36. package/dist/ir/types.d.ts +567 -0
  37. package/dist/ledger.cjs +971 -0
  38. package/dist/ledger.cjs.map +7 -0
  39. package/dist/ledger.d.ts +75 -0
  40. package/dist/ledger.mjs +948 -0
  41. package/dist/ledger.mjs.map +7 -0
  42. package/dist/node-catalog.json +65333 -0
  43. package/dist/parse/kitSource.d.ts +135 -0
  44. package/dist/parse/parseModules.d.ts +42 -0
  45. package/dist/parse/parseProject.d.ts +13 -0
  46. package/dist/scriptFiles.d.ts +30 -0
  47. package/dist/structurePorts.d.ts +70 -0
  48. package/dist/write/writeExport.d.ts +67 -0
  49. package/package.json +53 -4
@@ -0,0 +1,37 @@
1
+ export * from './ir/types';
2
+ export { type Catalog, CatalogIndex, type CatalogNode, type CatalogPort, catalogPath, loadCatalog } from './catalog';
3
+ export { parseProject, EXPORTER_VERSION } from './parse/parseProject';
4
+ export { emitScaffold, routedPages, type ScaffoldPage } from './emit/scaffold';
5
+ export { planProject, parseIdentityMapping, type ComponentPlan, type ProjectPlan } from './analyze/plan';
6
+ export { computeNodeStyle, cssValue, CONTENT_PARAMS } from './emit/style';
7
+ export { assignClassNames, camelCase, pascalCase } from './emit/naming';
8
+ export { emitComponent } from './emit/component';
9
+ export { emitApp, type EmittedApp } from './emit/emitApp';
10
+ export { preflight, summarizePreflight, renderPreflight, type PreflightSummary, type PreflightAttention, type PreflightNoFile } from './emit/preflight';
11
+ export { type ExportReportData, type ReportComponent, REPORT_PATH, renderReport, backendMode, type BackendMode, type NextStep, nextSteps, renderSteps, cascadeOf, type CascadeRoot, type ExportCascade, describeNode, pathwayVerdict, plainReason, refusedNodeLines } from './emit/report';
12
+ export { isPathwayType } from './analyze/plan';
13
+ export { exportBadgeOf, ledgerEntryOf, exportCoverage, alphaNotice, type ExportBadge, type ExportCoverage, type ExportStatus, type LedgerEntry } from './ledger';
14
+ export { ROLE_OF_TYPE, STRUCTURE_PORTS, CONTENT_BOUND_PORTS, structurePortsOf, contentPortsOf } from './structurePorts';
15
+ export { README_PATH, renderReadme, type ReadmeBackend } from './emit/readme';
16
+ export { emitKits, type EmittedCopy, type EmittedKits, type KitBinding } from './emit/kits';
17
+ export { parseModules } from './parse/parseModules';
18
+ export { runKitSource, type KitRunResult, type KitRunOutcome } from './parse/kitSource';
19
+ export { checkTarget, writeExport, type ExportOutput, type FsLike, type TargetVerdict, type WriteResult } from './write/writeExport';
20
+ export { errorMessage } from './errorMessage';
21
+ /**
22
+ * HLS-008 — the command itself, not the pieces it is made of.
23
+ *
24
+ * `export_react` over MCP is a third door onto the sequence `nodegx export` performs, and its
25
+ * acceptance criterion is that the pre-flight it returns is **byte-identical** to the one the CLI
26
+ * prints. Re-assembling the sequence from `parseProject` / `emitApp` / `summarizePreflight` /
27
+ * `renderPreflight` above would satisfy that on the day it was written and drift the first time
28
+ * either door grew a step — which is the failure AC2 exists to prevent, not a risk it tolerates.
29
+ *
30
+ * So the MCP tool calls **this**, with `argv` it builds and a {@link CliIO} that captures instead
31
+ * of printing. Byte-identity is then structural rather than asserted: there is one sequence and it
32
+ * is spelled once. The specs still drive each door separately, for the reason `cli/run.ts`'s
33
+ * header gives about HLS-002.
34
+ */
35
+ export { runCli, readableProject, lastWritten, PROJECT_FILE, type CliIO } from './cli/run';
36
+ export { EXIT, type ExitCode } from './cli/exitCodes';
37
+ export { parseArgs, type ParsedArgs, USAGE } from './cli/args';