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

ref!: Follow up to Node v18 changes #797

Merged
merged 7 commits into from
Feb 20, 2025
Merged

ref!: Follow up to Node v18 changes #797

merged 7 commits into from
Feb 20, 2025

Conversation

BYK
Copy link
Member

@BYK BYK commented Feb 19, 2025

Split off from #796

@BYK BYK requested a review from Lms24 February 19, 2025 17:35
Copy link

codecov bot commented Feb 19, 2025

Codecov Report

Attention: Patch coverage is 62.85714% with 13 lines in your changes missing coverage. Please review.

Project coverage is 49.72%. Comparing base (eca89d6) to head (03ddf66).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
src/utils/clack-utils.ts 52.17% 11 Missing ⚠️
e2e-tests/utils/index.ts 71.42% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #797      +/-   ##
==========================================
- Coverage   50.21%   49.72%   -0.49%     
==========================================
  Files          52       52              
  Lines        3529     3505      -24     
  Branches      880      812      -68     
==========================================
- Hits         1772     1743      -29     
- Misses       1756     1761       +5     
  Partials        1        1              
Flag Coverage Δ
e2e-tests 84.61% <71.42%> (-0.68%) ⬇️
unit-tests 48.38% <60.71%> (-0.43%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

Copy link
Member

@Lms24 Lms24 left a comment

Choose a reason for hiding this comment

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

Looks like we still need to pull in a couple of type declarations from the original PR to get the build to pass.

},
) => Promise<childProcess.ChildProcess>;

export { opn };
Copy link
Member

Choose a reason for hiding this comment

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

Since we don't add a type cast to opn anymore, can we get rid of this export and import from 'opn' directly wherever we need it?

Copy link
Member Author

Choose a reason for hiding this comment

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

Good idea but I'd do that later?

"skipLibCheck": true,
"types": [],
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"sourceMap": true,
"inlineSources": true,
"resolveJsonModule": true
"resolveJsonModule": true,
Copy link
Member

Choose a reason for hiding this comment

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

l: since we no longer require the package.json to read the CLI version, can we get rid of resolveJsonModule (IIRC it defaults to false).

edit: Actually not sure if we require a json somewhere else, so feel free to ignore

Copy link
Member Author

Choose a reason for hiding this comment

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

Will do this in a follow up, already planned :)

@BYK BYK requested a review from Lms24 February 20, 2025 13:32
@BYK BYK merged commit 9edc8a5 into master Feb 20, 2025
18 of 19 checks passed
@BYK BYK deleted the byk/feat/node18-follow-up branch February 20, 2025 13:39
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