@angular/compiler-cli 14.0.1 → 14.1.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.
- package/bundles/{chunk-EI6PFDB4.js → chunk-CFXFF2GM.js} +3 -3
- package/bundles/{chunk-EI6PFDB4.js.map → chunk-CFXFF2GM.js.map} +0 -0
- package/bundles/{chunk-KIWI22Y5.js → chunk-GIDRICZE.js} +2 -2
- package/bundles/{chunk-KIWI22Y5.js.map → chunk-GIDRICZE.js.map} +0 -0
- package/bundles/{chunk-VEAB5CR7.js → chunk-JJOKGPPP.js} +5 -3
- package/bundles/{chunk-VEAB5CR7.js.map → chunk-JJOKGPPP.js.map} +1 -1
- package/bundles/{chunk-AXU2Z2WN.js → chunk-PI2777Z6.js} +4 -4
- package/bundles/{chunk-AXU2Z2WN.js.map → chunk-PI2777Z6.js.map} +1 -1
- package/bundles/{chunk-NTRR4N4C.js → chunk-UERCMXQE.js} +15 -3
- package/bundles/{chunk-NTRR4N4C.js.map → chunk-UERCMXQE.js.map} +1 -1
- package/bundles/{chunk-RT3OZMJ6.js → chunk-VAPEAGED.js} +4 -3
- package/bundles/{chunk-RT3OZMJ6.js.map → chunk-VAPEAGED.js.map} +1 -1
- package/bundles/index.js +3 -3
- package/bundles/linker/babel/index.js +1 -1
- package/bundles/linker/index.js +1 -1
- package/bundles/ngcc/index.js +4 -4
- package/bundles/ngcc/main-ngcc.js +4 -4
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +3 -3
- package/bundles/private/migrations.js +1 -1
- package/bundles/src/bin/ng_xi18n.js +3 -3
- package/bundles/src/bin/ngc.js +3 -3
- package/bundles_metadata.json +1 -1
- package/ngcc/src/packages/build_marker.d.ts +1 -1
- package/package.json +2 -2
- package/src/ngtsc/annotations/ng_module/src/handler.d.ts +2 -1
- package/src/ngtsc/core/api/src/public_options.d.ts +10 -0
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
import { AbsoluteFsPath } from '../../../src/ngtsc/file_system';
|
|
10
10
|
import { PackageJsonUpdater } from '../writing/package_json_updater';
|
|
11
11
|
import { EntryPointPackageJson, PackageJsonFormatProperties } from './entry_point';
|
|
12
|
-
export declare const NGCC_VERSION = "14.0.
|
|
12
|
+
export declare const NGCC_VERSION = "14.1.0-next.0";
|
|
13
13
|
/**
|
|
14
14
|
* Returns true if there is a format in this entry-point that was compiled with an outdated version
|
|
15
15
|
* of ngcc.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/compiler-cli",
|
|
3
|
-
"version": "14.0.
|
|
3
|
+
"version": "14.1.0-next.0",
|
|
4
4
|
"description": "Angular - the compiler CLI for Node.js",
|
|
5
5
|
"typings": "index.d.ts",
|
|
6
6
|
"bin": {
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"yargs": "^17.2.1"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|
|
68
|
-
"@angular/compiler": "14.0.
|
|
68
|
+
"@angular/compiler": "14.1.0-next.0",
|
|
69
69
|
"typescript": ">=4.6.2 <4.8"
|
|
70
70
|
},
|
|
71
71
|
"repository": {
|
|
@@ -64,9 +64,10 @@ export declare class NgModuleDecoratorHandler implements DecoratorHandler<Decora
|
|
|
64
64
|
private refEmitter;
|
|
65
65
|
private factoryTracker;
|
|
66
66
|
private annotateForClosureCompiler;
|
|
67
|
+
private onlyPublishPublicTypings;
|
|
67
68
|
private injectableRegistry;
|
|
68
69
|
private perf;
|
|
69
|
-
constructor(reflector: ReflectionHost, evaluator: PartialEvaluator, metaReader: MetadataReader, metaRegistry: MetadataRegistry, scopeRegistry: LocalModuleScopeRegistry, referencesRegistry: ReferencesRegistry, isCore: boolean, refEmitter: ReferenceEmitter, factoryTracker: FactoryTracker | null, annotateForClosureCompiler: boolean, injectableRegistry: InjectableClassRegistry, perf: PerfRecorder);
|
|
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);
|
|
70
71
|
readonly precedence = HandlerPrecedence.PRIMARY;
|
|
71
72
|
readonly name: string;
|
|
72
73
|
detect(node: ClassDeclaration, decorators: Decorator[] | null): DetectResult<Decorator> | undefined;
|
|
@@ -312,6 +312,16 @@ export interface BazelAndG3Options {
|
|
|
312
312
|
* support these future imports.
|
|
313
313
|
*/
|
|
314
314
|
generateDeepReexports?: boolean;
|
|
315
|
+
/**
|
|
316
|
+
* The `.d.ts` file for NgModules contain type pointers to their declarations, imports, and
|
|
317
|
+
* exports. Without this flag, the generated type definition will include
|
|
318
|
+
* components/directives/pipes/NgModules that are declared or imported locally in the NgModule and
|
|
319
|
+
* not necessarily exported to consumers.
|
|
320
|
+
*
|
|
321
|
+
* With this flag set, the type definition generated in the `.d.ts` for an NgModule will be
|
|
322
|
+
* filtered to only list those types which are publicly exported by the NgModule.
|
|
323
|
+
*/
|
|
324
|
+
onlyPublishPublicTypingsForNgModules?: boolean;
|
|
315
325
|
/**
|
|
316
326
|
* Insert JSDoc type annotations needed by Closure Compiler
|
|
317
327
|
*/
|