@angular/cli 8.3.0-rc.0 → 8.3.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.md +4 -3
- package/commands/deploy-long.md +20 -7
- package/commands/deploy.d.ts +2 -2
- package/commands/deploy.json +1 -1
- package/package.json +10 -10
package/commands/add.md
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
Adds the npm package for a published library to your workspace, and configures
|
|
2
|
-
|
|
1
|
+
Adds the npm package for a published library to your workspace, and configures
|
|
2
|
+
the project in the current working directory (or the default project if you are
|
|
3
|
+
not in a project directory) to use that library, as specified by the library's schematic.
|
|
3
4
|
For example, adding `@angular/pwa` configures your project for PWA support:
|
|
4
5
|
```bash
|
|
5
6
|
ng add @angular/pwa
|
|
6
7
|
```
|
|
7
8
|
|
|
8
|
-
The default
|
|
9
|
+
The default project is the value of `defaultProject` in `angular.json`.
|
package/commands/deploy-long.md
CHANGED
|
@@ -1,9 +1,22 @@
|
|
|
1
|
-
The
|
|
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 `deploy` builder for the default project.
|
|
2
3
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
To use the `ng deploy` command, use `ng add` to add a package that implements deployment capabilities to your favorite platform.
|
|
5
|
+
Adding the package automatically updates your workspace configuration, adding a deployment
|
|
6
|
+
[CLI builder](guide/cli-builder).
|
|
7
|
+
For example:
|
|
6
8
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
9
|
+
```json
|
|
10
|
+
"projects": {
|
|
11
|
+
"my-project": {
|
|
12
|
+
...
|
|
13
|
+
"architect": {
|
|
14
|
+
...
|
|
15
|
+
"deploy": {
|
|
16
|
+
"builder": "@angular/fire:deploy",
|
|
17
|
+
"options": {}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
```
|
package/commands/deploy.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Invokes the deploy builder for a specified project
|
|
3
|
-
*
|
|
2
|
+
* Invokes the deploy builder for a specified project or for the default project in the
|
|
3
|
+
* workspace.
|
|
4
4
|
*/
|
|
5
5
|
export interface Schema {
|
|
6
6
|
/**
|
package/commands/deploy.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/schema",
|
|
3
3
|
"$id": "ng-cli://commands/deploy.json",
|
|
4
|
-
"description": "Invokes the deploy builder for a specified project
|
|
4
|
+
"description": "Invokes the deploy builder for a specified project or for the default project in the workspace.",
|
|
5
5
|
"$longDescription": "./deploy-long.md",
|
|
6
6
|
|
|
7
7
|
"$aliases": [ "d" ],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/cli",
|
|
3
|
-
"version": "8.3.
|
|
3
|
+
"version": "8.3.3",
|
|
4
4
|
"description": "CLI tool for Angular",
|
|
5
5
|
"main": "lib/cli/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -28,11 +28,11 @@
|
|
|
28
28
|
},
|
|
29
29
|
"homepage": "https://github.com/angular/angular-cli",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@angular-devkit/architect": "0.803.
|
|
32
|
-
"@angular-devkit/core": "8.3.
|
|
33
|
-
"@angular-devkit/schematics": "8.3.
|
|
34
|
-
"@schematics/angular": "8.3.
|
|
35
|
-
"@schematics/update": "0.803.
|
|
31
|
+
"@angular-devkit/architect": "0.803.3",
|
|
32
|
+
"@angular-devkit/core": "8.3.3",
|
|
33
|
+
"@angular-devkit/schematics": "8.3.3",
|
|
34
|
+
"@schematics/angular": "8.3.3",
|
|
35
|
+
"@schematics/update": "0.803.3",
|
|
36
36
|
"@yarnpkg/lockfile": "1.1.0",
|
|
37
37
|
"ansi-colors": "4.1.1",
|
|
38
38
|
"debug": "^4.1.1",
|
|
@@ -50,10 +50,10 @@
|
|
|
50
50
|
"ng-update": {
|
|
51
51
|
"migrations": "@schematics/angular/migrations/migration-collection.json",
|
|
52
52
|
"packageGroup": {
|
|
53
|
-
"@angular/cli": "8.3.
|
|
54
|
-
"@angular-devkit/build-angular": "0.803.
|
|
55
|
-
"@angular-devkit/build-ng-packagr": "0.803.
|
|
56
|
-
"@angular-devkit/build-webpack": "0.803.
|
|
53
|
+
"@angular/cli": "8.3.3",
|
|
54
|
+
"@angular-devkit/build-angular": "0.803.3",
|
|
55
|
+
"@angular-devkit/build-ng-packagr": "0.803.3",
|
|
56
|
+
"@angular-devkit/build-webpack": "0.803.3"
|
|
57
57
|
}
|
|
58
58
|
},
|
|
59
59
|
"engines": {
|