-
Notifications
You must be signed in to change notification settings - Fork 4.3k
chore: remodel the aws-cdk repo to support v2 development only #24376
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
Merged
Conversation
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
Adds a `gen.ts` file in `scripts` for aws-cdk-lib which is meant to run as the first step during build in order to generate L1 construct source files. Added support for `*` as a scope in `cfn2ts` in order to enable generating all desired L1s without declaring scopes in package.json.
Move the useful stuff in ubergen into lib/index.ts and add `main` field to package json so packages within the repository can depend on it's functionality. Specifically useful for repo restructure work.
feat(remodel): generate index.ts and .jsiirc.json files
543386a to
180ec7f
Compare
180ec7f to
88b2737
Compare
88b2737 to
17d0468
Compare
17d0468 to
921dd86
Compare
Collaborator
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Contributor
|
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). |
pahud
added a commit
to pahud/aws-cdk
that referenced
this pull request
Apr 17, 2023
…4376) Restructures the repository to reflect the current state of package publishing. Combines all of the stable packages within @aws-cdk/* namespace into aws-cdk-lib, and separates the unstable portions of the alpha modules into their own packages depending on `aws-cdk-lib` for their L1s. Changes how code generation works to run during the build of `aws-cdk-lib` and new cloudformation resources are added automatically when the spec is updated. Removed all of the integration tests and put them into their own package to avoid cyclic dependencies. Integ tests for alpha packages remain with their package source. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 task
mergify bot
pushed a commit
that referenced
this pull request
Aug 3, 2023
Update some outdated repository links and package paths since [repo remodeling](#24376). ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 task
mergify bot
pushed a commit
that referenced
this pull request
Aug 13, 2025
### Issue # (if applicable) n/a ### Reason for this change The core docs currently shown in [the API Reference](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib-readme.html) (as of before this PR is merged), is the one at [packages/aws-cdk-lib/README.md](https://github.com/aws/aws-cdk/blob/aaaa9cc330ea1e2854e764e164fe432aeb8606ca/packages/aws-cdk-lib/README.md) and not [packages/aws-cdk-lib/core/README.md](https://github.com/aws/aws-cdk/blob/aaaa9cc330ea1e2854e764e164fe432aeb8606ca/packages/aws-cdk-lib/core/README.md). Both have a lot of duplication, but there is content that has been added to the core README that is missing from the main doc. [A long time ago](#14280) we enforced both files to have the have the same content, but this got lost in the [big repo remodel of 2023](#24376). ### Description of changes I'm removing the core README.md in favor of the top-level one. All missing content has been backported and some additional fixes where made. ### Describe any new or updated permissions being added n/a ### Description of how you validated changes I checked and none of the places we publish to uses the current core README.md. This is because the contents get dropped as part of the jsii compilation and doesn't end up in the jsii assembly. ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
djglaser
pushed a commit
to djglaser/aws-cdk
that referenced
this pull request
Aug 13, 2025
### Issue # (if applicable) n/a ### Reason for this change The core docs currently shown in [the API Reference](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib-readme.html) (as of before this PR is merged), is the one at [packages/aws-cdk-lib/README.md](https://github.com/aws/aws-cdk/blob/aaaa9cc330ea1e2854e764e164fe432aeb8606ca/packages/aws-cdk-lib/README.md) and not [packages/aws-cdk-lib/core/README.md](https://github.com/aws/aws-cdk/blob/aaaa9cc330ea1e2854e764e164fe432aeb8606ca/packages/aws-cdk-lib/core/README.md). Both have a lot of duplication, but there is content that has been added to the core README that is missing from the main doc. [A long time ago](aws#14280) we enforced both files to have the have the same content, but this got lost in the [big repo remodel of 2023](aws#24376). ### Description of changes I'm removing the core README.md in favor of the top-level one. All missing content has been backported and some additional fixes where made. ### Describe any new or updated permissions being added n/a ### Description of how you validated changes I checked and none of the places we publish to uses the current core README.md. This is because the contents get dropped as part of the jsii compilation and doesn't end up in the jsii assembly. ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
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.
Restructures the repository to reflect the current state of package publishing. Combines all of the stable packages within @aws-cdk/* namespace into aws-cdk-lib, and separates the unstable portions of the alpha modules into their own packages depending on
aws-cdk-libfor their L1s. Changes how code generation works to run during the build ofaws-cdk-liband new cloudformation resources are added automatically when the spec is updated.Removed all of the integration tests and put them into their own package to avoid cyclic dependencies. Integ tests for alpha packages remain with their package source.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license