Skip to content

DependencyInstaller

Nodepod API


Nodepod API / src / npm / DependencyInstaller

Defined in: src/packages/installer.ts:199

new DependencyInstaller(vol, opts?): DependencyInstaller

Defined in: src/packages/installer.ts:207

MemoryVolume

object & RegistryConfig = {}

DependencyInstaller

install(packageName, version?, flags?): Promise<InstallOutcome>

Defined in: src/packages/installer.ts:240

string

string

InstallFlags = {}

Promise<InstallOutcome>


installFromManifest(manifestPath?, flags?): Promise<InstallOutcome>

Defined in: src/packages/installer.ts:382

string

InstallFlags = {}

Promise<InstallOutcome>


installWorkspace(rootManifestPath?, flags?): Promise<WorkspaceInstallOutcome>

Defined in: src/packages/installer.ts:486

Install a root npm workspace and each child workspace. Workspace-local dependencies are linked through the VFS after external dependencies are installed in the package that consumes them.

string

InstallFlags = {}

Promise<WorkspaceInstallOutcome>


listInstalled(): Record<string, string>

Defined in: src/packages/installer.ts:561

Record<string, string>