Move pulumi new
"install dependencies" implementation into the language plugins
#1334
Labels
area/cli
UX of using the CLI (args, output, logs)
kind/engineering
Work that is not visible to an external user
resolution/fixed
This issue was fixed
Milestone
This is implemented inside
pulumi new
for a simpler initial implementation, but it really should live inside the language plugins long-term. Thenpulumi new
would just call the language plugin (e.g.InstallDependencies
orPrepareProject
) to install dependencies, and the language plugin would handle doing whatever it needs to do. That way, if/when we add new languages,pulumi new
would just work with the new language.Since there is a gRPC boundary between the CLI and language plugin, the tricky part will be making sure we can show the Stdout and Stderr of any commands (e.g.
npm install
) run by the language plugin.The text was updated successfully, but these errors were encountered: