Skip to content

Commit 5a57fea

Browse files
kyliaualan-agius4
authored andcommitted
docs(@schematics/angular): add README and update description in schema
Create README for the package, and add missing description in some schema.
1 parent 1c6ba1f commit 5a57fea

File tree

12 files changed

+44
-8
lines changed

12 files changed

+44
-8
lines changed

packages/schematics/angular/README.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# @schematics/angular
2+
3+
This package contains a collection of [schematics](/packages/angular_devkit/schematics/README.md)
4+
for generating an Angular application.
5+
6+
## Schematics
7+
8+
Name | Description
9+
-----|-------------
10+
app-shell | Generates an app shell for running a server-side version of an app
11+
application | Generates a new basic app definition in the "projects" subfolder of the workspace
12+
class | Creates a new, generic class definition in the given or default project
13+
component | Creates a new, generic component definition in the given or default project
14+
directive | Creates a new, generic directive definition in the given or default project
15+
e2e | Generates a new, generic end-to-end test definition for the given or default project
16+
enum | Generates a new, generic enum definition for the given or default project
17+
guard | Generates a new, generic route guard definition in the given or default project
18+
interceptor | Creates a new, generic interceptor definition in the given or default project
19+
interface | Creates a new, generic interface definition in the given or default project
20+
library | Creates a new, generic library project in the current workspace
21+
module | Creates a new, generic NgModule definition in the given or default project
22+
ng-new | Creates a new project by combining the workspace and application schematics
23+
pipe | Creates a new, generic pipe definition in the given or default project
24+
resolver | Creates a new, generic resolver definition in the given or default project
25+
service | Creates a new, generic service definition in the given or default project
26+
service-worker | Pass this schematic to the "run" command to create a service worker
27+
universal | Pass this schematic to the "run" command to set up server-side rendering for an app
28+
web-worker | Creates a new, generic web worker definition in the given or default project
29+
workspace | Initializes an empty workspace and adds the necessary dependencies required by an Angular application
30+
31+
## Disclaimer
32+
33+
While the schematics when executed via the Angular CLI and their associated options are considered stable, the programmatic APIs are not considered officially supported and are not subject to the breaking change guarantees of SemVer.

packages/schematics/angular/class/schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"$id": "SchematicsAngularClass",
44
"title": "Angular Class Options Schema",
55
"type": "object",
6-
"description": "Creates a new generic class definition in the given or default project.",
6+
"description": "Creates a new, generic class definition in the given or default project.",
77
"additionalProperties": false,
88
"properties": {
99
"name": {

packages/schematics/angular/component/schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"$id": "SchematicsAngularComponent",
44
"title": "Angular Component Options Schema",
55
"type": "object",
6-
"description": "Creates a new generic component definition in the given or default project.",
6+
"description": "Creates a new, generic component definition in the given or default project.",
77
"additionalProperties": false,
88
"properties": {
99
"path": {

packages/schematics/angular/directive/schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"$id": "SchematicsAngularDirective",
44
"title": "Angular Directive Options Schema",
55
"type": "object",
6-
"description": "Creates a new generic directive definition in the given or default project.",
6+
"description": "Creates a new, generic directive definition in the given or default project.",
77
"additionalProperties": false,
88
"properties": {
99
"name": {

packages/schematics/angular/interface/schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"title": "Angular Interface Options Schema",
55
"type": "object",
66
"additionalProperties": false,
7-
"description": "Creates a new generic interface definition in the given or default project.",
7+
"description": "Creates a new, generic interface definition in the given or default project.",
88
"properties": {
99
"name": {
1010
"type": "string",

packages/schematics/angular/library/schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"$id": "SchematicsLibrary",
44
"title": "Library Options Schema",
55
"type": "object",
6-
"description": "Creates a new generic library project in the current workspace.",
6+
"description": "Creates a new, generic library project in the current workspace.",
77
"long-description": "./library-long.md",
88
"additionalProperties": false,
99
"properties": {

packages/schematics/angular/module/schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"title": "Angular Module Options Schema",
55
"type": "object",
66
"additionalProperties": false,
7-
"description": "Creates a new generic NgModule definition in the given or default project.",
7+
"description": "Creates a new, generic NgModule definition in the given or default project.",
88
"properties": {
99
"name": {
1010
"type": "string",

packages/schematics/angular/ng-new/schema.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"$id": "SchematicsAngularNgNew",
44
"title": "Angular Ng New Options Schema",
55
"type": "object",
6+
"description": "Creates a new project by combining the workspace and application schematics.",
67
"additionalProperties": false,
78
"properties": {
89
"directory": {

packages/schematics/angular/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "@schematics/angular",
33
"version": "0.0.0",
44
"description": "Schematics specific to Angular",
5+
"homepage": "https://github.com/angular/angular-cli",
56
"keywords": [
67
"blueprints",
78
"code generation",

packages/schematics/angular/pipe/schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"title": "Angular Pipe Options Schema",
55
"type": "object",
66
"additionalProperties": false,
7-
"description": "Creates a new generic pipe definition in the given or default project.",
7+
"description": "Creates a new, generic pipe definition in the given or default project.",
88
"properties": {
99
"name": {
1010
"type": "string",

packages/schematics/angular/web-worker/schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"title": "Angular Web Worker Options Schema",
55
"type": "object",
66
"additionalProperties": false,
7-
"description": "Creates a new generic web worker definition in the given or default project.",
7+
"description": "Creates a new, generic web worker definition in the given or default project.",
88
"properties": {
99
"path": {
1010
"type": "string",

packages/schematics/angular/workspace/schema.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$schema": "http://json-schema.org/draft-07/schema",
33
"$id": "SchematicsAngularWorkspace",
44
"title": "Angular Workspace Options Schema",
5+
"description": "Initializes an empty workspace and adds the necessary dependencies required by an Angular application.",
56
"type": "object",
67
"additionalProperties": false,
78
"properties": {

0 commit comments

Comments
 (0)