Skip to content

chore: get the TypeScript version range from root package.json #7367

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

Merged
merged 5 commits into from
Aug 5, 2023

Conversation

auvred
Copy link
Member

@auvred auvred commented Jul 28, 2023

PR Checklist

Overview

The goal of this PR is to refactor all possible places where the TypeScript version/version range is hardcoded and might be taken from the root package.json.

I found the following places (but there may be a few more here):

@typescript-eslint
Copy link
Contributor

Thanks for the PR, @auvred!

typescript-eslint is a 100% community driven project, and we are incredibly grateful that you are contributing to that community.

The core maintainers work on this in their personal time, so please understand that it may not be possible for them to review your work immediately.

Thanks again!


🙏 Please, if you or your company is finding typescript-eslint valuable, help us sustain the project by sponsoring it transparently on https://opencollective.com/typescript-eslint.

@netlify
Copy link

netlify bot commented Jul 28, 2023

Deploy Preview for typescript-eslint ready!

Name Link
🔨 Latest commit bf4911a
🔍 Latest deploy log https://app.netlify.com/sites/typescript-eslint/deploys/64ceafc89f18160008d58ab4
😎 Deploy Preview https://deploy-preview-7367--typescript-eslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@nx-cloud
Copy link

nx-cloud bot commented Jul 28, 2023

☁️ Nx Cloud Report

CI is running/has finished running commands for commit bf4911a. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this branch


✅ Successfully ran 35 targets

Sent with 💌 from NxCloud.

@JoshuaKGoldberg
Copy link
Member

For the hardcodings that are making things more difficult, I think it's ok to skip them for now. We can always file a followup issue to revisit. I'd rather get this partially fixed than wait on weird intricacies.

Worst case scenario, I bet website-eslint could include version ranges...

@auvred
Copy link
Member Author

auvred commented Jul 31, 2023

Hi! I looked through the website-eslint and didn't find anything there at all about the typescript versions.

So, should I skip last two tasks for now?

@JoshuaKGoldberg
Copy link
Member

Yeah let's skip for now

@auvred auvred marked this pull request as ready for review July 31, 2023 15:56
Copy link
Member

@JoshuaKGoldberg JoshuaKGoldberg left a comment

Choose a reason for hiding this comment

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

💯 love it, thanks @auvred!

I can file a followup issue on the postponed stuff.

@codecov
Copy link

codecov bot commented Aug 5, 2023

Codecov Report

Merging #7367 (2323c06) into main (dfcafae) will not change coverage.
Report is 5 commits behind head on main.
The diff coverage is n/a.

❗ Current head 2323c06 differs from pull request most recent head bf4911a. Consider uploading reports for the commit bf4911a to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7367   +/-   ##
=======================================
  Coverage   87.41%   87.41%           
=======================================
  Files         381      381           
  Lines       13316    13316           
  Branches     3936     3936           
=======================================
  Hits        11640    11640           
  Misses       1298     1298           
  Partials      378      378           
Flag Coverage Δ
unittest 87.41% <ø> (ø)

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

see 1 file with indirect coverage changes

@JoshuaKGoldberg JoshuaKGoldberg merged commit 8352759 into typescript-eslint:main Aug 5, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Repo: Automate version ranges in website's Versioning.md
2 participants