MCPcopy Index your code
hub / github.com/angular/angular-cli / allWorkspaceTargets

Function allWorkspaceTargets

packages/schematics/angular/utility/workspace.ts:136–144  ·  view source on GitHub ↗
(
  workspace: workspaces.WorkspaceDefinition,
)

Source from the content-addressed store, hash-verified

134}
135
136export function* allWorkspaceTargets(
137 workspace: workspaces.WorkspaceDefinition,
138): Iterable<[string, workspaces.TargetDefinition, string, workspaces.ProjectDefinition]> {
139 for (const [projectName, project] of workspace.projects) {
140 for (const [targetName, target] of project.targets) {
141 yield [targetName, target, projectName, project];
142 }
143 }
144}
145
146export function* allTargetOptions(
147 target: workspaces.TargetDefinition,

Callers 2

migration.tsFile · 0.90
updateProjectsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected