Skip to content

chore(dev): update dependency vite-tsconfig-paths to v6#2560

Open
bfra-me[bot] wants to merge 1 commit intomainfrom
renovate/vite-tsconfig-paths-6.x
Open

chore(dev): update dependency vite-tsconfig-paths to v6#2560
bfra-me[bot] wants to merge 1 commit intomainfrom
renovate/vite-tsconfig-paths-6.x

Conversation

@bfra-me
Copy link
Contributor

@bfra-me bfra-me bot commented Jan 4, 2026

This PR contains the following updates:

Package Type Update Change OpenSSF
vite-tsconfig-paths devDependencies major 5.1.46.1.1 OpenSSF Scorecard

Release Notes

aleclarson/vite-tsconfig-paths (vite-tsconfig-paths)

v6.1.1

Compare Source

v6.1.0

Compare Source

Features
  • New importerFilter option: Provides fine-grained control over which files should have their imports resolved by this plugin. (Closes #​175, #​193)
  • Ignore .d.ts overrides: The plugin now ignores resolutions that point to .d.ts files, avoiding issues when tsconfig is used for opt-in type overrides. (Closes #​179, #​180)
Performance
  • Hoisted regular expressions out of the hot path in the resolver for better performance.
Internal
  • Added resolvedToDeclarationFile event to the debug log file.

v6.0.5

Compare Source

v6.0.4

Compare Source

v6.0.3

Compare Source

v6.0.2

Compare Source

v6.0.1

Compare Source

v6.0.0

Compare Source

Note: No intentional breaking changes. Major version bump due to extensive internal refactoring; downgrade to v5 if needed.

Highlights
  • On-demand tsconfig discovery via projectDiscovery: "lazy", while eager discovery remains the default.
  • tsconfig/jsconfig files are watched and reloaded automatically in both modes, including during vite build --watch.
  • New logFile option for per-import resolution traces (pass true for vite-tsconfig-paths.log or provide a path).
  • Support for root /* aliases and other absolute-style imports.
  • Support for .astro files when allowJs/loose is enabled.
Fixes
  • More reliable tsconfig watching and resolver refreshes: handles lazy discovery edge cases, recreates resolvers after file changes, tolerates missing directories, and copes better with virtual importers.
  • Windows path handling now normalizes drive-letter casing to avoid missed matches (#​183).
Upgrade notes
  • Install the stable release: pnpm add -D vite-tsconfig-paths.
  • Opt into lazy discovery or logging when needed:
import tsconfigPaths from 'vite-tsconfig-paths'

export default {
  plugins: [
    tsconfigPaths({
      projectDiscovery: 'lazy',
      logFile: true,
    }),
  ],
}
  • Rooted path patterns such as "/*": ["src/*"] now resolve the same way tsserver does.

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 is behind base branch, 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 has been generated by Renovate Bot.

@bfra-me bfra-me bot added dependencies Dependency updates or security alerts devDependencies major Major version changes renovate Renovate bot updates and removed devDependencies labels Jan 4, 2026
@bfra-me bfra-me bot force-pushed the renovate/vite-tsconfig-paths-6.x branch 14 times, most recently from ea80996 to ee32191 Compare January 11, 2026 18:23
@bfra-me bfra-me bot force-pushed the renovate/vite-tsconfig-paths-6.x branch 4 times, most recently from aa2d34c to 5ca4315 Compare January 12, 2026 15:45
@bfra-me bfra-me bot force-pushed the renovate/vite-tsconfig-paths-6.x branch 12 times, most recently from 4d4d41c to cf88f26 Compare January 18, 2026 18:25
@bfra-me bfra-me bot force-pushed the renovate/vite-tsconfig-paths-6.x branch 3 times, most recently from 098d10a to e53b5b6 Compare January 28, 2026 17:55
@bfra-me bfra-me bot force-pushed the renovate/vite-tsconfig-paths-6.x branch from e53b5b6 to 9d69301 Compare February 10, 2026 16:19
@bfra-me bfra-me bot force-pushed the renovate/vite-tsconfig-paths-6.x branch from 9d69301 to 5d133a1 Compare February 14, 2026 23:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependency updates or security alerts major Major version changes renovate Renovate bot updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants