Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: upgrade projen to 0.79 #694

Merged
merged 2 commits into from
Feb 1, 2024
Merged

feat: upgrade projen to 0.79 #694

merged 2 commits into from
Feb 1, 2024

Conversation

cogwirrel
Copy link
Member

@cogwirrel cogwirrel commented Jan 30, 2024

Upgrade projen to ^0.79.6

It may also be worth "pinning" the projen version for the projects PDK exports to the same as the peer dep version to avoid this "unmet peer" issue going forward.

This PR also sets a default version of projen at the monorepo level, and ensures the projen version is synchronised across all subprojects. This default version is the same as the PDK peer dependency version (since PDK dogfoods the TS monorepo), which ensures we won't hit the "unmet peer" issue when projen bump to 0.80 and beyond, and we can update projen in our own time.

Note that projen's test behaviour of synthing to a tmp dir when NODE_ENV=test was set has changed, so I needed to set a different environment variable to avoid breaking all our tests :)

Fixes #661

Upgrade projen to 0.79

Fixes #661
…ojects projen version

This change ensures all subprojects of a monorepo have the same projen version as the monorepo
itself for non-runtime dependencies, and sets the default projen version to 0.79.x. This also
provides a single place to change when updating the peer dependency version of projen for PDK, which
will automatically ensure vended PDK projects have that same version and we avoid the "unmet peer"
warning in future.

Fixes #661
Copy link
Contributor

@agdimech agdimech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good - shall we include the workflow to auto update this as well?

@cogwirrel
Copy link
Member Author

Looks good - shall we include the workflow to auto update this as well?

I'll send a followup PR :)

@cogwirrel cogwirrel merged commit 9eb60a6 into mainline Feb 1, 2024
3 checks passed
@cogwirrel cogwirrel deleted the feat/projen-0.79 branch February 1, 2024 03:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] unmet peer projen@^0.76.25: found 0.77.3
2 participants