UNPKG

@stacksjs/launchpad

Version:
36 lines 935 B
import type { Path } from './path'; import type { Version } from './version'; export declare interface LaunchpadConfig { verbose: boolean installationPath: string sudoPassword?: string devAware: boolean autoSudo: boolean maxRetries: number timeout: number symlinkVersions: boolean forceReinstall: boolean shimPath: string autoAddToPath: boolean showShellMessages: boolean shellActivationMessage: string shellDeactivationMessage: string useRegistry: boolean installMethod: 'curl' | 'wget' installPath: string } // Types based on previous implementation export declare interface Installation { path: Path pkg: { project: string version: Version } } export declare interface JsonResponse { runtime_env: Record<string, Record<string, string>> pkgs: Installation[] env: Record<string, Record<string, string>> pkg: Installation } export type LaunchpadOptions = Partial<LaunchpadConfig>