pulumi/sdk/nodejs/cmd
Julien 8db3d6dbd9
Fix lookup for pulumi run script when using Volta to manage nodejs (#16649)
We run a short script with nodejs to find the path to the nodejs SDK
entrypoint. In https://github.com/pulumi/pulumi/pull/16160 this script
was changed and used newlines.

This broke when using the Volta package manager to manage different
nodejs versions. Volta adds shim programs into the user's path that
routes to the correct nodejs executable. Seemingly Volta does not handle
the newlines in the arguments.

To fix this, we ensure that the script is on a single line.

Fixes https://github.com/pulumi/pulumi/issues/16393
2024-07-12 15:31:43 +00:00
..
dynamic-provider Upgrade to grpc-js 1.10.1 and remove calls to deprecated server.start (#15500) 2024-02-23 11:32:40 +00:00
pulumi-language-nodejs Fix lookup for pulumi run script when using Volta to manage nodejs (#16649) 2024-07-12 15:31:43 +00:00
run Only look for main in package.json if no entyrpoint was set via Pulumi.yaml (#16363) 2024-06-11 11:36:34 +00:00
run-policy-pack Vendor TypeScript and ts-node (#15622) 2024-04-10 15:26:37 +00:00