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

feat: split types into their own package #2229

Merged
merged 1 commit into from Jun 25, 2020
Merged

Commits on Jun 25, 2020

  1. feat: split types into their own package

    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.
    bradzacher committed Jun 25, 2020
    Copy the full SHA
    dbbb712 View commit details
    Browse the repository at this point in the history