diff --git a/packages/angular/cli/commands/add.json b/packages/angular/cli/commands/add.json index 68c5e7e61c..9dabd06b8e 100644 --- a/packages/angular/cli/commands/add.json +++ b/packages/angular/cli/commands/add.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/schema", "$id": "ng-cli://commands/add.json", - "description": "Adds support for a published library to your project.", + "description": "Adds support for an external library to your project.", "$longDescription": "./add.md", "$scope": "in", diff --git a/packages/angular/cli/commands/build-long.md b/packages/angular/cli/commands/build-long.md index 1116fcb1dc..0d04d98149 100644 --- a/packages/angular/cli/commands/build-long.md +++ b/packages/angular/cli/commands/build-long.md @@ -1,5 +1,3 @@ -Resources in CSS, such as images and fonts, are automatically written and fingerprinted at the root -of the output folder. If a resource is less than 10kb, it is also included inline. +Resources in CSS, such as images and fonts, are automatically written and fingerprinted at the root of the output folder. -Uses the Webpack build tool, with environment and build options specified in the CLI configuration -file. +Uses the Webpack build tool, with environment and build options specified in the CLI configuration file. diff --git a/packages/angular/cli/commands/e2e.json b/packages/angular/cli/commands/e2e.json index 073fdff3a6..92c626d4c6 100644 --- a/packages/angular/cli/commands/e2e.json +++ b/packages/angular/cli/commands/e2e.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/schema", "$id": "ng-cli://commands/e2e.json", - "description": "Builds and serves an Angular app, and runs end-to-end tests using Protractor.", + "description": "Builds and serves an Angular app, then runs end-to-end tests using Protractor.", "$longDescription": "./e2e-long.md", "$aliases": [ "e" ], diff --git a/packages/angular/cli/commands/eject-long.md b/packages/angular/cli/commands/eject-long.md new file mode 100644 index 0000000000..4509f1b7bd --- /dev/null +++ b/packages/angular/cli/commands/eject-long.md @@ -0,0 +1,8 @@ +The 'eject' command has been disabled and will be removed completely in 8.0. +The new configuration format provides increased flexibility to modify the +configuration of your workspace without ejecting. + +There are several projects that can be used in conjuction with the new +configuration format that provide the benefits of ejecting without the maintenance +overhead. One such project is ngx-build-plus found here: +https://github.com/manfredsteyer/ngx-build-plus \ No newline at end of file diff --git a/packages/angular/cli/commands/eject.json b/packages/angular/cli/commands/eject.json index d5c527d021..714e638843 100644 --- a/packages/angular/cli/commands/eject.json +++ b/packages/angular/cli/commands/eject.json @@ -1,8 +1,8 @@ { "$schema": "http://json-schema.org/schema", "$id": "ng-cli://commands/eject.json", - "description": "Temporarily disabled. Ejects your app and output the proper webpack configuration and scripts.", - "$longDescription": "", + "description": "Deprecated, will be removed in Angular 8.0.", + "$longDescription": "./eject-long.md", "$hidden": true, "$scope": "in", diff --git a/packages/angular/cli/commands/help-long.md b/packages/angular/cli/commands/help-long.md new file mode 100644 index 0000000000..b104a1a6c0 --- /dev/null +++ b/packages/angular/cli/commands/help-long.md @@ -0,0 +1,7 @@ + For help with individual commands, use the `--help` or `-h` option with the command. + + For example, + + ```sh + ng help serve + ``` diff --git a/packages/angular/cli/commands/help.json b/packages/angular/cli/commands/help.json index ecbe1091d4..b8df614b75 100644 --- a/packages/angular/cli/commands/help.json +++ b/packages/angular/cli/commands/help.json @@ -1,8 +1,8 @@ { "$schema": "http://json-schema.org/schema", "$id": "ng-cli://commands/help.json", - "description": "Lists available commands and their short descriptions in the console. \n     For help with individual commands, use the \"--help\" or \"-h\" option with the command.", - "$longDescription": "", + "description": "Lists available commands and their short descriptions.", + "$longDescription": "./help-long.md", "$scope": "all", "$aliases": [], diff --git a/packages/angular/cli/commands/lint.json b/packages/angular/cli/commands/lint.json index 7c28514950..3c409083bc 100644 --- a/packages/angular/cli/commands/lint.json +++ b/packages/angular/cli/commands/lint.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/schema", "$id": "ng-cli://commands/lint.json", - "description": "Runs the TSLint tool on Angular app code in the given project folder.", + "description": "Runs linting tools on Angular app code in a given project folder.", "$longDescription": "./lint-long.md", "$aliases": [ "l" ], diff --git a/packages/angular/cli/commands/run.json b/packages/angular/cli/commands/run.json index 51b74bbacf..e14547ed11 100644 --- a/packages/angular/cli/commands/run.json +++ b/packages/angular/cli/commands/run.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/schema", "$id": "ng-cli://commands/run.json", - "description": "Runs Architect targets.", + "description": "Runs a custom target defined in your project.", "$longDescription": "", "$aliases": [], diff --git a/packages/angular/cli/commands/test.json b/packages/angular/cli/commands/test.json index 79c5a0ef8c..8e800f9cad 100644 --- a/packages/angular/cli/commands/test.json +++ b/packages/angular/cli/commands/test.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/schema", "$id": "ng-cli://commands/test.json", - "description": "Run unit tests in existing project.", + "description": "Runs unit tests in a project.", "$longDescription": "", "$aliases": [ "t" ], diff --git a/packages/angular/cli/commands/update.md b/packages/angular/cli/commands/update-long.md similarity index 100% rename from packages/angular/cli/commands/update.md rename to packages/angular/cli/commands/update-long.md diff --git a/packages/angular/cli/commands/update.json b/packages/angular/cli/commands/update.json index d80759c754..3ccaf012ca 100644 --- a/packages/angular/cli/commands/update.json +++ b/packages/angular/cli/commands/update.json @@ -1,8 +1,8 @@ { "$schema": "http://json-schema.org/schema", "$id": "ng-cli://commands/update.json", - "description": "Updates your application and its dependencies. See \"https://update.angular.io/\"", - "$longDescription": "./update.md", + "description": "Updates your application and its dependencies. See https://update.angular.io/", + "$longDescription": "./update-long.md", "$scope": "all", "$aliases": [],