All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.src.utilities.package-tree.d.ts Maven / Gradle / Ivy

There is a newer version: 19.0.0
Show newest version
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.dev/license
 */
import { NgAddSaveDependency } from './package-metadata';
interface PackageJson {
    name: string;
    version: string;
    dependencies?: Record;
    devDependencies?: Record;
    peerDependencies?: Record;
    optionalDependencies?: Record;
    'ng-update'?: {
        migrations?: string;
    };
    'ng-add'?: {
        save?: NgAddSaveDependency;
    };
}
export interface PackageTreeNode {
    name: string;
    version: string;
    path: string;
    package: PackageJson | undefined;
}
export declare function readPackageJson(packageJsonPath: string): Promise;
export declare function findPackageJson(workspaceDir: string, packageName: string): string | undefined;
export declare function getProjectDependencies(dir: string): Promise>;
export {};




© 2015 - 2024 Weber Informatics LLC | Privacy Policy