OptionalcwdWorking directory where package manager detection should occur.
OptionallockfileWhether to detect the package manager using lockfiles.
Supported lockfiles:
package-lock.json → npmpnpm-lock.yaml → pnpmyarn.lock → yarnbun.lock or bun.lockb → bunOptionalpackageWhether to inspect package.json for the packageManager field.
Example:
{
"packageManager": "pnpm@10.30.3"
}
Options for detectPM