Skip to content

Conversation

@rix0rrr
Copy link
Contributor

@rix0rrr rix0rrr commented Jun 24, 2025

The Pipelines construct used to inspect package.json of the library to come up with the major version of the CDK CLI to use.

This made sense when we were developing v1 and v2 of CDK at the same time, but now that v1 is deprecated and the version lines of library and CLI have been decoupled, this does not make sense anymore.

Just depend on CLI v2 directly, in a clear way.


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

The Pipelines construct used to inspect `package.json` of the library
to come up with the major version of the CDK CLI to use.

This made sense when we were dual-running v1 and v2, but now that v1 is
deprecated and the version lines of library and CLI have been decoupled,
this does not make sense anymore.

Just depend on CLI v2 directly, in a clear way.
@rix0rrr rix0rrr requested review from a team June 24, 2025 10:32
@aws-cdk-automation aws-cdk-automation requested a review from a team June 24, 2025 10:32
@github-actions github-actions bot added the p2 label Jun 24, 2025
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Jun 24, 2025
@mergify
Copy link
Contributor

mergify bot commented Jun 24, 2025

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify
Copy link
Contributor

mergify bot commented Jun 24, 2025

This pull request has been removed from the queue for the following reason: pull request branch update failed.

The pull request can't be updated.

You should update or rebase your pull request manually. If you do, this pull request will automatically be requeued once the queue conditions match again.
If you think this was a flaky issue, you can requeue the pull request, without updating it, by posting a @mergifyio requeue comment.

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildv2Project1C6BFA3F-wQm2hXv2jqQv
  • Commit ID: 0af5d18
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify
Copy link
Contributor

mergify bot commented Jun 25, 2025

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot merged commit a4fc5bd into main Jun 25, 2025
17 checks passed
@mergify mergify bot deleted the huijbers/simple-cli-version branch June 25, 2025 07:09
@github-actions
Copy link
Contributor

Comments on closed issues and PRs are hard for our team to see.
If you need help, please open a new issue that references this one.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 25, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

contribution/core This is a PR that came from AWS. p2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants