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

chore(deps): exclude cdk dependencies from upgrade #82

Merged
merged 1 commit into from
Jun 14, 2021

Conversation

iliapolo
Copy link
Contributor

This PR locked our CDK version to 1.108.0 in package.json. It however did not disable those deps from being upgraded by ncu in the upgrade workflow.

The reason we didn't see cdk upgrades since is actually because the upgrade workflow is failing.

warning "construct-hub-webapp > @emotion/styled > @emotion/babel-plugin > @babel/plugin-syntax-jsx@7.14.5" has unmet peer dependency "@babel/core@^7.0.0-0".
error An unexpected error occurred: "expected hoisted manifest for \"cdk-watchful#@aws-cdk/aws-cloudwatch#@aws-cdk/core\"".

This is the same error we thought would be resolved after ejecting from the AwsCdkLibrary - but apparently it didn't solve it.

Long story short, this PR makes it so the upgrade workflow doesn't try to upgrade cdk deps, enforcing the lock, and coincidentally bypassing the yarn problem (which we still need to figure out).


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@iliapolo iliapolo requested a review from a team June 14, 2021 11:53
@iliapolo iliapolo merged commit db9cf6b into main Jun 14, 2021
@iliapolo iliapolo deleted the epolon/disable-cdk-upgrades branch June 14, 2021 12:03
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.

2 participants