Skip to content

What is the correct way to upgrade pdk monorepo dependencies? #644

Answered by agdimech
janeklb asked this question in Q&A
Discussion options

You must be logged in to vote

Hi - upgrade-deps is the way to go from a monorepo perspctive as it will update all packages within the monorepo.

upgrade on the other hand will only update packages for the current package it is executed from. Probably a poor choice of naming from my perspective so I apologize for that. We should probably also add supporting documentation as this is lacking at the moment.

In relation to pdk itself not upgrading, do you mean your dependencies on @aws/pdk?

The pnpm upgrade issue is definitely a bug that needs to be addressed. Let me go ahead and create an issue to track these here: #653

I will close this discussion and ask that you please respond to my questions in the linked issue :)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by janeklb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants