Skip to content

fix(toolkit-lib): dependency constraints are too strict#514

Merged
aws-cdk-automation merged 1 commit intomainfrom
mrgrain/fix/toolkit-lib/monorepo-deps
May 20, 2025
Merged

fix(toolkit-lib): dependency constraints are too strict#514
aws-cdk-automation merged 1 commit intomainfrom
mrgrain/fix/toolkit-lib/monorepo-deps

Conversation

@mrgrain
Copy link
Contributor

@mrgrain mrgrain commented May 20, 2025

Due to a bug, we set constraints for dependency for other monorepo packages to "any future minor version" (i.e. ^1.2.3) forcing consumers to always use latest packages with the toolkit-lib.

What we wanted to do is constrain the use to "any minor version", including already published ones, i.e. ^1.

This change needed an upgrade of our projen Monorepo project type, which is also part of this PR. The API changed slightly here, hence the update of other values.


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

@mrgrain mrgrain temporarily deployed to integ-approval May 20, 2025 16:19 — with GitHub Actions Inactive
@github-actions github-actions bot added the p2 label May 20, 2025
@aws-cdk-automation aws-cdk-automation requested a review from a team May 20, 2025 16:20
Due to a bug, we set constraints for dependency for other monorepo packages to "any future minor version" (i.e. `^1.2.3`) forcing consumers to always use latest packages with the toolkit-lib.

What we wanted to do is constrain the use to "any minor version", including already published ones, i.e. `^1`.
@mrgrain mrgrain force-pushed the mrgrain/fix/toolkit-lib/monorepo-deps branch from 1065ebe to 8ba3eee Compare May 20, 2025 16:27
@mrgrain mrgrain temporarily deployed to integ-approval May 20, 2025 16:27 — with GitHub Actions Inactive
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.99%. Comparing base (d452163) to head (8ba3eee).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #514      +/-   ##
==========================================
+ Coverage   78.97%   78.99%   +0.01%     
==========================================
  Files          46       46              
  Lines        6998     6998              
  Branches      778      781       +3     
==========================================
+ Hits         5527     5528       +1     
+ Misses       1452     1449       -3     
- Partials       19       21       +2     
Flag Coverage Δ
suite.unit 78.99% <ø> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@aws-cdk-automation aws-cdk-automation added this pull request to the merge queue May 20, 2025
Merged via the queue into main with commit 33292d1 May 20, 2025
21 checks passed
@aws-cdk-automation aws-cdk-automation deleted the mrgrain/fix/toolkit-lib/monorepo-deps branch May 20, 2025 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants