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

Update Node to v18 and update all dependencies #21

Merged
merged 4 commits into from
Jan 31, 2024

Conversation

cmoesel
Copy link
Member

@cmoesel cmoesel commented Jan 26, 2024

This PR updates Node from 16 to 18 now that Node 16 is EOL. It also updates all dependencies. Only chalk could not be updated due to incompatibility with Jest, which was documented in DEPENDENCY-NOTES.md.

Many thanks to @mint-thompson, who already figured out the hard bits when they updated SUSHI's dependencies.

The tests all pass, but you can also test the CLI manually and pack it up then test using SUSHI as well.

Copy link
Collaborator

@jafeltra jafeltra left a comment

Choose a reason for hiding this comment

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

This looks pretty good. I tested packing it and using it in SUSHI, and the audit report comes out clean.

One thing that I think can also get updated now is the CI workflow to use Node 18 as well. It looks like the test step uses 16 and 18 but the lint and prettier step only uses 16.

@cmoesel
Copy link
Member Author

cmoesel commented Jan 29, 2024

One thing that I think can also get updated now is the CI workflow to use Node 18 as well. It looks like the test step uses 16 and 18 but the lint and prettier step only uses 16.

Ahh... Busted! You got me on that one!

@cmoesel
Copy link
Member Author

cmoesel commented Jan 29, 2024

@jafeltra - Fixed in 4d2719c

Copy link
Collaborator

@jafeltra jafeltra left a comment

Choose a reason for hiding this comment

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

Ah, excellent!

@cmoesel cmoesel merged commit 2608b9c into main Jan 31, 2024
14 checks passed
@cmoesel cmoesel deleted the dependency-updates-jan24 branch January 31, 2024 17:37
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.

2 participants