pulumi/pkg/testing
Julien P 98b90f1902
Add packagemanager prompt to pulumi new for nodejs (#16417)
https://github.com/pulumi/pulumi/pull/16346 introduced the capability to
query the language runtime for additional prompts. We use this to let
the user pick a package manager among npm, yarn and pnpm during `pulumi
new` when using the nodejs runtime.

When there is no explicitly configured package manager, we re-use the
previous behaviour for determining the package manager (check
`PULUMI_PREFER_YARN` env variable, look for lock files).

Defaults to `npm` when running `new` in non-interactive mode.
2024-06-21 11:35:06 +00:00
..
integration Add packagemanager prompt to pulumi new for nodejs (#16417) 2024-06-21 11:35:06 +00:00