@angular/compiler-cli 20.0.0-rc.2 → 20.0.0-rc.3
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-WIAPFYJX.js → chunk-3AHGFMNS.js} +29 -137
- package/bundles/chunk-3AHGFMNS.js.map +6 -0
- package/bundles/{chunk-TQ6LMH6Y.js → chunk-4OIPE63R.js} +8 -9
- package/bundles/{chunk-TQ6LMH6Y.js.map → chunk-4OIPE63R.js.map} +1 -1
- package/bundles/{chunk-N2PFGKJK.js → chunk-5PLBB4J5.js} +2 -2
- package/bundles/{chunk-EQBHFEMJ.js → chunk-A7TLTAA4.js} +2 -2
- package/bundles/chunk-M3WWDK6S.js +296 -0
- package/bundles/chunk-M3WWDK6S.js.map +6 -0
- package/bundles/{chunk-KO3EYK2V.js → chunk-T36IFLGD.js} +19 -26
- package/bundles/chunk-T36IFLGD.js.map +6 -0
- package/bundles/{chunk-6KZLR5QB.js → chunk-TSBVO2TY.js} +4714 -1955
- package/bundles/chunk-TSBVO2TY.js.map +6 -0
- package/bundles/chunk-U5SKOFKE.js +123 -0
- package/bundles/chunk-U5SKOFKE.js.map +6 -0
- package/bundles/{chunk-Q5HXNOYJ.js → chunk-YZVRRB6E.js} +128 -190
- package/bundles/chunk-YZVRRB6E.js.map +6 -0
- package/bundles/index.js +15 -13
- package/bundles/index.js.map +1 -1
- package/bundles/linker/babel/index.js +5 -6
- package/bundles/linker/babel/index.js.map +1 -1
- package/bundles/linker/index.js +2 -3
- package/bundles/private/localize.js +6 -2
- package/bundles/private/migrations.js +7 -7
- package/bundles/private/tooling.js +6 -5
- package/bundles/src/bin/ng_xi18n.js +9 -7
- package/bundles/src/bin/ng_xi18n.js.map +1 -1
- package/bundles/src/bin/ngc.js +9 -7
- package/bundles/src/bin/ngc.js.map +1 -1
- package/linker/babel/src/ast/babel_ast_factory.d.ts +1 -1
- package/linker/babel/src/linker_plugin_options.d.ts +1 -1
- package/linker/src/file_linker/file_linker.d.ts +1 -1
- package/linker/src/file_linker/get_source_file.d.ts +1 -1
- package/linker/src/file_linker/linker_environment.d.ts +1 -1
- package/linker/src/file_linker/partial_linkers/partial_component_linker_1.d.ts +1 -1
- package/linker/src/file_linker/partial_linkers/partial_directive_linker_1.d.ts +1 -1
- package/linker/src/file_linker/partial_linkers/partial_linker_selector.d.ts +1 -1
- package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
- package/linker/src/file_linker/translator.d.ts +3 -1
- package/package.json +7 -2
- package/src/ngtsc/file_system/index.d.ts +1 -0
- package/bundles/chunk-6KZLR5QB.js.map +0 -6
- package/bundles/chunk-B24NLAZZ.js +0 -3236
- package/bundles/chunk-B24NLAZZ.js.map +0 -6
- package/bundles/chunk-KO3EYK2V.js.map +0 -6
- package/bundles/chunk-Q5HXNOYJ.js.map +0 -6
- package/bundles/chunk-WIAPFYJX.js.map +0 -6
- package/bundles_metadata.json +0 -1
- package/src/ngtsc/validation/src/config.d.ts +0 -12
- /package/bundles/{chunk-N2PFGKJK.js.map → chunk-5PLBB4J5.js.map} +0 -0
- /package/bundles/{chunk-EQBHFEMJ.js.map → chunk-A7TLTAA4.js.map} +0 -0
package/bundles/src/bin/ngc.js
CHANGED
|
@@ -5,16 +5,18 @@
|
|
|
5
5
|
|
|
6
6
|
import {
|
|
7
7
|
main
|
|
8
|
-
} from "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
10
|
-
import "../../chunk-
|
|
11
|
-
import "../../chunk-
|
|
12
|
-
import "../../chunk-
|
|
8
|
+
} from "../../chunk-A7TLTAA4.js";
|
|
9
|
+
import "../../chunk-YZVRRB6E.js";
|
|
10
|
+
import "../../chunk-T36IFLGD.js";
|
|
11
|
+
import "../../chunk-TSBVO2TY.js";
|
|
12
|
+
import "../../chunk-M3WWDK6S.js";
|
|
13
13
|
import "../../chunk-WUCT7QTW.js";
|
|
14
14
|
import {
|
|
15
|
-
NodeJSFileSystem,
|
|
16
15
|
setFileSystem
|
|
17
|
-
} from "../../chunk-
|
|
16
|
+
} from "../../chunk-3AHGFMNS.js";
|
|
17
|
+
import {
|
|
18
|
+
NodeJSFileSystem
|
|
19
|
+
} from "../../chunk-U5SKOFKE.js";
|
|
18
20
|
import "../../chunk-KPQ72R34.js";
|
|
19
21
|
|
|
20
22
|
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/bin/ngc.mjs
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../../../packages/compiler-cli/src/bin/ngc.ts"],
|
|
4
|
-
"mappings": "
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;AAUA,OAAO;AAKP,eAAe,gBAAa;AAC1B,UAAQ,QAAQ;AAChB,QAAM,OAAO,QAAQ,KAAK,MAAM,CAAC;AAEjC,gBAAc,IAAI,iBAAgB,CAAE;AAEpC,UAAQ,WAAW,KAAK,MAAM,QAAW,QAAW,QAAW,QAAW,MAAS;AACrF;AAEA,cAAa,EAAG,MAAM,CAAC,MAAK;AAC1B,UAAQ,MAAM,CAAC;AACf,UAAQ,WAAW;AACrB,CAAC;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import { types as t } from '@babel/core';
|
|
9
|
-
import { AstFactory, BinaryOperator, LeadingComment, ObjectLiteralProperty, SourceMapRange, TemplateLiteral, VariableDeclarationType } from '../../../../src/ngtsc/translator';
|
|
9
|
+
import { AstFactory, BinaryOperator, LeadingComment, ObjectLiteralProperty, SourceMapRange, TemplateLiteral, VariableDeclarationType } from '../../../../src/ngtsc/translator/src/api/ast_factory';
|
|
10
10
|
/**
|
|
11
11
|
* A Babel flavored implementation of the AstFactory.
|
|
12
12
|
*/
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import { LinkerOptions } from '../..';
|
|
9
|
-
import { ReadonlyFileSystem } from '../../../src/ngtsc/file_system';
|
|
9
|
+
import { ReadonlyFileSystem } from '../../../src/ngtsc/file_system/src/types';
|
|
10
10
|
import { Logger } from '../../../src/ngtsc/logging';
|
|
11
11
|
export interface LinkerPluginOptions extends Partial<LinkerOptions> {
|
|
12
12
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AbsoluteFsPath } from '../../../src/ngtsc/file_system';
|
|
2
1
|
import { DeclarationScope } from './declaration_scope';
|
|
3
2
|
import { LinkerEnvironment } from './linker_environment';
|
|
3
|
+
import { AbsoluteFsPath } from '../../../src/ngtsc/file_system/src/types';
|
|
4
4
|
export declare const NO_STATEMENTS: Readonly<any[]>;
|
|
5
5
|
/**
|
|
6
6
|
* This class is responsible for linking all the partial declarations found in a single file.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Use of this source code is governed by an MIT-style license that can be
|
|
6
6
|
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
|
-
import { AbsoluteFsPath } from '../../../src/ngtsc/file_system';
|
|
8
|
+
import { AbsoluteFsPath } from '../../../src/ngtsc/file_system/src/types';
|
|
9
9
|
import { SourceFile, SourceFileLoader } from '../../../src/ngtsc/sourcemaps';
|
|
10
10
|
/**
|
|
11
11
|
* A function that will return a `SourceFile` object (or null) for the current file being linked.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Use of this source code is governed by an MIT-style license that can be
|
|
6
6
|
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
|
-
import { ReadonlyFileSystem } from '../../../src/ngtsc/file_system';
|
|
8
|
+
import { ReadonlyFileSystem } from '../../../src/ngtsc/file_system/src/types';
|
|
9
9
|
import { Logger } from '../../../src/ngtsc/logging';
|
|
10
10
|
import { SourceFileLoader } from '../../../src/ngtsc/sourcemaps';
|
|
11
11
|
import { AstFactory } from '../../../src/ngtsc/translator';
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import { ConstantPool, R3PartialDeclaration } from '@angular/compiler';
|
|
9
|
-
import { AbsoluteFsPath } from '../../../../src/ngtsc/file_system';
|
|
10
9
|
import { AstObject } from '../../ast/ast_value';
|
|
11
10
|
import { GetSourceFileFn } from '../get_source_file';
|
|
12
11
|
import { LinkedDefinition, PartialLinker } from './partial_linker';
|
|
12
|
+
import { AbsoluteFsPath } from '../../../../src/ngtsc/file_system/src/types';
|
|
13
13
|
/**
|
|
14
14
|
* A `PartialLinker` that is designed to process `ɵɵngDeclareComponent()` call expressions.
|
|
15
15
|
*/
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import { ConstantPool, ParseSourceSpan, R3DeclareDirectiveMetadata, R3DirectiveMetadata, R3PartialDeclaration } from '@angular/compiler';
|
|
9
|
-
import { AbsoluteFsPath } from '../../../../src/ngtsc/file_system';
|
|
10
9
|
import { Range } from '../../ast/ast_host';
|
|
11
10
|
import { AstObject } from '../../ast/ast_value';
|
|
12
11
|
import { LinkedDefinition, PartialLinker } from './partial_linker';
|
|
12
|
+
import { AbsoluteFsPath } from '../../../../src/ngtsc/file_system/src/types';
|
|
13
13
|
/**
|
|
14
14
|
* A `PartialLinker` that is designed to process `ɵɵngDeclareDirective()` call expressions.
|
|
15
15
|
*/
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import semver from 'semver';
|
|
9
|
-
import { AbsoluteFsPath } from '../../../../src/ngtsc/file_system';
|
|
10
9
|
import { Logger } from '../../../../src/ngtsc/logging';
|
|
11
10
|
import { LinkerEnvironment } from '../linker_environment';
|
|
12
11
|
import { PartialLinker } from './partial_linker';
|
|
12
|
+
import { AbsoluteFsPath } from '../../../../src/ngtsc/file_system/src/types';
|
|
13
13
|
export declare const ɵɵngDeclareDirective = "\u0275\u0275ngDeclareDirective";
|
|
14
14
|
export declare const ɵɵngDeclareClassMetadata = "\u0275\u0275ngDeclareClassMetadata";
|
|
15
15
|
export declare const ɵɵngDeclareComponent = "\u0275\u0275ngDeclareComponent";
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { MaybeForwardRefExpression, outputAst as o, R3DeclareDependencyMetadata, R3DependencyMetadata, R3Reference } from '@angular/compiler';
|
|
9
9
|
import { AstObject, AstValue } from '../../ast/ast_value';
|
|
10
|
-
export declare const PLACEHOLDER_VERSION = "20.0.0-rc.
|
|
10
|
+
export declare const PLACEHOLDER_VERSION = "20.0.0-rc.3";
|
|
11
11
|
export declare function wrapReference<TExpression>(wrapped: o.WrappedNodeExpr<TExpression>): R3Reference;
|
|
12
12
|
/**
|
|
13
13
|
* Parses the value of an enum from the AST value's symbol name.
|
|
@@ -6,7 +6,9 @@
|
|
|
6
6
|
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import * as o from '@angular/compiler';
|
|
9
|
-
import {
|
|
9
|
+
import { TranslatorOptions } from '../../../src/ngtsc/translator/src/translator';
|
|
10
|
+
import { ImportGenerator } from '../../../src/ngtsc/translator/src/api/import_generator';
|
|
11
|
+
import { AstFactory } from '../../../src/ngtsc/translator/src/api/ast_factory';
|
|
10
12
|
/**
|
|
11
13
|
* Generic translator helper class, which exposes methods for translating expressions and
|
|
12
14
|
* statements.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/compiler-cli",
|
|
3
|
-
"version": "20.0.0-rc.
|
|
3
|
+
"version": "20.0.0-rc.3",
|
|
4
4
|
"description": "Angular - the compiler CLI for Node.js",
|
|
5
5
|
"typings": "index.d.ts",
|
|
6
6
|
"bin": {
|
|
@@ -52,9 +52,14 @@
|
|
|
52
52
|
"yargs": "^17.2.1"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
|
-
"@angular/compiler": "20.0.0-rc.
|
|
55
|
+
"@angular/compiler": "20.0.0-rc.3",
|
|
56
56
|
"typescript": ">=5.8 <5.9"
|
|
57
57
|
},
|
|
58
|
+
"peerDependenciesMeta": {
|
|
59
|
+
"typescript": {
|
|
60
|
+
"optional": true
|
|
61
|
+
}
|
|
62
|
+
},
|
|
58
63
|
"devDependencies": {
|
|
59
64
|
"@angular/compiler": "workspace:*"
|
|
60
65
|
},
|
|
@@ -12,3 +12,4 @@ export { NodeJSFileSystem } from './src/node_js_file_system';
|
|
|
12
12
|
export { AbsoluteFsPath, FileStats, FileSystem, PathManipulation, PathSegment, PathString, ReadonlyFileSystem, } from './src/types';
|
|
13
13
|
export { getSourceFileOrError } from './src/util';
|
|
14
14
|
export { createFileSystemTsReadDirectoryFn } from './src/ts_read_directory';
|
|
15
|
+
export { InvalidFileSystem } from './src/invalid_file_system';
|