@angular/compiler-cli 15.2.0 → 16.0.0-next.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.
Files changed (154) hide show
  1. package/bundles/{chunk-PKSKJEUS.js → chunk-2DMH5JXJ.js} +9 -18
  2. package/bundles/{chunk-PKSKJEUS.js.map → chunk-2DMH5JXJ.js.map} +1 -1
  3. package/bundles/{chunk-P6SWFK2U.js → chunk-4TCRZYAK.js} +2 -2
  4. package/bundles/{chunk-NJMZRTB6.js → chunk-54RHUHYB.js} +1 -2
  5. package/bundles/{chunk-2PLRZDNU.js → chunk-6CARGXRJ.js} +5 -5
  6. package/bundles/{chunk-O4JLZZWJ.js → chunk-EDWIBG7R.js} +1 -10
  7. package/bundles/chunk-EDWIBG7R.js.map +6 -0
  8. package/bundles/{chunk-6ZJFIQBG.js → chunk-GYHDNUIK.js} +1 -2
  9. package/bundles/{chunk-2OF2AI57.js → chunk-IS6KZYEA.js} +377 -609
  10. package/bundles/chunk-IS6KZYEA.js.map +6 -0
  11. package/bundles/{chunk-J3L7WZP3.js → chunk-JHMH3CX2.js} +3 -3
  12. package/bundles/{chunk-ZCBRXUPO.js → chunk-K2A5WD7L.js} +1 -6
  13. package/bundles/chunk-K2A5WD7L.js.map +6 -0
  14. package/bundles/{chunk-QRHWLC7U.js → chunk-PSGRCFPQ.js} +2 -2
  15. package/bundles/index.js +13 -13
  16. package/bundles/linker/babel/index.js +8 -8
  17. package/bundles/linker/index.js +4 -4
  18. package/bundles/private/bazel.js +1 -1
  19. package/bundles/private/localize.js +1 -1
  20. package/bundles/private/migrations.js +5 -5
  21. package/bundles/private/tooling.js +3 -3
  22. package/bundles/src/bin/ng_xi18n.js +7 -7
  23. package/bundles/src/bin/ngc.js +7 -7
  24. package/bundles_metadata.json +1 -1
  25. package/package.json +2 -15
  26. package/src/ngtsc/annotations/ng_module/src/handler.d.ts +1 -3
  27. package/src/ngtsc/core/api/src/adapter.d.ts +0 -7
  28. package/src/ngtsc/core/api/src/options.d.ts +2 -2
  29. package/src/ngtsc/core/api/src/public_options.d.ts +0 -25
  30. package/src/ngtsc/core/src/host.d.ts +3 -5
  31. package/src/ngtsc/shims/api.d.ts +0 -19
  32. package/src/ngtsc/shims/index.d.ts +0 -2
  33. package/src/transformers/api.d.ts +0 -5
  34. package/bundles/chunk-2OF2AI57.js.map +0 -6
  35. package/bundles/chunk-7DUI3BSX.js +0 -29
  36. package/bundles/chunk-7DUI3BSX.js.map +0 -6
  37. package/bundles/chunk-MLCT4AWL.js +0 -2187
  38. package/bundles/chunk-MLCT4AWL.js.map +0 -6
  39. package/bundles/chunk-NXCQCU6C.js +0 -5265
  40. package/bundles/chunk-NXCQCU6C.js.map +0 -6
  41. package/bundles/chunk-O4JLZZWJ.js.map +0 -6
  42. package/bundles/chunk-YRDMG3GM.js +0 -115
  43. package/bundles/chunk-YRDMG3GM.js.map +0 -6
  44. package/bundles/chunk-ZCBRXUPO.js.map +0 -6
  45. package/bundles/ngcc/index.js +0 -52
  46. package/bundles/ngcc/index.js.map +0 -6
  47. package/bundles/ngcc/main-ngcc.js +0 -49
  48. package/bundles/ngcc/main-ngcc.js.map +0 -6
  49. package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +0 -114
  50. package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js.map +0 -6
  51. package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js +0 -34
  52. package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js.map +0 -6
  53. package/ngcc/index.d.ts +0 -19
  54. package/ngcc/main-ngcc.d.ts +0 -2
  55. package/ngcc/src/analysis/decoration_analyzer.d.ts +0 -80
  56. package/ngcc/src/analysis/migration_host.d.ts +0 -22
  57. package/ngcc/src/analysis/module_with_providers_analyzer.d.ts +0 -61
  58. package/ngcc/src/analysis/ngcc_references_registry.d.ts +0 -34
  59. package/ngcc/src/analysis/ngcc_trait_compiler.d.ts +0 -42
  60. package/ngcc/src/analysis/private_declarations_analyzer.d.ts +0 -29
  61. package/ngcc/src/analysis/types.d.ts +0 -29
  62. package/ngcc/src/analysis/util.d.ts +0 -11
  63. package/ngcc/src/command_line_options.d.ts +0 -3
  64. package/ngcc/src/constants.d.ts +0 -9
  65. package/ngcc/src/dependencies/commonjs_dependency_host.d.ts +0 -20
  66. package/ngcc/src/dependencies/dependency_host.d.ts +0 -77
  67. package/ngcc/src/dependencies/dependency_resolver.d.ts +0 -102
  68. package/ngcc/src/dependencies/dts_dependency_host.d.ts +0 -20
  69. package/ngcc/src/dependencies/esm_dependency_host.d.ts +0 -93
  70. package/ngcc/src/dependencies/module_resolver.d.ts +0 -134
  71. package/ngcc/src/dependencies/umd_dependency_host.d.ts +0 -9
  72. package/ngcc/src/entry_point_finder/directory_walker_entry_point_finder.d.ts +0 -41
  73. package/ngcc/src/entry_point_finder/entry_point_collector.d.ts +0 -41
  74. package/ngcc/src/entry_point_finder/interface.d.ts +0 -14
  75. package/ngcc/src/entry_point_finder/program_based_entry_point_finder.d.ts +0 -61
  76. package/ngcc/src/entry_point_finder/targeted_entry_point_finder.d.ts +0 -95
  77. package/ngcc/src/entry_point_finder/tracing_entry_point_finder.d.ts +0 -67
  78. package/ngcc/src/entry_point_finder/utils.d.ts +0 -38
  79. package/ngcc/src/execution/analyze_entry_points.d.ts +0 -9
  80. package/ngcc/src/execution/api.d.ts +0 -27
  81. package/ngcc/src/execution/cluster/api.d.ts +0 -51
  82. package/ngcc/src/execution/cluster/executor.d.ts +0 -29
  83. package/ngcc/src/execution/cluster/master.d.ts +0 -57
  84. package/ngcc/src/execution/cluster/ngcc_cluster_worker.d.ts +0 -8
  85. package/ngcc/src/execution/cluster/package_json_updater.d.ts +0 -22
  86. package/ngcc/src/execution/cluster/utils.d.ts +0 -44
  87. package/ngcc/src/execution/cluster/worker.d.ts +0 -10
  88. package/ngcc/src/execution/create_compile_function.d.ts +0 -10
  89. package/ngcc/src/execution/single_process_executor.d.ts +0 -34
  90. package/ngcc/src/execution/tasks/api.d.ts +0 -141
  91. package/ngcc/src/execution/tasks/completion.d.ts +0 -41
  92. package/ngcc/src/execution/tasks/queues/base_task_queue.d.ts +0 -38
  93. package/ngcc/src/execution/tasks/queues/parallel_task_queue.d.ts +0 -27
  94. package/ngcc/src/execution/tasks/queues/serial_task_queue.d.ts +0 -16
  95. package/ngcc/src/execution/tasks/utils.d.ts +0 -57
  96. package/ngcc/src/host/commonjs_host.d.ts +0 -69
  97. package/ngcc/src/host/commonjs_umd_utils.d.ts +0 -146
  98. package/ngcc/src/host/delegating_host.d.ts +0 -43
  99. package/ngcc/src/host/esm2015_host.d.ts +0 -935
  100. package/ngcc/src/host/esm5_host.d.ts +0 -299
  101. package/ngcc/src/host/ngcc_host.d.ts +0 -87
  102. package/ngcc/src/host/umd_host.d.ts +0 -85
  103. package/ngcc/src/host/utils.d.ts +0 -9
  104. package/ngcc/src/locking/async_locker.d.ts +0 -34
  105. package/ngcc/src/locking/lock_file.d.ts +0 -31
  106. package/ngcc/src/locking/lock_file_with_child_process/index.d.ts +0 -44
  107. package/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.d.ts +0 -1
  108. package/ngcc/src/locking/lock_file_with_child_process/util.d.ts +0 -16
  109. package/ngcc/src/locking/sync_locker.d.ts +0 -35
  110. package/ngcc/src/main.d.ts +0 -17
  111. package/ngcc/src/migrations/migration.d.ts +0 -59
  112. package/ngcc/src/migrations/missing_injectable_migration.d.ts +0 -35
  113. package/ngcc/src/migrations/undecorated_child_migration.d.ts +0 -15
  114. package/ngcc/src/migrations/undecorated_parent_migration.d.ts +0 -51
  115. package/ngcc/src/migrations/utils.d.ts +0 -41
  116. package/ngcc/src/ngcc_options.d.ts +0 -155
  117. package/ngcc/src/packages/adjust_cjs_umd_exports.d.ts +0 -16
  118. package/ngcc/src/packages/build_marker.d.ts +0 -44
  119. package/ngcc/src/packages/bundle_program.d.ts +0 -35
  120. package/ngcc/src/packages/configuration.d.ts +0 -222
  121. package/ngcc/src/packages/entry_point.d.ts +0 -109
  122. package/ngcc/src/packages/entry_point_bundle.d.ts +0 -46
  123. package/ngcc/src/packages/entry_point_manifest.d.ts +0 -79
  124. package/ngcc/src/packages/ngcc_compiler_host.d.ts +0 -36
  125. package/ngcc/src/packages/patch_ts_expando_initializer.d.ts +0 -41
  126. package/ngcc/src/packages/source_file_cache.d.ts +0 -97
  127. package/ngcc/src/packages/transformer.d.ts +0 -70
  128. package/ngcc/src/path_mappings.d.ts +0 -19
  129. package/ngcc/src/rendering/commonjs_rendering_formatter.d.ts +0 -34
  130. package/ngcc/src/rendering/dts_renderer.d.ts +0 -51
  131. package/ngcc/src/rendering/esm5_rendering_formatter.d.ts +0 -35
  132. package/ngcc/src/rendering/esm_rendering_formatter.d.ts +0 -84
  133. package/ngcc/src/rendering/ngcc_import_rewriter.d.ts +0 -13
  134. package/ngcc/src/rendering/renderer.d.ts +0 -72
  135. package/ngcc/src/rendering/rendering_formatter.d.ts +0 -37
  136. package/ngcc/src/rendering/source_maps.d.ts +0 -23
  137. package/ngcc/src/rendering/umd_rendering_formatter.d.ts +0 -54
  138. package/ngcc/src/rendering/utils.d.ts +0 -24
  139. package/ngcc/src/utils.d.ts +0 -112
  140. package/ngcc/src/writing/cleaning/cleaning_strategies.d.ts +0 -44
  141. package/ngcc/src/writing/cleaning/package_cleaner.d.ts +0 -38
  142. package/ngcc/src/writing/cleaning/utils.d.ts +0 -15
  143. package/ngcc/src/writing/file_writer.d.ts +0 -28
  144. package/ngcc/src/writing/in_place_file_writer.d.ts +0 -28
  145. package/ngcc/src/writing/new_entry_point_file_writer.d.ts +0 -48
  146. package/ngcc/src/writing/package_json_updater.d.ts +0 -98
  147. package/src/ngtsc/shims/src/factory_generator.d.ts +0 -24
  148. package/src/ngtsc/shims/src/summary_generator.d.ts +0 -15
  149. /package/bundles/{chunk-P6SWFK2U.js.map → chunk-4TCRZYAK.js.map} +0 -0
  150. /package/bundles/{chunk-NJMZRTB6.js.map → chunk-54RHUHYB.js.map} +0 -0
  151. /package/bundles/{chunk-2PLRZDNU.js.map → chunk-6CARGXRJ.js.map} +0 -0
  152. /package/bundles/{chunk-6ZJFIQBG.js.map → chunk-GYHDNUIK.js.map} +0 -0
  153. /package/bundles/{chunk-J3L7WZP3.js.map → chunk-JHMH3CX2.js.map} +0 -0
  154. /package/bundles/{chunk-QRHWLC7U.js.map → chunk-PSGRCFPQ.js.map} +0 -0
package/package.json CHANGED
@@ -1,10 +1,9 @@
1
1
  {
2
2
  "name": "@angular/compiler-cli",
3
- "version": "15.2.0",
3
+ "version": "16.0.0-next.0",
4
4
  "description": "Angular - the compiler CLI for Node.js",
5
5
  "typings": "index.d.ts",
6
6
  "bin": {
7
- "ngcc": "./bundles/ngcc/main-ngcc.js",
8
7
  "ngc": "./bundles/src/bin/ngc.js",
9
8
  "ng-xi18n": "./bundles/src/bin/ng_xi18n.js"
10
9
  },
@@ -17,10 +16,6 @@
17
16
  "./package.json": {
18
17
  "default": "./package.json"
19
18
  },
20
- "./ngcc": {
21
- "types": "./ngcc/index.d.ts",
22
- "default": "./bundles/ngcc/index.js"
23
- },
24
19
  "./linker": {
25
20
  "types": "./linker/index.d.ts",
26
21
  "default": "./bundles/linker/index.js"
@@ -44,12 +39,6 @@
44
39
  "./private/tooling": {
45
40
  "types": "./private/tooling.d.ts",
46
41
  "default": "./bundles/private/tooling.js"
47
- },
48
- "./ngcc/src/execution/cluster/ngcc_cluster_worker": {
49
- "default": "./bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js"
50
- },
51
- "./ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker": {
52
- "default": "./bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js"
53
42
  }
54
43
  },
55
44
  "dependencies": {
@@ -58,14 +47,12 @@
58
47
  "reflect-metadata": "^0.1.2",
59
48
  "chokidar": "^3.0.0",
60
49
  "convert-source-map": "^1.5.1",
61
- "dependency-graph": "^0.11.0",
62
- "magic-string": "^0.27.0",
63
50
  "semver": "^7.0.0",
64
51
  "tslib": "^2.3.0",
65
52
  "yargs": "^17.2.1"
66
53
  },
67
54
  "peerDependencies": {
68
- "@angular/compiler": "15.2.0",
55
+ "@angular/compiler": "16.0.0-next.0",
69
56
  "typescript": ">=4.8.2 <5.0"
70
57
  },
71
58
  "repository": {
@@ -14,7 +14,6 @@ import { PartialEvaluator } from '../../../partial_evaluator';
14
14
  import { PerfRecorder } from '../../../perf';
15
15
  import { ClassDeclaration, Decorator, ReflectionHost } from '../../../reflection';
16
16
  import { LocalModuleScopeRegistry } from '../../../scope';
17
- import { FactoryTracker } from '../../../shims/api';
18
17
  import { AnalysisOutput, CompileResult, DecoratorHandler, DetectResult, HandlerPrecedence, ResolveResult } from '../../../transform';
19
18
  import { InjectableClassRegistry, ReferencesRegistry } from '../../common';
20
19
  export interface NgModuleAnalysis {
@@ -62,12 +61,11 @@ export declare class NgModuleDecoratorHandler implements DecoratorHandler<Decora
62
61
  private referencesRegistry;
63
62
  private isCore;
64
63
  private refEmitter;
65
- private factoryTracker;
66
64
  private annotateForClosureCompiler;
67
65
  private onlyPublishPublicTypings;
68
66
  private injectableRegistry;
69
67
  private perf;
70
- constructor(reflector: ReflectionHost, evaluator: PartialEvaluator, metaReader: MetadataReader, metaRegistry: MetadataRegistry, scopeRegistry: LocalModuleScopeRegistry, referencesRegistry: ReferencesRegistry, isCore: boolean, refEmitter: ReferenceEmitter, factoryTracker: FactoryTracker | null, annotateForClosureCompiler: boolean, onlyPublishPublicTypings: boolean, injectableRegistry: InjectableClassRegistry, perf: PerfRecorder);
68
+ constructor(reflector: ReflectionHost, evaluator: PartialEvaluator, metaReader: MetadataReader, metaRegistry: MetadataRegistry, scopeRegistry: LocalModuleScopeRegistry, referencesRegistry: ReferencesRegistry, isCore: boolean, refEmitter: ReferenceEmitter, annotateForClosureCompiler: boolean, onlyPublishPublicTypings: boolean, injectableRegistry: InjectableClassRegistry, perf: PerfRecorder);
71
69
  readonly precedence = HandlerPrecedence.PRIMARY;
72
70
  readonly name: string;
73
71
  detect(node: ClassDeclaration, decorators: Decorator[] | null): DetectResult<Decorator> | undefined;
@@ -7,7 +7,6 @@
7
7
  */
8
8
  import ts from 'typescript';
9
9
  import { AbsoluteFsPath } from '../../../file_system';
10
- import { FactoryTracker } from '../../../shims/api';
11
10
  import { ExtendedTsCompilerHost, UnifiedModulesHost } from './interfaces';
12
11
  /**
13
12
  * Names of methods from `ExtendedTsCompilerHost` that need to be provided by the
@@ -43,12 +42,6 @@ export interface NgCompilerAdapter extends Omit<ts.ModuleResolutionHost, 'getCur
43
42
  * command-line ngc.
44
43
  */
45
44
  readonly ignoreForEmit: Set<ts.SourceFile>;
46
- /**
47
- * A tracker for usage of symbols in `.ngfactory` shims.
48
- *
49
- * This can be left `null` if such shims are not a part of the `ts.Program`.
50
- */
51
- readonly factoryTracker: FactoryTracker | null;
52
45
  /**
53
46
  * A specialized interface provided in some environments (such as Bazel) which overrides how
54
47
  * import specifiers are generated.
@@ -6,7 +6,7 @@
6
6
  * found in the LICENSE file at https://angular.io/license
7
7
  */
8
8
  import ts from 'typescript';
9
- import { BazelAndG3Options, DiagnosticOptions, I18nOptions, LegacyNgcOptions, MiscOptions, NgcCompatibilityOptions, StrictTemplateOptions, TargetOptions } from './public_options';
9
+ import { BazelAndG3Options, DiagnosticOptions, I18nOptions, LegacyNgcOptions, MiscOptions, StrictTemplateOptions, TargetOptions } from './public_options';
10
10
  /**
11
11
  * Non-public options which are useful during testing of the compiler.
12
12
  */
@@ -36,6 +36,6 @@ export interface InternalOptions {
36
36
  *
37
37
  * Also includes a few miscellaneous options.
38
38
  */
39
- export interface NgCompilerOptions extends ts.CompilerOptions, LegacyNgcOptions, BazelAndG3Options, DiagnosticOptions, NgcCompatibilityOptions, StrictTemplateOptions, TestOnlyOptions, I18nOptions, TargetOptions, InternalOptions, MiscOptions {
39
+ export interface NgCompilerOptions extends ts.CompilerOptions, LegacyNgcOptions, BazelAndG3Options, DiagnosticOptions, StrictTemplateOptions, TestOnlyOptions, I18nOptions, TargetOptions, InternalOptions, MiscOptions {
40
40
  [prop: string]: any;
41
41
  }
@@ -77,31 +77,6 @@ export interface LegacyNgcOptions {
77
77
  */
78
78
  preserveWhitespaces?: boolean;
79
79
  }
80
- /**
81
- * Options which were added to the Angular Ivy compiler to support backwards compatibility with
82
- * existing View Engine applications.
83
- *
84
- * These are expected to be removed at some point in the future.
85
- *
86
- * @publicApi
87
- */
88
- export interface NgcCompatibilityOptions {
89
- /**
90
- * Controls whether ngtsc will emit `.ngfactory.js` shims for each compiled `.ts` file.
91
- *
92
- * These shims support legacy imports from `ngfactory` files, by exporting a factory shim
93
- * for each component or NgModule in the original `.ts` file.
94
- */
95
- generateNgFactoryShims?: boolean;
96
- /**
97
- * Controls whether ngtsc will emit `.ngsummary.js` shims for each compiled `.ts` file.
98
- *
99
- * These shims support legacy imports from `ngsummary` files, by exporting an empty object
100
- * for each NgModule in the original `.ts` file. The only purpose of summaries is to feed them to
101
- * `TestBed`, which is a no-op in Ivy.
102
- */
103
- generateNgSummaryShims?: boolean;
104
- }
105
80
  /**
106
81
  * Options related to template type-checking and its strictness.
107
82
  *
@@ -8,7 +8,6 @@
8
8
  import ts from 'typescript';
9
9
  import { AbsoluteFsPath } from '../../file_system';
10
10
  import { ShimAdapter, ShimReferenceTagger } from '../../shims';
11
- import { FactoryTracker } from '../../shims/api';
12
11
  import { RequiredDelegations } from '../../util/src/typescript';
13
12
  import { ExtendedTsCompilerHost, NgCompilerAdapter, NgCompilerOptions, UnifiedModulesHost } from '../api';
14
13
  /**
@@ -54,8 +53,8 @@ export declare class DelegatingCompilerHost implements Omit<RequiredDelegations<
54
53
  * A wrapper around `ts.CompilerHost` (plus any extension methods from `ExtendedTsCompilerHost`).
55
54
  *
56
55
  * In order for a consumer to include Angular compilation in their TypeScript compiler, the
57
- * `ts.Program` must be created with a host that adds Angular-specific files (e.g. factories,
58
- * summaries, the template type-checking file, etc) to the compilation. `NgCompilerHost` is the
56
+ * `ts.Program` must be created with a host that adds Angular-specific files (e.g.
57
+ * the template type-checking file, etc) to the compilation. `NgCompilerHost` is the
59
58
  * host implementation which supports this.
60
59
  *
61
60
  * The interface implementations here ensure that `NgCompilerHost` fully delegates to
@@ -64,12 +63,11 @@ export declare class DelegatingCompilerHost implements Omit<RequiredDelegations<
64
63
  export declare class NgCompilerHost extends DelegatingCompilerHost implements RequiredDelegations<ExtendedTsCompilerHost>, ExtendedTsCompilerHost, NgCompilerAdapter {
65
64
  private shimAdapter;
66
65
  private shimTagger;
67
- readonly factoryTracker: FactoryTracker | null;
68
66
  readonly entryPoint: AbsoluteFsPath | null;
69
67
  readonly constructionDiagnostics: ts.Diagnostic[];
70
68
  readonly inputFiles: ReadonlyArray<string>;
71
69
  readonly rootDirs: ReadonlyArray<AbsoluteFsPath>;
72
- constructor(delegate: ExtendedTsCompilerHost, inputFiles: ReadonlyArray<string>, rootDirs: ReadonlyArray<AbsoluteFsPath>, shimAdapter: ShimAdapter, shimTagger: ShimReferenceTagger, entryPoint: AbsoluteFsPath | null, factoryTracker: FactoryTracker | null, diagnostics: ts.Diagnostic[]);
70
+ constructor(delegate: ExtendedTsCompilerHost, inputFiles: ReadonlyArray<string>, rootDirs: ReadonlyArray<AbsoluteFsPath>, shimAdapter: ShimAdapter, shimTagger: ShimReferenceTagger, entryPoint: AbsoluteFsPath | null, diagnostics: ts.Diagnostic[]);
73
71
  /**
74
72
  * Retrieves a set of `ts.SourceFile`s which should not be emitted as JS files.
75
73
  *
@@ -42,22 +42,3 @@ export interface PerFileShimGenerator {
42
42
  */
43
43
  generateShimForFile(sf: ts.SourceFile, genFilePath: AbsoluteFsPath, priorShimSf: ts.SourceFile | null): ts.SourceFile;
44
44
  }
45
- /**
46
- * Maintains a mapping of which symbols in a .ngfactory file have been used.
47
- *
48
- * .ngfactory files are generated with one symbol per defined class in the source file, regardless
49
- * of whether the classes in the source files are NgModules (because that isn't known at the time
50
- * the factory files are generated). A `FactoryTracker` supports removing factory symbols which
51
- * didn't end up being NgModules, by tracking the ones which are.
52
- */
53
- export interface FactoryTracker {
54
- readonly sourceInfo: Map<string, FactoryInfo>;
55
- track(sf: ts.SourceFile, moduleInfo: ModuleInfo): void;
56
- }
57
- export interface FactoryInfo {
58
- sourceFilePath: string;
59
- moduleSymbols: Map<string, ModuleInfo>;
60
- }
61
- export interface ModuleInfo {
62
- name: string;
63
- }
@@ -7,6 +7,4 @@
7
7
  */
8
8
  export { ShimAdapter } from './src/adapter';
9
9
  export { copyFileShimData, isShim, retagAllTsFiles, retagTsFile, sfExtensionData, untagAllTsFiles, untagTsFile } from './src/expando';
10
- export { FactoryGenerator, generatedFactoryTransform } from './src/factory_generator';
11
10
  export { ShimReferenceTagger } from './src/reference_tagger';
12
- export { SummaryGenerator } from './src/summary_generator';
@@ -25,11 +25,6 @@ export interface CompilerOptions extends NgCompilerOptions, ts.CompilerOptions {
25
25
  i18nInFormat?: string;
26
26
  i18nInFile?: string;
27
27
  i18nInMissingTranslations?: 'error' | 'warning' | 'ignore';
28
- /**
29
- * Whether to generate .ngsummary.ts files that allow to use AOTed artifacts
30
- * in JIT mode. This is off by default.
31
- */
32
- enableSummariesForJit?: boolean;
33
28
  /**
34
29
  * Whether to replace the `templateUrl` and `styleUrls` property in all
35
30
  * @Component decorators with inlined contents in `template` and `styles`