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

Update dependency eslint-import-resolver-typescript to v3 #662

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Jun 25, 2022

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
eslint-import-resolver-typescript ^2.4.0 -> ^3.0.0 age adoption passing confidence

Release Notes

import-js/eslint-import-resolver-typescript (eslint-import-resolver-typescript)

v3.7.0

Compare Source

Minor Changes
  • #​326 93ea130 Thanks @​SukkaW! - This version has implemented the eslint-plugin-import-x's v3 resolver interface. This allows you to use import/require to reference eslint-import-resolver-typescript directly in your ESLint flat config:

    Previously

    // eslint.config.js
    module.exports = {
      settings: {
        'import-x/resolver': {
          typescript: {
            alwaysTryTypes: true,
          },
          // or
          require.resolve('eslint-import-resolver-typescript'):
            alwaysTryTypes: true,
          }
        }
      }
    }

    Now

    // eslint.config.js
    const {
      createTypeScriptImportResolver,
    } = require('eslint-import-resolver-typescript')
    
    module.exports = {
      settings: {
        'import-x/resolver-next': [
          createTypeScriptImportResolver({
            alwaysTryTypes: true,
          }),
        ],
      },
    }

    Note that this only works with eslint-plugin-import-x@>=4.5.0. You can't use createTypeScriptImportResolver with the older versions of eslint-plugin-import-x or any existing versions of eslint-plugin-import.

v3.6.3

Compare Source

Patch Changes

v3.6.1

Compare Source

Patch Changes

v3.6.0

Compare Source

Minor Changes

v3.5.5

Compare Source

Patch Changes

v3.5.4

Compare Source

Patch Changes

v3.5.3

Compare Source

Patch Changes
  • #​206 6531bad Thanks @​marvinhagemeister! - Only try to resolve a module directory when we know that the path is a directory. This can lead to a 15% speedup on projects with many files.

v3.5.2

Compare Source

Patch Changes

v3.5.1

Compare Source

Patch Changes

v3.5.0

Compare Source

Minor Changes
Patch Changes

v3.4.2

Compare Source

Patch Changes

v3.4.1

Compare Source

Patch Changes

v3.4.0

Compare Source

Minor Changes

v3.3.0

Compare Source

Minor Changes
  • #​154 42f2dd6 Thanks @​JounQin! - feat: add externsionAlias option support, .d.([cm]?ts|tsx) are always preferred than .([cm]?js|jsx)

    typescript resolves typescript/lib/typescript.d.ts instead of typescript/lib/typescript.js by default

  • #​154 42f2dd6 Thanks @​JounQin! - feat: exports globSync, defaultExtensions, defaultMainFields, defaultConditionNames and defaultExtensionAlias for reusing

Patch Changes

v3.2.7

Compare Source

Patch Changes

v3.2.6

Compare Source

Patch Changes

v3.2.5

Compare Source

Patch Changes

v3.2.4

Compare Source

Patch Changes

v3.2.2

Compare Source

Patch Changes

v3.2.1

Compare Source

Patch Changes

v3.2.0

Compare Source

Minor Changes

v3.1.5

Compare Source

Patch Changes

v3.1.4

Compare Source

Patch Changes

v3.1.3

Compare Source

Patch Changes

v3.1.2

Compare Source

Patch Changes
3.1.1 (2022-06-27)
Bug Fixes

v3.1.1

Compare Source

v3.1.0

Compare Source

⚠ BREAKING CHANGES
  • use enhanced-resolve instead
Features

v3.0.0

Compare Source

⚠ BREAKING CHANGES
  • remove depracated directory option
  • use get-tsconfig to replace tsconfig-paths
  • bump globby, use synckit for sync fn
  • deps: bump tsconfig-paths to ^4.0.0 (#​104)
Features
  • bump globby, use synckit for sync fn (322cb29)

  • ignore node_modules folder in projects option glob (#​105) (1e1b5a6)

  • remove depracated directory option (67c8d59)

  • use get-tsconfig to replace tsconfig-paths (78a08e0)

  • deps: bump tsconfig-paths to ^4.0.0 (#​104) (b2edbc8)

2.7.1 (2022-04-03)
Bug Fixes

v2.7.1

Compare Source

v2.7.0

Compare Source

Features

v2.6.0

Compare Source

Bug Fixes

v2.5.0

Compare Source

Features
  • allow passing through custom options to resolve (#​79) (34c94c8)
Bug Fixes
  • bump (dev)Dependencies, apply stricter rules (#​75) (866f32f)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

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.

0 participants