@progress/kendo-angular-schematics
Version:
Kendo UI Schematics for Angular
17 lines (16 loc) • 1.01 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { workspaces } from '@angular-devkit/core';
import { Tree } from '@angular-devkit/schematics';
export type WorkspaceSchema = workspaces.WorkspaceDefinition;
export type WorkspaceProject = workspaces.ProjectDefinition;
export declare function getWorkspace(host: Tree): WorkspaceSchema;
export declare function getWorkspacePath(host: Tree): string;
/**
* Gets a project from the Angular CLI workspace. If no project name is given, the first project
* will be retrieved.
*/
export declare function getProjectFromWorkspace(config: WorkspaceSchema, projectName?: string): any;
export declare function resolveProject(host: Tree, projectName?: string): any;