Initial commit
This commit is contained in:
10
node_modules/astro/dist/cli/install-package.d.ts
generated
vendored
Normal file
10
node_modules/astro/dist/cli/install-package.d.ts
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
import type { Logger } from '../core/logger/core.js';
|
||||
type GetPackageOptions = {
|
||||
skipAsk?: boolean;
|
||||
optional?: boolean;
|
||||
cwd?: string;
|
||||
};
|
||||
export declare function getPackage<T>(packageName: string, logger: Logger, options: GetPackageOptions, otherDeps?: string[]): Promise<T | undefined>;
|
||||
export declare function fetchPackageJson(scope: string | undefined, name: string, tag: string): Promise<Record<string, any> | Error>;
|
||||
export declare function fetchPackageVersions(packageName: string): Promise<string[] | Error>;
|
||||
export {};
|
||||
Reference in New Issue
Block a user