* refactor: Separate `createScriptRunnerTask` and `createInstallationTask` from `createTask`
* feat: Add `npm.scriptRunner`
* feat: Add Node.js as script runner
* refactor: Refactor `isPrePostScript`
* refactor: Extract `get*Command`
* fix: Typo
* style: Remove no-op `catch`es
* fix: `node --run` doesn't support `--silent`
* refactor: Use `.map` in `escapeCommandLine`
* chore: Remove TODO
Upstream reviewer is ok with current state
* fix: Fix error the resolved task definition differs from the original
* refactor: Separate `createScriptRunnerTask` and `createInstallationTask` from `createTask`
* feat: Add `npm.scriptRunner`
* feat: Add Node.js as script runner
* refactor: Refactor `isPrePostScript`
* refactor: Extract `get*Command`
* fix: Typo
* style: Remove no-op `catch`es
* fix: `node --run` doesn't support `--silent`
* refactor: Use `.map` in `escapeCommandLine`
* chore: Remove TODO
Upstream reviewer is ok with current state
* Auto-detect Bun by looking for `bun.lockb` lockfile
* Extend `npm.packageManager` setting
* Update documentation
Signed-off-by: Marvin A. Ruder <signed@mruder.dev>
Detects the preferred package manager
and if multiple are present, warns and uses
in priority order: npm => yarn => pnpm
Fixes#102050
Co-authored-by: Alex Ross <alros@microsoft.com>
Detects the preferred package manager
and if multiple are present, warns and uses
in priority order: npm => yarn => pnpm
Fixes#102050
Co-authored-by: Alex Ross <alros@microsoft.com>