chore: release fails because of runtime dependency on private packages - #1776
Merged
Conversation
Contributor
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.OpenSSF Scorecard
Scanned Files
|
aws-cdk-automation
enabled auto-merge
July 29, 2026 16:06
ShadowCat567
approved these changes
Jul 29, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1776 +/- ##
=======================================
Coverage 90.05% 90.06%
=======================================
Files 78 80 +2
Lines 12110 12117 +7
Branches 1698 1699 +1
=======================================
+ Hits 10906 10913 +7
Misses 1175 1175
Partials 29 29
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #
aws-cdk's bundled-only packages (@aws-cdk/private-tools,@aws-cdk/cdk-explorer) were declared as runtimedependencies, so they stay pinned at projen's^0.0.0placeholder (they're never published).gather-versionsincdklabs-projen-project-typesnow fails releases loudly on any0.0.0runtime/peer dependency (cdklabs/cdklabs-projen-project-types#960), breaking our release: https://github.com/aws/aws-cdk-cli/actions/runs/30441825065/job/90542709045Moves both packages to
devDependenciesinstead, since they're inlined by the bundler and not needed as real runtime deps.Checklist
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license