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

chore(deps): bumping jsii from 1.77.0 to 5.1.9 #1075

Merged
merged 1 commit into from
Aug 18, 2023

Conversation

edwards-aws
Copy link
Contributor

@edwards-aws edwards-aws commented Aug 7, 2023

Updated jsii and fixed issues that came up from that.

jsii got more strict about typing during compilation mostly about using errors in catches without first checking its type.

To test this change I ran the ./build.sh script, I also ran yarn run build in each of the example directories to make sure those built as well. I also deployed ./examples/deadline/All-In-AWS-Infrastructure-Basic for TypeScript and Python and ensured that it was deployed correctly.

The new version of jsii also dropped support for Node 14. So I had to make changes to the integ tests to support Node >= 16. The main issues were related to npm changing the working directory to the directory with package.json in it. This broke some scripting that used relative paths.

To test these changes I ran the full integ test suite and ensure all tests passed.

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

@edwards-aws edwards-aws force-pushed the edwards/update_jsii branch 2 times, most recently from 35d0f24 to 7aeefd0 Compare August 8, 2023 19:47
@jusiskin jusiskin added the dependencies This issue is a problem in a dependency. label Aug 17, 2023
Copy link
Contributor

@jusiskin jusiskin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work here, @edwards-aws! Just a few minor suggestions

@jusiskin jusiskin added the breaking-change This issue requires a breaking change to remediate. label Aug 17, 2023
Updated jsii and fixed issues that came up from that.

jsii requires at least Node.js 16. 16 is EOL soon, so change minimum
required version to 18.
Copy link
Contributor

@jusiskin jusiskin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job with this big migration and keeping the RFDK up-to-date. Thanks for all the effort here, @edwards-aws!

@edwards-aws edwards-aws merged commit a875bc0 into aws:mainline Aug 18, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-change This issue requires a breaking change to remediate. dependencies This issue is a problem in a dependency.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants