Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 12, 2026

Bumps vite-tsconfig-paths from 4.3.2 to 6.0.4.

Release notes

Sourced from vite-tsconfig-paths's releases.

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 (#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.

v6.0.0-beta.4

  • fix(windows): ensure drive letter is uppercase (#183)
  • feat: add .astro to JS-like extension regex (fbbc8edb86606c612565a6672c8e0ae93f0001a0)

v6.0.0-beta.3

  • Added support for /* path aliases. (#101)

v6.0.0-beta.2

  • Added a new logFile option.
    Pass logFile: true and the plugin will create a vite-tsconfig-paths.log file in your working directory.

    Using DEBUG=vite-tsconfig-paths in the past has worked pretty well, but it isn't always the most readable. In v6 and above, this plugin will still have debug logs using this approach, but module resolution will only be logged through the new logFile option. The log file will be comprehensive (as in, every import that vite-tsconfig-paths receives will be logged). If an import goes unhandled by this plugin, the reason will be logged. If an import is resolved, the resolved path and the tsconfig path are both logged. In fact, every possible code path (in the context of module resolution) is logged to the log file.

  • Universal support for tsconfig reloading.

... (truncated)

Commits
  • f91de32 chore: release v6.0.4
  • 232f17c fix: move vite to dependencies
  • 8ecf047 fix: initialize resolvers before dependency pre-bundling occurs
  • 6b0e61c chore: release v6.0.3
  • 3d97cb4 fix: ensure project references don’t get lost
  • 6119433 chore(test): add control over -p value of tsc
  • 04e4602 chore(test): add case for common “project reference” pattern (#198)
  • 0f27ad2 chore(docs): mention vite-postgres
  • 4228a54 chore: release v6.0.2
  • cf7147c fix: ensure all paths are normalized for Windows compatibility (#196)
  • Additional commits viewable in compare view

Most Recent Ignore Conditions Applied to This Pull Request
Dependency Name Ignore Conditions
vite-tsconfig-paths [>= 5.a, < 6]

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [vite-tsconfig-paths](https://github.com/aleclarson/vite-tsconfig-paths) from 4.3.2 to 6.0.4.
- [Release notes](https://github.com/aleclarson/vite-tsconfig-paths/releases)
- [Commits](aleclarson/vite-tsconfig-paths@v4.3.2...v6.0.4)

---
updated-dependencies:
- dependency-name: vite-tsconfig-paths
  dependency-version: 6.0.4
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jan 12, 2026
@dependabot dependabot bot requested a review from a team as a code owner January 12, 2026 08:48
@dependabot dependabot bot requested review from davidangb and rjohanek and removed request for a team January 12, 2026 08:48
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jan 12, 2026
@sonarqubecloud
Copy link

@cypress
Copy link

cypress bot commented Jan 12, 2026

jade-data-repo-ui    Run #4674

Run Properties:  status check passed Passed #4674  •  git commit 92799ac23c ℹ️: Merge 245fa21cb0902628a684da584faa51d6ea851303 into 54a5430a95923b97ee0dde286bb3...
Project jade-data-repo-ui
Branch Review dependabot/npm_and_yarn/vite-tsconfig-paths-6.0.4
Run status status check passed Passed #4674
Run duration 00m 35s
Commit git commit 92799ac23c ℹ️: Merge 245fa21cb0902628a684da584faa51d6ea851303 into 54a5430a95923b97ee0dde286bb3...
Committer dependabot[bot]
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 4
View all changes introduced in this branch ↗︎

Copy link

@davidangb davidangb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see also discussion in #1854

@rjohanek rjohanek merged commit d407d6a into develop Jan 12, 2026
15 checks passed
@rjohanek rjohanek deleted the dependabot/npm_and_yarn/vite-tsconfig-paths-6.0.4 branch January 12, 2026 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants