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

docs(typescript-restrictions): clarify non-jsii deps #3995

Merged
merged 5 commits into from
Nov 14, 2023
Merged

docs(typescript-restrictions): clarify non-jsii deps #3995

merged 5 commits into from
Nov 14, 2023

Conversation

giantcow
Copy link
Contributor

@giantcow giantcow commented Mar 8, 2023

I spent about a day and a half trying to figure this out, so I thought I'd add a little clarification :)

tl;dr: I'm making a CDK Construct package that also includes a custom lambda handler. That handler takes on a non-jsii dep but I couldn't figure out why JSII kept trying to compile that non-jsii dep until I read

The API of the jsii module can not expose any type from bundled dependencies, since those types would not be available in other languages.

about 20 times.


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

@mergify
Copy link
Contributor

mergify bot commented Mar 8, 2023

The title of this Pull Request does not conform with [Conventional Commits] guidelines. It will need to be adjusted before the PR can be merged.
[Conventional Commits]: https://www.conventionalcommits.org

@kaizencc kaizencc changed the title docs (typescript-restrictions): Clarify non-jsii deps docs(typescript-restrictions): clarify non-jsii deps Aug 25, 2023
@kaizencc
Copy link
Contributor

@RyoshiKayo any chance you continue your work here and we get this in?

Copy link
Contributor

mergify bot commented Nov 14, 2023

Thank you for contributing! ❤️ I will now look into making sure the PR is up-to-date, then proceed to try and merge it!

@mergify mergify bot added the pr/ready-to-merge This PR is ready to be merged. label Nov 14, 2023
Copy link
Contributor

mergify bot commented Nov 14, 2023

Merging (with squash)...

Copy link
Contributor

mergify bot commented Nov 14, 2023

Merging (with squash)...

@mergify mergify bot merged commit e3191e5 into aws:main Nov 14, 2023
29 checks passed
@mergify mergify bot removed the pr/ready-to-merge This PR is ready to be merged. label Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants