source: trip-planner-front/node_modules/@angular/cli/utilities/package-tree.d.ts@ 6a3a178

Last change on this file since 6a3a178 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 1.0 KB
Line 
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.io/license
7 */
8import { NgAddSaveDepedency } from './package-metadata';
9interface PackageJson {
10 name: string;
11 version: string;
12 dependencies?: Record<string, string>;
13 devDependencies?: Record<string, string>;
14 peerDependencies?: Record<string, string>;
15 optionalDependencies?: Record<string, string>;
16 'ng-update'?: {
17 migrations?: string;
18 };
19 'ng-add'?: {
20 save?: NgAddSaveDepedency;
21 };
22}
23export interface PackageTreeNode {
24 name: string;
25 version: string;
26 path: string;
27 package: PackageJson | undefined;
28}
29export declare function readPackageJson(packageJsonPath: string): Promise<PackageJson | undefined>;
30export declare function findPackageJson(workspaceDir: string, packageName: string): string | undefined;
31export declare function getProjectDependencies(dir: string): Promise<Map<string, PackageTreeNode>>;
32export {};
Note: See TracBrowser for help on using the repository browser.