project-targets.d.ts 875 B

1234567891011121314
  1. /**
  2. * @license
  3. * Copyright Google LLC All Rights Reserved.
  4. *
  5. * Use of this source code is governed by an MIT-style license that can be
  6. * found in the LICENSE file at https://angular.dev/license
  7. */
  8. import { JsonValue, workspaces } from '@angular-devkit/core';
  9. /** Resolves the architect options for the build target of the given project. */
  10. export declare function getProjectTargetOptions(project: workspaces.ProjectDefinition, buildTarget: string): Record<string, JsonValue | undefined>;
  11. /** Gets all of the default CLI-provided build targets in a project. */
  12. export declare function getProjectBuildTargets(project: workspaces.ProjectDefinition): workspaces.TargetDefinition[];
  13. /** Gets all of the default CLI-provided testing targets in a project. */
  14. export declare function getProjectTestTargets(project: workspaces.ProjectDefinition): workspaces.TargetDefinition[];