docs: replace defaultCollection with schematicCollections (#45406)

`defaultCollection` has deprecated in favor of `schematicCollections`.

Related to https://github.com/angular/angular-cli/pull/22860

PR Close #45406
This commit is contained in:
Alan Agius
2022-03-21 18:36:00 +01:00
committed by Alex Rickabaugh
parent e80df0d149
commit b716a81e30
+8 -8
View File
@@ -48,14 +48,14 @@ For more information, see [Workspace and project file structure](guide/file-stru
The following configuration properties are a set of options that customize the Angular CLI.
| Property | Description | Value Type |
| :------------------ | :----------------------------------------------------------------------------------------------- | :------------------------------------------------------- |
| `analytics` | Share anonymous [usage data](cli/usage-analytics-gathering) with the Angular Team. | `boolean` \| `ci` |
| `analyticsSharing` | A set of analytics sharing options. | [Analytics sharing options](#analytics-sharing-options) |
| `cache` | Control [persistent disk cache](cli/cache) used by [Angular CLI Builders](guide/cli-builder). | [Cache options](#cache-options) |
| `defaultCollection` | The default schematics collection to use. | `string` |
| `packageManager` | The preferred package manager tool to use. | `npm` \| `cnpm` \| `pnpm` \| `yarn` |
| `warnings` | Control CLI specific console warnings. | [Warnings options](#warnings-options) |
| Property | Description | Value Type |
| :--------------------- | :----------------------------------------------------------------------------------------------- | :------------------------------------------------------- |
| `analytics` | Share anonymous [usage data](cli/usage-analytics-gathering) with the Angular Team. | `boolean` \| `ci` |
| `analyticsSharing` | A set of analytics sharing options. | [Analytics sharing options](#analytics-sharing-options) |
| `cache` | Control [persistent disk cache](cli/cache) used by [Angular CLI Builders](guide/cli-builder). | [Cache options](#cache-options) |
| `schematicCollections` | A list of schematics collections to use. | `string[]` |
| `packageManager` | The preferred package manager tool to use. | `npm` \| `cnpm` \| `pnpm` \| `yarn` |
| `warnings` | Control CLI specific console warnings. | [Warnings options](#warnings-options) |
### Analytics sharing options