@supacloud/compiler 0.5.0 → 0.6.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.
@@ -6,6 +6,8 @@ export interface GenerateOptions {
6
6
  generatePermissions?: boolean;
7
7
  /** Prune unused root providers from compiled output (Angular Ivy AOT tree-shaking). */
8
8
  treeShakeUnusedProviders?: boolean;
9
+ /** Incremental emitter state. Unchanged artifacts are not rewritten. */
10
+ artifactHashes?: Map<string, string>;
9
11
  }
10
12
  export interface RenderedArtifacts {
11
13
  applicationCode: string;
package/dist/index.d.ts CHANGED
@@ -5,10 +5,17 @@ export { doctorProject, explainGraph, formatGraph, exportGraphDot, exportGraphMe
5
5
  export { createIncrementalCompiler } from "./incremental";
6
6
  export { createDependencyGraphCache } from "./incremental";
7
7
  export { ModuleDependencyGraph } from "./incremental";
8
+ export { createIncrementalProgramSession } from "./program";
9
+ export type { IncrementalProgramSession, ProgramUpdate } from "./program";
10
+ export { compileTraits } from "./traits";
11
+ export { TraitCompiler } from "./traits";
12
+ export type { TraitCompilation, TraitHandler, TraitKind, TraitRecord } from "./traits";
8
13
  export { generateApplication, renderApplication } from "./generate";
9
14
  export type { GenerateOptions, RenderedArtifacts } from "./generate";
10
15
  export type { DoctorResult } from "./inspect";
11
16
  export { validateGraph, COMPILER_DIAGNOSTIC_CODES } from "./validate";
17
+ export { scanGeneratedArtifacts, scanProductionSource } from "./type-safety";
18
+ export type { TypeSafetyScanOptions } from "./type-safety";
12
19
  export { camelName } from "./util";
13
20
  export { ANGULAR_ENTERPRISE_RULES, CLEAN_ARCHITECTURE_RULES, MODULAR_MONOLITH_RULES, MODULE_BOUNDARY_PROFILES, getModuleBoundaryPreset, getModuleBoundaryProfile, resolveModuleBoundaries, } from "./profiles";
14
- export type { ApplicationGraph, CachedModuleEntry, CheckProjectResult, CommandExecutionCapabilities, CommandNode, CompileOptions, CompileResult, CompileStats, ControllerNode, DependencyGraphCache, Diagnostic, ModuleBoundaryPresetName, ModuleBoundaryProfile, ModuleBoundaryRule, ModuleNode, ProviderKind, ProviderNode, QueryNode, RouteNode, Scope, TokenKind, ValidateOptions, WatchEvent, WatchHandle, WatchOptions, } from "./types";
21
+ export type { ApplicationGraph, AspectRefNode, CachedModuleEntry, CheckProjectResult, CommandExecutionCapabilities, CommandNode, CompileOptions, CompileResult, CompileStats, ControllerNode, DependencyGraphCache, DependencyGraphIndex, Diagnostic, ModuleBoundaryPresetName, ModuleBoundaryProfile, ModuleBoundaryRule, ModuleNode, JobNode, ProviderKind, ProviderNode, QueryNode, RouteNode, Scope, TokenKind, TypeSafetyOptions, ValidateOptions, WatchEvent, WatchHandle, WatchOptions, } from "./types";