chore(deps): update dependency vite-tsconfig-paths to v6 #5

Merged
bagas merged 1 commits from renovate/vite-tsconfig-paths-6.x into main 2026-03-01 14:33:08 +07:00
Collaborator

This PR contains the following updates:

Package Change Age Confidence
vite-tsconfig-paths ^5.1.4^6.0.0 age confidence

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 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 has been generated by Renovate Bot.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [vite-tsconfig-paths](https://github.com/aleclarson/vite-tsconfig-paths) | [`^5.1.4` → `^6.0.0`](https://renovatebot.com/diffs/npm/vite-tsconfig-paths/5.1.4/6.1.1) | ![age](https://developer.mend.io/api/mc/badges/age/npm/vite-tsconfig-paths/6.1.1?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite-tsconfig-paths/5.1.4/6.1.1?slim=true) | --- ### Release Notes <details> <summary>aleclarson/vite-tsconfig-paths (vite-tsconfig-paths)</summary> ### [`v6.1.1`](https://github.com/aleclarson/vite-tsconfig-paths/compare/v6.1.0...v6.1.1) [Compare Source](https://github.com/aleclarson/vite-tsconfig-paths/compare/v6.1.0...v6.1.1) ### [`v6.1.0`](https://github.com/aleclarson/vite-tsconfig-paths/releases/tag/v6.1.0) [Compare Source](https://github.com/aleclarson/vite-tsconfig-paths/compare/v6.0.5...v6.1.0) ##### Features - **New `importerFilter` option:** Provides fine-grained control over which files should have their imports resolved by this plugin. (Closes [#&#8203;175](https://github.com/aleclarson/vite-tsconfig-paths/issues/175), [#&#8203;193](https://github.com/aleclarson/vite-tsconfig-paths/issues/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 [#&#8203;179](https://github.com/aleclarson/vite-tsconfig-paths/issues/179), [#&#8203;180](https://github.com/aleclarson/vite-tsconfig-paths/issues/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`](https://github.com/aleclarson/vite-tsconfig-paths/compare/v6.0.4...v6.0.5) [Compare Source](https://github.com/aleclarson/vite-tsconfig-paths/compare/v6.0.4...v6.0.5) ### [`v6.0.4`](https://github.com/aleclarson/vite-tsconfig-paths/compare/v6.0.3...v6.0.4) [Compare Source](https://github.com/aleclarson/vite-tsconfig-paths/compare/v6.0.3...v6.0.4) ### [`v6.0.3`](https://github.com/aleclarson/vite-tsconfig-paths/compare/v6.0.2...v6.0.3) [Compare Source](https://github.com/aleclarson/vite-tsconfig-paths/compare/v6.0.2...v6.0.3) ### [`v6.0.2`](https://github.com/aleclarson/vite-tsconfig-paths/compare/v6.0.1...v6.0.2) [Compare Source](https://github.com/aleclarson/vite-tsconfig-paths/compare/v6.0.1...v6.0.2) ### [`v6.0.1`](https://github.com/aleclarson/vite-tsconfig-paths/compare/v6.0.0...v6.0.1) [Compare Source](https://github.com/aleclarson/vite-tsconfig-paths/compare/v6.0.0...v6.0.1) ### [`v6.0.0`](https://github.com/aleclarson/vite-tsconfig-paths/releases/tag/v6.0.0) [Compare Source](https://github.com/aleclarson/vite-tsconfig-paths/compare/v5.1.4...v6.0.0) **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 ([#&#8203;183](https://github.com/aleclarson/vite-tsconfig-paths/issues/183)). #### Upgrade notes - Install the stable release: `pnpm add -D vite-tsconfig-paths`. - Opt into lazy discovery or logging when needed: ```ts 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. </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My40Ni4zIiwidXBkYXRlZEluVmVyIjoiNDMuNDYuMyIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Renovate-Clanker added 1 commit 2026-03-01 13:28:02 +07:00
Renovate-Clanker force-pushed renovate/vite-tsconfig-paths-6.x from de8968d98d to 87a565c0d1 2026-03-01 14:30:03 +07:00 Compare
bagas merged commit 03367be183 into main 2026-03-01 14:33:08 +07:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bagas/porto#5