UNPKG

angular-toaster

Version:

An Angular Toaster Notification library based on AngularJS-Toaster

16 lines (15 loc) 1.14 kB
import { JsonValue, Path } from "@angular-devkit/core"; import { ProjectDefinition, TargetDefinition, WorkspaceDefinition } from '@schematics/angular/utility'; /** Resolves the architect options for the build target of the given project. */ export declare function getProjectTargetOptions(project: ProjectDefinition, buildTarget: string): Record<string, JsonValue | undefined>; /** Gets all of the default CLI-provided build targets in a project. */ export declare function getProjectBuildTargets(project: ProjectDefinition): TargetDefinition[]; /** Gets all of the default CLI-provided testing targets in a project. */ export declare function getProjectTestTargets(project: ProjectDefinition): TargetDefinition[]; /** Looks for the main TypeScript file in the given project and returns its path. */ export declare function getProjectMainFile(project: ProjectDefinition): Path; /** * Finds the specified project configuration in the workspace. Throws an error if the project * couldn't be found. */ export declare function getProjectFromWorkspace(workspace: WorkspaceDefinition, projectName: string | undefined): ProjectDefinition;