MCPcopy Index your code
hub / github.com/angular/angularfire / ngAdd

Function ngAdd

src/schematics/add/index.ts:7–16  ·  view source on GitHub ↗
(options: DeployOptions)

Source from the content-addressed store, hash-verified

5import { peerDependencies } from '../versions.json';
6
7export 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};

Callers

nothing calls this directly

Calls 1

addDependenciesFunction · 0.90

Tested by

no test coverage detected