@angular/compiler-cli 13.0.0-rc.1 → 13.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-5VGHS4A4.js +68 -0
- package/bundles/chunk-5VGHS4A4.js.map +6 -0
- package/bundles/chunk-AMD3PZ5E.js +5094 -0
- package/bundles/chunk-AMD3PZ5E.js.map +6 -0
- package/bundles/chunk-BPCUCINV.js +29 -0
- package/bundles/chunk-BPCUCINV.js.map +6 -0
- package/bundles/chunk-CRTDZEUV.js +678 -0
- package/bundles/chunk-CRTDZEUV.js.map +6 -0
- package/bundles/chunk-DDB2HQYR.js +5663 -0
- package/bundles/chunk-DDB2HQYR.js.map +6 -0
- package/bundles/chunk-DLQQUCPJ.js +448 -0
- package/bundles/chunk-DLQQUCPJ.js.map +6 -0
- package/bundles/chunk-E64KJMKN.js +968 -0
- package/bundles/chunk-E64KJMKN.js.map +6 -0
- package/bundles/chunk-GKA4YGOR.js +43 -0
- package/bundles/chunk-GKA4YGOR.js.map +6 -0
- package/bundles/chunk-IG72ZKR7.js +424 -0
- package/bundles/chunk-IG72ZKR7.js.map +6 -0
- package/bundles/chunk-J6CW3T62.js +206 -0
- package/bundles/chunk-J6CW3T62.js.map +6 -0
- package/bundles/chunk-JTYUTYS2.js +56 -0
- package/bundles/chunk-JTYUTYS2.js.map +6 -0
- package/bundles/chunk-M7P4HAA4.js +358 -0
- package/bundles/chunk-M7P4HAA4.js.map +6 -0
- package/bundles/chunk-QKLPWCHI.js +1261 -0
- package/bundles/chunk-QKLPWCHI.js.map +6 -0
- package/bundles/chunk-QLSZVEIC.js +11992 -0
- package/bundles/chunk-QLSZVEIC.js.map +6 -0
- package/bundles/chunk-WOCQ7IIB.js +2175 -0
- package/bundles/chunk-WOCQ7IIB.js.map +6 -0
- package/bundles/chunk-XKKOHZ3B.js +116 -0
- package/bundles/chunk-XKKOHZ3B.js.map +6 -0
- package/bundles/chunk-XPUO7JIT.js +380 -0
- package/bundles/chunk-XPUO7JIT.js.map +6 -0
- package/bundles/index.js +96 -20254
- package/bundles/index.js.map +2 -2
- package/bundles/linker/babel/index.js +24 -1987
- package/bundles/linker/babel/index.js.map +2 -2
- package/bundles/linker/index.js +12 -1833
- package/bundles/linker/index.js.map +2 -2
- package/bundles/ngcc/index.js +27 -16027
- package/bundles/ngcc/index.js.map +2 -2
- package/bundles/ngcc/main-ngcc.js +19 -16111
- package/bundles/ngcc/main-ngcc.js.map +2 -2
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +32 -13784
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js.map +2 -2
- package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js +11 -310
- package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js.map +2 -2
- package/bundles/private/bazel.js +4 -81
- package/bundles/private/bazel.js.map +2 -2
- package/bundles/private/localize.js +27 -870
- package/bundles/private/localize.js.map +2 -2
- package/bundles/private/migrations.js +13 -2156
- package/bundles/private/migrations.js.map +2 -2
- package/bundles/private/tooling.js +8 -931
- package/bundles/private/tooling.js.map +2 -2
- package/bundles/src/bin/ng_xi18n.js +22 -20424
- package/bundles/src/bin/ng_xi18n.js.map +2 -2
- package/bundles/src/bin/ngc.js +16 -20437
- package/bundles/src/bin/ngc.js.map +2 -2
- 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/src/ng_module.d.ts +1 -2
- package/src/ngtsc/diagnostics/index.d.ts +4 -2
- package/src/ngtsc/diagnostics/src/docs.d.ts +14 -0
- package/src/ngtsc/diagnostics/src/error_details_base_url.d.ts +16 -0
- package/src/ngtsc/diagnostics/src/util.d.ts +2 -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 = "13.
|
|
12
|
+
export declare const NGCC_VERSION = "13.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": "13.
|
|
3
|
+
"version": "13.1.0-next.0",
|
|
4
4
|
"description": "Angular - the compiler CLI for Node.js",
|
|
5
5
|
"typings": "index.d.ts",
|
|
6
6
|
"bin": {
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"yargs": "^17.2.1"
|
|
67
67
|
},
|
|
68
68
|
"peerDependencies": {
|
|
69
|
-
"@angular/compiler": "13.
|
|
69
|
+
"@angular/compiler": "13.1.0-next.0",
|
|
70
70
|
"typescript": ">=4.4.2 <4.5"
|
|
71
71
|
},
|
|
72
72
|
"repository": {
|
|
@@ -62,8 +62,7 @@ export declare class NgModuleDecoratorHandler implements DecoratorHandler<Decora
|
|
|
62
62
|
private annotateForClosureCompiler;
|
|
63
63
|
private injectableRegistry;
|
|
64
64
|
private perf;
|
|
65
|
-
|
|
66
|
-
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, localeId?: string | undefined);
|
|
65
|
+
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);
|
|
67
66
|
readonly precedence = HandlerPrecedence.PRIMARY;
|
|
68
67
|
readonly name: string;
|
|
69
68
|
detect(node: ClassDeclaration, decorators: Decorator[] | null): DetectResult<Decorator> | undefined;
|
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
* found in the LICENSE file at https://angular.io/license
|
|
7
7
|
*/
|
|
8
8
|
/// <amd-module name="@angular/compiler-cli/src/ngtsc/diagnostics" />
|
|
9
|
+
export { COMPILER_ERRORS_WITH_GUIDES } from './src/docs';
|
|
9
10
|
export { FatalDiagnosticError, isFatalDiagnosticError, makeDiagnostic, makeRelatedInformation } from './src/error';
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
11
|
+
export { ErrorCode } from './src/error_code';
|
|
12
|
+
export { ERROR_DETAILS_PAGE_BASE_URL } from './src/error_details_base_url';
|
|
13
|
+
export { ngErrorCode, replaceTsWithNgInErrors } from './src/util';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright Google LLC All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
+
* found in the LICENSE file at https://angular.io/license
|
|
7
|
+
*/
|
|
8
|
+
/// <amd-module name="@angular/compiler-cli/src/ngtsc/diagnostics/src/docs" />
|
|
9
|
+
import { ErrorCode } from './error_code';
|
|
10
|
+
/**
|
|
11
|
+
* Contains a set of error messages that have detailed guides at angular.io.
|
|
12
|
+
* Full list of available error guides can be found at https://angular.io/errors
|
|
13
|
+
*/
|
|
14
|
+
export declare const COMPILER_ERRORS_WITH_GUIDES: Set<ErrorCode>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright Google LLC All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
+
* found in the LICENSE file at https://angular.io/license
|
|
7
|
+
*/
|
|
8
|
+
/// <amd-module name="@angular/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url" />
|
|
9
|
+
/**
|
|
10
|
+
* Base URL for the error details page.
|
|
11
|
+
*
|
|
12
|
+
* Keep the files below in full sync:
|
|
13
|
+
* - packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.ts
|
|
14
|
+
* - packages/core/src/render3/error_details_base_url.ts
|
|
15
|
+
*/
|
|
16
|
+
export declare const ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
* found in the LICENSE file at https://angular.io/license
|
|
7
7
|
*/
|
|
8
8
|
/// <amd-module name="@angular/compiler-cli/src/ngtsc/diagnostics/src/util" />
|
|
9
|
+
import { ErrorCode } from './error_code';
|
|
9
10
|
/**
|
|
10
11
|
* During formatting of `ts.Diagnostic`s, the numeric code of each diagnostic is prefixed with the
|
|
11
12
|
* hard-coded "TS" prefix. For Angular's own error codes, a prefix of "NG" is desirable. To achieve
|
|
@@ -16,3 +17,4 @@
|
|
|
16
17
|
* @param errors The formatted diagnostics
|
|
17
18
|
*/
|
|
18
19
|
export declare function replaceTsWithNgInErrors(errors: string): string;
|
|
20
|
+
export declare function ngErrorCode(code: ErrorCode): number;
|