Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
feat: create standalone project-service, tsconfig-utils packages#11182
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
feat: create standalone project-service, tsconfig-utils packages#11182
Conversation
Thanks for the PR,@JoshuaKGoldberg! 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 onhttps://opencollective.com/typescript-eslint. |
netlifybot commentedMay 6, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
✅ Deploy Preview fortypescript-eslint ready!
To edit notification comments on pull requests, go to yourNetlify project configuration. |
nx-cloudbot commentedMay 6, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
View yourCI Pipeline Execution ↗ for commit572acf5.
☁️Nx Cloud last updated this comment at |
) { | ||
const options = typeof optionsRaw === 'object' ? optionsRaw : {}; | ||
validateDefaultProjectForFilesGlob(options.allowDefaultProject); |
JoshuaKGoldbergMay 6, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
I created thispopulateProjectService
function here so that it could be what runsvalidateDefaultProjectForFilesGlob
, instead ofcreateProjectService
. This way we don't need to also movevalidateDefaultProjectForFilesGlob
into the new@typescript-eslint/project-service
package.
In other words: validating default project globs is not a part of the new package. That's still specific to typescript-estree.
codecovbot commentedMay 6, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@## main #11182 +/- ##==========================================- Coverage 90.92% 90.91% -0.01%========================================== Files 499 501 +2 Lines 50847 50869 +22 Branches 8384 8382 -2 ==========================================+ Hits 46233 46248 +15- Misses 4599 4606 +7 Partials 15 15
Flags with carried forward coverage won't be shown.Click here to find out more.
🚀 New features to boost your workflow:
|
Uh oh!
There was an error while loading.Please reload this page.
b32a113
tocaa57bb
CompareUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Please update and align with latest main
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Co-authored-by: Brad Zacher <brad.zacher@gmail.com>
4ad8a07
intotypescript-eslint:mainUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
PR Checklist
@typescript-eslint/project-service
package #11181Overview
Creates two new packages:
@typescript-eslint/project-service
: with thecreateProjectService
function used by@typescript-eslint/typescript-estree
within@typescript-eslint/parser
@typescript-eslint/tsconfig-utils
: with thegetParsedConfigFile
function used in both the newly movedcreateProjectService
and not-moveduseProvidedPrograms
functionNeither have any runtime dependencies on any ESLint or other typescript-eslint packages. The only internal production package dependency is
project-service
relying on@typescript-eslint/types
for the sharedProjectServiceOptions
interface.Notably does not change the
@typescript-eslint/types
package, even though that's whereProjectServiceOptions
is declared right now. Moving that interface into the new@typescript-eslint/project-service
package would meanParserOptions
would have a dependency on a package with runtime code. No go.💖