Skip to content
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

fix: files are not excluded when using user-provided tsconfig (and various other fixes and improvements) (backport #969) #981

Merged

Conversation

aws-cdk-automation
Copy link
Collaborator

Backport

This will backport the following commits from main to maintenance/v5.2:

Questions ?

Please refer to the Backport tool documentation

…rious other fixes and improvements) (#969)

When using a user-provided tsconfig, the `exclude` and `include` options
were incorrectly dropped and instead all `*.ts` files were always
included in the build.

This change also improves on the compile test which previously actually
didn't compile anything.
Also added a bunch of additional configurable options to make many more
common tsconfigs pass the the strict validation.

---

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

[Apache 2.0 license]: https://www.apache.org/licenses/LICENSE-2.0

(cherry picked from commit 2a19bf8)
@aws-cdk-automation aws-cdk-automation added this pull request to the merge queue May 16, 2024
Merged via the queue into maintenance/v5.2 with commit de98036 May 16, 2024
77 checks passed
@aws-cdk-automation aws-cdk-automation deleted the backport/maintenance/v5.2-pr-969 branch May 16, 2024 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-approve Automatically approve this PR backport
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants