/opt/canhelp/node_modules/next/dist/lib/helpers
NameSizeModeActions
get-cache-directory.d.ts920644editdlrm
get-cache-directory.js26950644editdlrm
get-cache-directory.js.map35150644editdlrm
get-npx-command.d.ts640644editdlrm
get-npx-command.js7960644editdlrm
get-npx-command.js.map9460644editdlrm
get-online.d.ts550644editdlrm
get-online.js12820644editdlrm
get-online.js.map16100644editdlrm
get-pkg-manager.d.ts1260644editdlrm
get-pkg-manager.js17800644editdlrm
get-pkg-manager.js.map20320644editdlrm
get-registry.d.ts2160644editdlrm
get-registry.js17940644editdlrm
get-registry.js.map25910644editdlrm
get-reserved-port.d.ts25320644editdlrm
get-reserved-port.js25210644editdlrm
get-reserved-port.js.map32190644editdlrm
install.d.ts7340644editdlrm
install.js25260644editdlrm
install.js.map38590644editdlrm
Edit: /opt/canhelp/node_modules/next/dist/lib/helpers/install.d.ts (734B)
import type { PackageManager } from './get-pkg-manager'; interface InstallArgs { /** * Indicate whether to install packages using npm, pnpm, or yarn. */ packageManager: PackageManager; /** * Indicate whether there is an active internet connection. */ isOnline: boolean; /** * Indicate whether the given dependencies are devDependencies. */ devDependencies?: boolean; } /** * Spawn a package manager installation with either npm, pnpm, or yarn. * * @returns A Promise that resolves once the installation is finished. */ export declare function install(root: string, dependencies: string[], { packageManager, isOnline, devDependencies }: InstallArgs): Promise; export {};