Skip to content

Commit 05fd09d

Browse files
committed
docs: add schema links for Angular workspace
1 parent e9a3aa9 commit 05fd09d

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

docs/documentation/angular-workspace.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,14 @@
1818
- *typescriptMismatch* (`boolean`): The name of the project.
1919

2020
- **schematics** (`object`): Workspace configuration options for Schematics.
21-
- *schematic-package:schematic-name* (`string`): Object containing options for this schematic.
21+
- *schematic-package:schematic-name* (`object`): Object containing options for this schematic. JSON Schema for default schematics:
22+
- [@schematics/angular:component](https://github.com/angular/angular-cli/blob/v6.0.0-rc.8/packages/%40angular/cli/lib/config/schema.json#L74-L144)
23+
- [@schematics/angular:directive](https://github.com/angular/angular-cli/blob/v6.0.0-rc.8/packages/%40angular/cli/lib/config/schema.json#L145-L186)
24+
- [@schematics/angular:module](https://github.com/angular/angular-cli/blob/v6.0.0-rc.8/packages/%40angular/cli/lib/config/schema.json#L187-L223)
25+
- [@schematics/angular:service](https://github.com/angular/angular-cli/blob/v6.0.0-rc.8/packages/%40angular/cli/lib/config/schema.json#L224-L238)
26+
- [@schematics/angular:pipe](https://github.com/angular/angular-cli/blob/v6.0.0-rc.8/packages/%40angular/cli/lib/config/schema.json#L239-L269)
27+
- [@schematics/angular:class](https://github.com/angular/angular-cli/blob/v6.0.0-rc.8/packages/%40angular/cli/lib/config/schema.json#L270-L279)
28+
2229

2330
- **projects**: Configuration options for each project in the workspace.
2431
- *root* (`string`): Root of the project files.
@@ -30,5 +37,14 @@
3037
- *targetName* (`string`): Name of this target.
3138
- *builder* (`string`): Builder for this target, in the format `package-name:builder-name`.
3239
- *options* (`string`): Options for this builder.
40+
JSON Schema for default schematics:
41+
- [@angular-devkit/build-angular:app-shell](https://github.com/angular/angular-cli/blob/v6.0.0-rc.8/packages/%40angular/cli/lib/config/schema.json#L489-L520)
42+
- [@angular-devkit/build-angular:browser](https://github.com/angular/angular-cli/blob/v6.0.0-rc.8/packages/%40angular/cli/lib/config/schema.json#L521-L906)
43+
- [@angular-devkit/build-angular:dev-server](https://github.com/angular/angular-cli/blob/v6.0.0-rc.8/packages/%40angular/cli/lib/config/schema.json#L907-L1028)
44+
- [@angular-devkit/build-angular:extract-i18n](https://github.com/angular/angular-cli/blob/v6.0.0-rc.8/packages/%40angular/cli/lib/config/schema.json#L1029-L1064)
45+
- [@angular-devkit/build-angular:karma](https://github.com/angular/angular-cli/blob/v6.0.0-rc.8/packages/%40angular/cli/lib/config/schema.json#L1065-L1267)
46+
- [@angular-devkit/build-angular:protractor](https://github.com/angular/angular-cli/blob/v6.0.0-rc.8/packages/%40angular/cli/lib/config/schema.json#L1268-L1323)
47+
- [@angular-devkit/build-angular:server](https://github.com/angular/angular-cli/blob/v6.0.0-rc.8/packages/%40angular/cli/lib/config/schema.json#L1324-L1518)
48+
- [@angular-devkit/build-angular:tslint](https://github.com/angular/angular-cli/blob/v6.0.0-rc.8/packages/%40angular/cli/lib/config/schema.json#L1519-L1594)
3349
- *configurations* (`object`): A map of alternative target options.
3450
- *configurationName* (`object`): Partial options override for this builder.

0 commit comments

Comments
 (0)