class Pnpm implements NodePackageManager

Methods

static bool
matches()

Determine if the pnpm package manager is in use.

string
getRunCommand(string $command)

Get the command to run a script using pnpm.

string
getExecCommand(string $command)

Get the command to execute an installed package binary using pnpm.

Details

at line 14
static bool matches()

Determine if the pnpm package manager is in use.

Return Value

bool

at line 22
string getRunCommand(string $command)

Get the command to run a script using pnpm.

Parameters

string $command

Return Value

string

at line 30
string getExecCommand(string $command)

Get the command to execute an installed package binary using pnpm.

Parameters

string $command

Return Value

string