diff --git a/packages/schematics/angular/BUILD.bazel b/packages/schematics/angular/BUILD.bazel index 17be2a8f1f..3941122834 100644 --- a/packages/schematics/angular/BUILD.bazel +++ b/packages/schematics/angular/BUILD.bazel @@ -142,11 +142,8 @@ pkg_npm( "//packages/angular_devkit/core:package.json", ], deps = [ - "library/library-long.md", ":README.md", ":angular", - ":app-shell/app-shell-long.md", - ":e2e/e2e-long.md", ":license", ":migrations/migration-collection.json", ":utility/latest-versions/package.json", diff --git a/packages/schematics/angular/app-shell/app-shell-long.md b/packages/schematics/angular/app-shell/app-shell-long.md deleted file mode 100644 index c85988337b..0000000000 --- a/packages/schematics/angular/app-shell/app-shell-long.md +++ /dev/null @@ -1,47 +0,0 @@ -An app shell lets Universal render a portion of your application via a route at build time. -This gives users a meaningful first paint of your application that appears quickly -because the browser can simply render the HTML without the need to initialize any JavaScript. - -Use this command with a routing app that is accompanied by a Universal server-side app. - -To create an app shell, use the following command. - - - ng generate app-shell my-app - - -- `my-app` is the name of your client application -- `server-app` is the name of the Universal (server) application - -The command adds two new architect build targets to your `angular.json` configuration file (along with a few other changes). - - -"server": { - "builder": "@angular-devkit/build-angular:server", - "options": { - "outputPath": "dist/my-app-server", - "main": "src/main.server.ts", - "tsConfig": "src/tsconfig.server.json" - } -}, -"app-shell": { - "builder": "@angular-devkit/build-angular:app-shell", - "options": { - "browserTarget": "my-app:build", - "serverTarget": "my-app:server", - "route": "shell" - } -} - - -To verify the that the app has been built with the default shell content: - -1. Run the app-shell target. - - - ng run my-app:app-shell - - -1. Open `dist/app-shell/index.html` in your browser. - -The default text "app-shell works!" verifies that the app-shell route was rendered as part of the output. diff --git a/packages/schematics/angular/app-shell/schema.json b/packages/schematics/angular/app-shell/schema.json index 460a45e960..2267d3c3f6 100644 --- a/packages/schematics/angular/app-shell/schema.json +++ b/packages/schematics/angular/app-shell/schema.json @@ -5,7 +5,6 @@ "type": "object", "description": "Generates an application shell for running a server-side version of an app.", "additionalProperties": false, - "long-description": "./app-shell-long.md", "properties": { "project": { "type": "string", diff --git a/packages/schematics/angular/e2e/e2e-long.md b/packages/schematics/angular/e2e/e2e-long.md deleted file mode 100644 index aa2a9a1758..0000000000 --- a/packages/schematics/angular/e2e/e2e-long.md +++ /dev/null @@ -1,2 +0,0 @@ -The e2e tests are created in a separate application in the `projects` folder of the workspace, -next to the project being tested. diff --git a/packages/schematics/angular/e2e/schema.json b/packages/schematics/angular/e2e/schema.json index 64b5c0e456..441778a4ea 100644 --- a/packages/schematics/angular/e2e/schema.json +++ b/packages/schematics/angular/e2e/schema.json @@ -5,7 +5,6 @@ "type": "object", "additionalProperties": false, "description": "Generates a new, generic end-to-end test definition for the given or default project.", - "long-description": "e2e-long.md", "properties": { "rootSelector": { "description": "The HTML selector for the root component of the test app.", diff --git a/packages/schematics/angular/library/library-long.md b/packages/schematics/angular/library/library-long.md deleted file mode 100644 index a61e0beb3f..0000000000 --- a/packages/schematics/angular/library/library-long.md +++ /dev/null @@ -1,5 +0,0 @@ -A library is a type of project that does not run independently. -The library skeleton created by this command is placed by default in the `/projects` folder, and has `type` of "library". - -You can build a new library using the `ng build` command, run unit tests for it using the `ng test` command, -and lint it using the `ng lint` command. diff --git a/packages/schematics/angular/library/schema.json b/packages/schematics/angular/library/schema.json index 18da4f7676..cb0083e60a 100644 --- a/packages/schematics/angular/library/schema.json +++ b/packages/schematics/angular/library/schema.json @@ -4,7 +4,6 @@ "title": "Library Options Schema", "type": "object", "description": "Creates a new, generic library project in the current workspace.", - "long-description": "./library-long.md", "additionalProperties": false, "properties": { "name": {