Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: split types into their own package#2229

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

Merged
bradzacher merged 1 commit intomasterfromadd-package-types
Jun 25, 2020

Conversation

bradzacher
Copy link
Member

@bradzacherbradzacher commentedJun 19, 2020
edited
Loading

As part of the scope analysis work, I want to remove its runtime dependency ontypescript-estree, so it doesn't need to depend ontypescript.

This moves the following to a new package,@typescript-eslint/types:

  • AST_NODE_TYPES
  • AST_TOKEN_TYPES
  • TSESTree (aka the types for the typescript-estree AST)
  • ParserOptions (moved out ofexperimental-utils)

This has the added bonus of getting us very close to removing the need forparser to depend onexperimental-utils, which will reduce its dependency tree significantly.

@bradzacherbradzacher added the refactorPRs that refactor code only labelJun 19, 2020
@typescript-eslint
Copy link
Contributor

Thanks for the PR,@bradzacher!

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. As a thank you, your profile/company logo will be added to our main README which receives thousands of unique visitorsper day.

@codecov
Copy link

codecovbot commentedJun 19, 2020
edited
Loading

Codecov Report

Merging#2229 intomaster willdecrease coverage by0.16%.
The diff coverage is91.66%.

@@            Coverage Diff             @@##           master    #2229      +/-   ##==========================================- Coverage   93.46%   93.29%   -0.17%==========================================  Files         174      173       -1       Lines        7953     7788     -165       Branches     2282     2284       +2     ==========================================- Hits         7433     7266     -167- Misses        246      247       +1- Partials      274      275       +1
FlagCoverage Δ
#unittest93.29% <91.66%> (-0.17%)⬇️
Impacted FilesCoverage Δ
...-internal/src/rules/no-typescript-estree-import.ts87.50% <77.77%> (-12.50%)⬇️
.../experimental-utils/src/ts-eslint/ParserOptions.ts100.00% <100.00%> (ø)
packages/parser/src/analyze-scope.ts95.14% <100.00%> (+0.01%)⬆️
packages/parser/src/scope/scope-manager.ts100.00% <100.00%> (ø)
packages/parser/src/scope/scopes.ts100.00% <100.00%> (ø)
...pt-estree/src/ts-estree/estree-to-ts-node-types.ts100.00% <100.00%> (ø)
packages/typescript-estree/src/ts-estree/index.ts100.00% <100.00%> (ø)

As part of the scope analysis work, I want to remove its runtime dependency on `typescript-estree`, so it doesn't need to depend on `typescript`.It only needs a few pieces from the package; AST_NODE_TYPES, and the visitor keys.This moves the following the to a new package, `@typescript-eslint/types`:- `AST_NODE_TYPES`- `AST_TOKEN_TYPES`- `TSESTree` (aka the types for the typescript-estree AST)- `ParserOptions` (moved out of `experimental-utils`)This has the added bonus of getting us very close to removing the need for `parser` to depend on `experimental-utils`, which will reduce its dependency tree significantly.
@bradzacherbradzacher merged commit5f45918 intomasterJun 25, 2020
@bradzacherbradzacher deleted the add-package-types branchJune 25, 2020 00:19
@github-actionsgithub-actionsbot locked asresolvedand limited conversation to collaboratorsJul 25, 2020
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers
No reviews
Assignees
No one assigned
Labels
refactorPRs that refactor code only
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
@bradzacher

[8]ページ先頭

©2009-2025 Movatter.jp