(tree: Tree, projectName: string)
| 124 | } |
| 125 | |
| 126 | export async function createDefaultPath(tree: Tree, projectName: string): Promise<string> { |
| 127 | const workspace = await getWorkspace(tree); |
| 128 | const project = workspace.projects.get(projectName); |
| 129 | if (!project) { |
| 130 | throw new Error(`Project "${projectName}" does not exist.`); |
| 131 | } |
| 132 | |
| 133 | return buildDefaultPath(project); |
| 134 | } |
| 135 | |
| 136 | export function* allWorkspaceTargets( |
| 137 | workspace: workspaces.WorkspaceDefinition, |
no test coverage detected