-
Notifications
You must be signed in to change notification settings - Fork 4k
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
chore(v2): literate examples missing from v2 #18118
Conversation
The literate examples are `test/*.lit.ts` files that are included in the `README`s by jsii. Ubergen didn't copy `test` files, because there were issues with the test dependency `@aws-cdk/assert` which couldn't be included into `aws-cdk-lib`. In this PR, add copying of only the literate source files to `ubergen` so that we can include the examples again in READMEs. It is safe since those are integration tests that don't depend on `@aws-cdk/assert` (which is only used by unit tests).
@@ -554,7 +572,6 @@ const IGNORED_FILE_NAMES = new Set([ | |||
'.npmignore', | |||
'node_modules', | |||
'package.json', | |||
'test', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this really be removed? Looks like it should stay, based on a quick skim of where it's used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep
Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
The literate examples are `test/*.lit.ts` files that are included in the `README`s by jsii. Ubergen didn't copy `test` files, because there were issues with the test dependency `@aws-cdk/assert` which couldn't be included into `aws-cdk-lib`. In this PR, add copying of only the literate source files to `ubergen` so that we can include the examples again in READMEs. It is safe since those are integration tests that don't depend on `@aws-cdk/assert` (which is only used by unit tests). Updated some EKS integ tests to no longer depend on test files that don't get copied by this mechanism (`./util.ts`). ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
The literate examples are
test/*.lit.ts
files that are includedin the
README
s by jsii.Ubergen didn't copy
test
files, because there were issues with thetest dependency
@aws-cdk/assert
which couldn't be included intoaws-cdk-lib
.In this PR, add copying of only the literate source files to
ubergen
so that we can include the examples again in READMEs. It is safe since
those are integration tests that don't depend on
@aws-cdk/assert
(which is only used by unit tests).
Updated some EKS integ tests to no longer depend on test files that
don't get copied by this mechanism (
./util.ts
).By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license