Alan Agius 588823b437 refactor(elements): ng-add schematics (#33723)
This PR brings a couple of changes;
- Removes undeed dependencies in bazel targets such as `//packages/common` & `//packages/core`
- Removes RxJs usage
- Adds `document-register-element` to architect test targets
- Use @schematics/angular helpers
- Uses the standard `$source": "projectName"` to get the projectName, which is defined in the `schema.json`
- Use workspace writer to update the workspace config

PR Close #33723
2019-11-22 17:36:47 -05:00

23 lines
528 B
JSON

{
"$schema": "http://json-schema.org/schema",
"id": "SchematicsAngularElementsNgAdd",
"title": "Angular Elements Ng Add Schema",
"type": "object",
"properties": {
"project": {
"type": "string",
"description": "The name of the project.",
"$default": {
"$source": "projectName"
}
},
"skipPackageJson": {
"description": "When true, does not add dependencies to the \"package.json\" file.",
"type": "boolean",
"default": false
}
},
"required": [
]
}