Skip to content

fix: bundled dependencies cause problems in consuming packages#1475

Merged
aws-cdk-automation merged 1 commit intomainfrom
huijbers/unbundle-api
May 6, 2026
Merged

fix: bundled dependencies cause problems in consuming packages#1475
aws-cdk-automation merged 1 commit intomainfrom
huijbers/unbundle-api

Conversation

@rix0rrr
Copy link
Copy Markdown
Contributor

@rix0rrr rix0rrr commented May 4, 2026

Sister PR to aws/aws-cdk#37726. If npm sees the same dependency bundled at multiple levels inside a bundled dependency, installation will fail.

Remove bundled dependencies here; since this package is not a jsii package, they don't need to be bundled anyway, and they can just be installed by NPM.


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

Sister PR to aws/aws-cdk#37726. If `npm` sees
the same dependency bundled at multiple levels inside a bundled
dependency, installation will fail.

Remove bundled dependencies here; since this package is not a jsii
package, they don't need to be bundled anyway, and they can just
be installed by NPM.
@rix0rrr rix0rrr requested a review from a team May 4, 2026 14:08
@github-actions github-actions Bot added the p2 label May 4, 2026
@aws-cdk-automation aws-cdk-automation requested a review from a team May 4, 2026 14:09
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.10%. Comparing base (63db541) to head (d9eb79e).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1475   +/-   ##
=======================================
  Coverage   88.10%   88.10%           
=======================================
  Files          74       74           
  Lines       10669    10669           
  Branches     1457     1457           
=======================================
  Hits         9400     9400           
  Misses       1241     1241           
  Partials       28       28           
Flag Coverage Δ
suite.unit 88.10% <ø> (ø)

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 6, 2026
Merged via the queue into main with commit 7a14653 May 6, 2026
45 checks passed
@aws-cdk-automation aws-cdk-automation deleted the huijbers/unbundle-api branch May 6, 2026 10:17
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