Hi, hoping someone may be able to help - I've got ...
# typescript
w
Hi, hoping someone may be able to help - I've got an NX monorepo using pnpm for dependencies and currently trying to download all required plugins so as to make deployments "repeatable" in the sense that there may be some time between the preview and deploy and would like to ensure there are no surprises related to dependency / plugin installs changing in between. With this in mind, I'm trying to install the plugins for each project but the
pulumi plugin install
isn't doing anything whereas running
pulumi preview
correctly downloads required plugins. I think this is because our projects don't directly depend on the provider packages - instead we have a separate component library acting as an abstraction layer. Does anyone know of a workaround short of explicitly adding all the library provider dependencies to the project as well?
l
I think this is what peer dependencies are for? Maybe?
w
Will take a look and see if I can make it work with peer dependencies, thanks