@angular/compiler-cli 13.0.0-rc.3 → 13.1.0-next.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.
- package/bundles/chunk-2DL256T3.js +5105 -0
- package/bundles/chunk-2DL256T3.js.map +6 -0
- package/bundles/chunk-ACINBTQB.js +43 -0
- package/bundles/chunk-ACINBTQB.js.map +6 -0
- package/bundles/chunk-BUHTODFL.js +380 -0
- package/bundles/chunk-BUHTODFL.js.map +6 -0
- package/bundles/chunk-EP5JHXG2.js +448 -0
- package/bundles/chunk-EP5JHXG2.js.map +6 -0
- package/bundles/chunk-GLCRIILX.js +206 -0
- package/bundles/chunk-GLCRIILX.js.map +6 -0
- package/bundles/chunk-JNWO3JB2.js +968 -0
- package/bundles/chunk-JNWO3JB2.js.map +6 -0
- package/bundles/chunk-MIQ5UCHZ.js +5663 -0
- package/bundles/chunk-MIQ5UCHZ.js.map +6 -0
- package/bundles/chunk-PBA67OV4.js +358 -0
- package/bundles/chunk-PBA67OV4.js.map +6 -0
- package/bundles/chunk-QDWL7SZJ.js +29 -0
- package/bundles/chunk-QDWL7SZJ.js.map +6 -0
- package/bundles/chunk-QL6ZC3U3.js +424 -0
- package/bundles/chunk-QL6ZC3U3.js.map +6 -0
- package/bundles/chunk-S3QIIFH7.js +678 -0
- package/bundles/chunk-S3QIIFH7.js.map +6 -0
- package/bundles/chunk-SKBLJA43.js +56 -0
- package/bundles/chunk-SKBLJA43.js.map +6 -0
- package/bundles/chunk-UMUIU7TE.js +116 -0
- package/bundles/chunk-UMUIU7TE.js.map +6 -0
- package/bundles/chunk-VKIZ4TCJ.js +11997 -0
- package/bundles/chunk-VKIZ4TCJ.js.map +6 -0
- package/bundles/chunk-WOC6KEUY.js +2177 -0
- package/bundles/chunk-WOC6KEUY.js.map +6 -0
- package/bundles/chunk-WYO7JO2T.js +1261 -0
- package/bundles/chunk-WYO7JO2T.js.map +6 -0
- package/bundles/chunk-XA5IZLLC.js +68 -0
- package/bundles/chunk-XA5IZLLC.js.map +6 -0
- package/bundles/index.js +96 -20249
- 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 -16011
- package/bundles/ngcc/index.js.map +2 -2
- package/bundles/ngcc/main-ngcc.js +19 -16095
- package/bundles/ngcc/main-ngcc.js.map +2 -2
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +32 -13768
- 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 -2158
- 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 -20419
- package/bundles/src/bin/ng_xi18n.js.map +2 -2
- package/bundles/src/bin/ngc.js +16 -20432
- package/bundles/src/bin/ngc.js.map +2 -2
- package/bundles_metadata.json +1 -1
- package/linker/src/file_linker/partial_linkers/util.d.ts +2 -2
- package/linker/src/file_linker/translator.d.ts +1 -1
- package/ngcc/src/packages/build_marker.d.ts +1 -1
- package/ngcc/src/packages/entry_point.d.ts +5 -0
- package/ngcc/src/rendering/commonjs_rendering_formatter.d.ts +1 -1
- package/package.json +2 -2
- package/src/ngtsc/typecheck/api/checker.d.ts +1 -1
- package/src/ngtsc/typecheck/src/tcb_util.d.ts +1 -1
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7
7
|
* found in the LICENSE file at https://angular.io/license
|
|
8
8
|
*/
|
|
9
|
-
import { outputAst as o, R3DeclareDependencyMetadata, R3DependencyMetadata,
|
|
9
|
+
import { MaybeForwardRefExpression, outputAst as o, R3DeclareDependencyMetadata, R3DependencyMetadata, R3Reference } from '@angular/compiler';
|
|
10
10
|
import { AstObject, AstValue } from '../../ast/ast_value';
|
|
11
11
|
export declare function wrapReference<TExpression>(wrapped: o.WrappedNodeExpr<TExpression>): R3Reference;
|
|
12
12
|
/**
|
|
@@ -27,4 +27,4 @@ export declare function getDependency<TExpression>(depObj: AstObject<R3DeclareDe
|
|
|
27
27
|
*
|
|
28
28
|
* If there is no forwardRef call expression then we just return the opaque type.
|
|
29
29
|
*/
|
|
30
|
-
export declare function extractForwardRef<TExpression>(expr: AstValue<unknown, TExpression>):
|
|
30
|
+
export declare function extractForwardRef<TExpression>(expr: AstValue<unknown, TExpression>): MaybeForwardRefExpression<o.WrappedNodeExpr<TExpression>>;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* found in the LICENSE file at https://angular.io/license
|
|
8
8
|
*/
|
|
9
9
|
import * as o from '@angular/compiler';
|
|
10
|
-
import { AstFactory, ImportGenerator, TranslatorOptions } from '
|
|
10
|
+
import { AstFactory, ImportGenerator, TranslatorOptions } from '../../../src/ngtsc/translator';
|
|
11
11
|
/**
|
|
12
12
|
* Generic translator helper class, which exposes methods for translating expressions and
|
|
13
13
|
* statements.
|
|
@@ -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.1";
|
|
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.
|
|
@@ -22,6 +22,8 @@ export interface EntryPoint extends JsonObject {
|
|
|
22
22
|
packageName: string;
|
|
23
23
|
/** The path to the package that contains this entry-point. */
|
|
24
24
|
packagePath: AbsoluteFsPath;
|
|
25
|
+
/** The URL of the repository. */
|
|
26
|
+
repositoryUrl: string;
|
|
25
27
|
/** The parsed package.json file for this entry-point. */
|
|
26
28
|
packageJson: EntryPointPackageJson;
|
|
27
29
|
/** The path to a typings (.d.ts) file for this entry-point. */
|
|
@@ -60,6 +62,9 @@ export interface EntryPointPackageJson extends JsonObject, PackageJsonFormatProp
|
|
|
60
62
|
name: string;
|
|
61
63
|
version?: string;
|
|
62
64
|
scripts?: Record<string, string>;
|
|
65
|
+
repository?: string | {
|
|
66
|
+
url: string;
|
|
67
|
+
};
|
|
63
68
|
__processed_by_ivy_ngcc__?: Record<string, string>;
|
|
64
69
|
}
|
|
65
70
|
export declare type EntryPointJsonProperty = Exclude<PackageJsonFormatProperties, 'types' | 'typings'>;
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7
7
|
* found in the LICENSE file at https://angular.io/license
|
|
8
8
|
*/
|
|
9
|
-
import { PathManipulation } from '@angular/compiler-cli/src/ngtsc/file_system';
|
|
10
9
|
import MagicString from 'magic-string';
|
|
11
10
|
import ts from 'typescript';
|
|
11
|
+
import { PathManipulation } from '../../../src/ngtsc/file_system';
|
|
12
12
|
import { Reexport } from '../../../src/ngtsc/imports';
|
|
13
13
|
import { Import, ImportManager } from '../../../src/ngtsc/translator';
|
|
14
14
|
import { ExportInfo } from '../analysis/private_declarations_analyzer';
|
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.1",
|
|
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.1",
|
|
70
70
|
"typescript": ">=4.4.2 <4.5"
|
|
71
71
|
},
|
|
72
72
|
"repository": {
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
*/
|
|
8
8
|
/// <amd-module name="@angular/compiler-cli/src/ngtsc/typecheck/api/checker" />
|
|
9
9
|
import { AST, LiteralPrimitive, ParseSourceSpan, PropertyRead, SafePropertyRead, TmplAstElement, TmplAstNode, TmplAstTemplate, TmplAstTextAttribute } from '@angular/compiler';
|
|
10
|
-
import { AbsoluteFsPath } from '@angular/compiler-cli/src/ngtsc/file_system';
|
|
11
10
|
import ts from 'typescript';
|
|
11
|
+
import { AbsoluteFsPath } from '../../../../src/ngtsc/file_system';
|
|
12
12
|
import { ErrorCode } from '../../diagnostics';
|
|
13
13
|
import { FullTemplateMapping, NgTemplateDiagnostic, TypeCheckableDirectiveMeta } from './api';
|
|
14
14
|
import { GlobalCompletion } from './completion';
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
*/
|
|
8
8
|
/// <amd-module name="@angular/compiler-cli/src/ngtsc/typecheck/src/tcb_util" />
|
|
9
9
|
import { AbsoluteSourceSpan, ParseSourceSpan } from '@angular/compiler';
|
|
10
|
-
import { ClassDeclaration, ReflectionHost } from '@angular/compiler-cli/src/ngtsc/reflection';
|
|
11
10
|
import ts from 'typescript';
|
|
11
|
+
import { ClassDeclaration, ReflectionHost } from '../../../../src/ngtsc/reflection';
|
|
12
12
|
import { Reference } from '../../imports';
|
|
13
13
|
import { FullTemplateMapping, SourceLocation, TemplateId, TemplateSourceMapping } from '../api';
|
|
14
14
|
/**
|