1
0
mirror of https://github.com/angular/angular-cli.git synced 2025-06-01 18:56:18 +08:00
Alan Agius 5986befcdc feat(@schematics/angular): remove deprecated options
With this change we removed several deprecated `@schematics/angular` deprecated options.

BREAKING CHANGE:

We removed several deprecated `@schematics/angular` deprecated options.
- `lintFix` have been removed from all schematics. `ng lint --fix` should be used instead.
- `legacyBrowsers` have been removed from the `application` schematics since IE 11 is no longer supported.
- `configuration` has been removed from the `web-worker` as it was unused.
- `target` has been removed from the `service-worker` as it was unused.
2021-07-30 14:26:53 +01:00

24 lines
638 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "SchematicsAngularServiceWorker",
"title": "Angular Service Worker Options Schema",
"type": "object",
"additionalProperties": false,
"description": "Pass this schematic to the \"run\" command to create a service worker",
"properties": {
"project": {
"type": "string",
"description": "The name of the project.",
"$default": {
"$source": "projectName"
}
},
"target": {
"type": "string",
"description": "The target to apply service worker to.",
"default": "build"
}
},
"required": ["project"]
}