@angular/cli 12.2.0-rc.0 → 12.2.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/commands/add-impl.js
CHANGED
|
@@ -152,7 +152,7 @@ class AddCommand extends schematic_command_1.SchematicCommand {
|
|
|
152
152
|
const confirmationResponse = await prompt_1.askConfirmation(`\nThe package ${color_1.colors.blue(packageIdentifier.raw)} will be installed and executed.\n` +
|
|
153
153
|
'Would you like to proceed?', true, false);
|
|
154
154
|
if (!confirmationResponse) {
|
|
155
|
-
if (!tty_1.isTTY) {
|
|
155
|
+
if (!tty_1.isTTY()) {
|
|
156
156
|
this.logger.error('No terminal detected. ' +
|
|
157
157
|
`'--skip-confirmation' can be used to bypass installation confirmation. ` +
|
|
158
158
|
`Ensure package name is correct prior to '--skip-confirmation' option usage.`);
|
package/commands/e2e-long.md
CHANGED
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
When a project name is not supplied,
|
|
1
|
+
The command takes an optional project name, as specified in the `projects` section of the `angular.json` workspace configuration file.
|
|
2
|
+
When a project name is not supplied, executes the `e2e` builder for the default project.
|
|
3
|
+
|
|
4
|
+
To use the `ng e2e` command, use `ng add` to add a package that implements end-to-end testing capabilities. Adding the package automatically updates your workspace configuration, adding an `e2e` [CLI builder](guide/cli-builder).
|
package/commands/lint-long.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
The command takes an optional project name, as specified in the `projects` section of the `angular.json` workspace configuration file.
|
|
2
|
-
When a project name is not supplied, executes the `lint` builder for
|
|
2
|
+
When a project name is not supplied, executes the `lint` builder for all projects.
|
|
3
3
|
|
|
4
4
|
To use the `ng lint` command, use `ng add` to add a package that implements linting capabilities. Adding the package automatically updates your workspace configuration, adding a lint [CLI builder](guide/cli-builder).
|
|
5
5
|
For example:
|
package/lib/config/schema.json
CHANGED
|
@@ -612,7 +612,7 @@
|
|
|
612
612
|
"x-user-analytics": 10
|
|
613
613
|
},
|
|
614
614
|
"viewEncapsulation": {
|
|
615
|
-
"description": "The view encapsulation strategy to use in the new
|
|
615
|
+
"description": "The view encapsulation strategy to use in the new application.",
|
|
616
616
|
"enum": [
|
|
617
617
|
"Emulated",
|
|
618
618
|
"None",
|
|
@@ -152,7 +152,7 @@ export interface AngularApplicationOptionsSchema {
|
|
|
152
152
|
*/
|
|
153
153
|
style?: SchematicsAngularApplicationStyle;
|
|
154
154
|
/**
|
|
155
|
-
* The view encapsulation strategy to use in the new
|
|
155
|
+
* The view encapsulation strategy to use in the new application.
|
|
156
156
|
*/
|
|
157
157
|
viewEncapsulation?: ViewEncapsulation;
|
|
158
158
|
}
|
|
@@ -166,7 +166,7 @@ export declare enum SchematicsAngularApplicationStyle {
|
|
|
166
166
|
Scss = "scss"
|
|
167
167
|
}
|
|
168
168
|
/**
|
|
169
|
-
* The view encapsulation strategy to use in the new
|
|
169
|
+
* The view encapsulation strategy to use in the new application.
|
|
170
170
|
*
|
|
171
171
|
* The view encapsulation strategy to use in the new component.
|
|
172
172
|
*
|
|
@@ -26,7 +26,7 @@ var SchematicsAngularApplicationStyle;
|
|
|
26
26
|
SchematicsAngularApplicationStyle["Scss"] = "scss";
|
|
27
27
|
})(SchematicsAngularApplicationStyle = exports.SchematicsAngularApplicationStyle || (exports.SchematicsAngularApplicationStyle = {}));
|
|
28
28
|
/**
|
|
29
|
-
* The view encapsulation strategy to use in the new
|
|
29
|
+
* The view encapsulation strategy to use in the new application.
|
|
30
30
|
*
|
|
31
31
|
* The view encapsulation strategy to use in the new component.
|
|
32
32
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/cli",
|
|
3
|
-
"version": "12.2.
|
|
3
|
+
"version": "12.2.3",
|
|
4
4
|
"description": "CLI tool for Angular",
|
|
5
5
|
"main": "lib/cli/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
},
|
|
29
29
|
"homepage": "https://github.com/angular/angular-cli",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@angular-devkit/architect": "0.1202.
|
|
32
|
-
"@angular-devkit/core": "12.2.
|
|
33
|
-
"@angular-devkit/schematics": "12.2.
|
|
34
|
-
"@schematics/angular": "12.2.
|
|
31
|
+
"@angular-devkit/architect": "0.1202.3",
|
|
32
|
+
"@angular-devkit/core": "12.2.3",
|
|
33
|
+
"@angular-devkit/schematics": "12.2.3",
|
|
34
|
+
"@schematics/angular": "12.2.3",
|
|
35
35
|
"@yarnpkg/lockfile": "1.1.0",
|
|
36
36
|
"ansi-colors": "4.1.1",
|
|
37
37
|
"debug": "4.3.2",
|
|
@@ -51,12 +51,12 @@
|
|
|
51
51
|
"ng-update": {
|
|
52
52
|
"migrations": "@schematics/angular/migrations/migration-collection.json",
|
|
53
53
|
"packageGroup": {
|
|
54
|
-
"@angular/cli": "12.2.
|
|
55
|
-
"@angular-devkit/architect": "0.1202.
|
|
56
|
-
"@angular-devkit/build-angular": "12.2.
|
|
57
|
-
"@angular-devkit/build-webpack": "0.1202.
|
|
58
|
-
"@angular-devkit/core": "12.2.
|
|
59
|
-
"@angular-devkit/schematics": "12.2.
|
|
54
|
+
"@angular/cli": "12.2.3",
|
|
55
|
+
"@angular-devkit/architect": "0.1202.3",
|
|
56
|
+
"@angular-devkit/build-angular": "12.2.3",
|
|
57
|
+
"@angular-devkit/build-webpack": "0.1202.3",
|
|
58
|
+
"@angular-devkit/core": "12.2.3",
|
|
59
|
+
"@angular-devkit/schematics": "12.2.3"
|
|
60
60
|
}
|
|
61
61
|
},
|
|
62
62
|
"engines": {
|