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 minimum version for CLIs #2292

Merged
merged 7 commits into from
Mar 20, 2024
Merged

Conversation

FrederikBolding
Copy link
Member

@FrederikBolding FrederikBolding commented Mar 20, 2024

Fixes the checks for minimum versions in the CLI.

The minimum Node.js version we support is 18.16, this was not reflected properly in our CLIs. After this PR the CLIs will check the minimum version themselves by looking in the package.json instead of relying on a constant.

@FrederikBolding FrederikBolding requested a review from a team as a code owner March 20, 2024 08:52
Copy link

codecov bot commented Mar 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.60%. Comparing base (081b0f7) to head (e6e52b8).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2292      +/-   ##
==========================================
- Coverage   96.60%   96.60%   -0.01%     
==========================================
  Files         337      337              
  Lines        7629     7625       -4     
  Branches     1186     1184       -2     
==========================================
- Hits         7370     7366       -4     
  Misses        259      259              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@Mrtenz Mrtenz left a comment

Choose a reason for hiding this comment

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

Can we get the version(s) from package.json's engines?

Mrtenz
Mrtenz previously approved these changes Mar 20, 2024
@FrederikBolding FrederikBolding merged commit 236e90f into main Mar 20, 2024
150 checks passed
@FrederikBolding FrederikBolding deleted the fb/fix-minimum-node-version-for-cli branch March 20, 2024 10:29
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