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

[eas-cli][eas-json] use node18 as tsconfig base #2739

Merged
merged 3 commits into from
Jan 6, 2025

Conversation

quinlanj
Copy link
Member

@quinlanj quinlanj commented Dec 4, 2024

Why

Followup from #2736 (comment)

Standardize TypeScript configuration across packages by adopting the recommended Node.js 18 TypeScript configuration. This helps ensure consistent TypeScript settings and reduces configuration duplication.

How

  • Added @tsconfig/node18 dependency to eas-cli and eas-json packages
  • Extended the base Node 18 TypeScript configuration in both packages
  • Removed redundant compiler options that are already included in the Node 18 preset
  • Updated module resolution strategy to explicitly use "node"

Test Plan

Current tests pass

Copy link
Member Author

quinlanj commented Dec 4, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Copy link

github-actions bot commented Dec 4, 2024

Size Change: -22.7 kB (-0.04%)

Total Size: 53.4 MB

Filename Size Change
./packages/eas-cli/dist/eas-linux-x64.tar.gz 53.4 MB -22.7 kB (-0.04%)

compressed-size-action

Copy link

codecov bot commented Dec 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 52.51%. Comparing base (5e5b55f) to head (9e79e23).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2739   +/-   ##
=======================================
  Coverage   52.51%   52.51%           
=======================================
  Files         583      583           
  Lines       22582    22582           
  Branches     4452     4452           
=======================================
  Hits        11856    11856           
  Misses      10691    10691           
  Partials       35       35           

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

@quinlanj quinlanj marked this pull request as ready for review December 4, 2024 00:42
Copy link

github-actions bot commented Dec 4, 2024

Subscribed to pull request

File Patterns Mentions
**/* @szdziedzic, @khamilowicz, @sjchmiela, @radoslawkrzemien

Generated by CodeMention

@quinlanj quinlanj mentioned this pull request Dec 4, 2024
1 task
Copy link
Member

@szdziedzic szdziedzic left a comment

Choose a reason for hiding this comment

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

looks reasonable (after merge conflicts are resolved and tests stop failing)

@quinlanj quinlanj force-pushed the 12-03-_eas-cli_eas-json_use_node18_as_tsconfig_base branch from 00e73c5 to ab48012 Compare January 6, 2025 16:49
Copy link

github-actions bot commented Jan 6, 2025

✅ Thank you for adding the changelog entry!

@quinlanj quinlanj merged commit 59bbe19 into main Jan 6, 2025
11 checks passed
@quinlanj quinlanj deleted the 12-03-_eas-cli_eas-json_use_node18_as_tsconfig_base branch January 6, 2025 17:44
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.

3 participants