(options: DeployOptions)
| 5 | import { peerDependencies } from '../versions.json'; |
| 6 | |
| 7 | export const ngAdd = (options: DeployOptions) => (tree: Tree, context: SchematicContext) => { |
| 8 | addDependencies( |
| 9 | tree, |
| 10 | peerDependencies, |
| 11 | context |
| 12 | ); |
| 13 | const npmInstallTaskId = context.addTask(new NodePackageInstallTask()); |
| 14 | context.addTask(new RunSchematicTask('ng-add-setup-project', options), [npmInstallTaskId]); |
| 15 | return tree; |
| 16 | }; |
nothing calls this directly
no test coverage detected