aws / jsii-compiler

The jsii compiler for TypeScript
https://aws.github.io/jsii/
Apache License 2.0
27 stars 13 forks source link

fix: typesVersions not respecting outDir from tsconfig file #1238

Closed mrgrain closed 1 month ago

mrgrain commented 1 month ago

Fixes #1234

Also fixes an issue related the .type-compat output path that was discovered when adding tests. When getting outdir from the program, this might be either a relative or absolute path. Previously the code assumed it was always relative which is not correct. This led to absolute paths being used for the .type-compat dir and in the post processing; ultimately leading to a compilation failure. The fix is to ensure outdir & .type-compat are normalized to a relative path.


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

aws-cdk-automation commented 1 month ago

💚 All backports created successfully

Status Branch Result
✅ maintenance/v5.3

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details