Commit d46b536
authored
Update dependency vite-tsconfig-paths to v6 (#28289)
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://redirect.github.com/aleclarson/vite-tsconfig-paths)
| [`5.1.4` →
`6.1.1`](https://renovatebot.com/diffs/npm/vite-tsconfig-paths/5.1.4/6.1.1)
|

|

|
---
### Release Notes
<details>
<summary>aleclarson/vite-tsconfig-paths (vite-tsconfig-paths)</summary>
###
[`v6.1.1`](https://redirect.github.com/aleclarson/vite-tsconfig-paths/compare/v6.1.0...v6.1.1)
[Compare
Source](https://redirect.github.com/aleclarson/vite-tsconfig-paths/compare/v6.1.0...v6.1.1)
###
[`v6.1.0`](https://redirect.github.com/aleclarson/vite-tsconfig-paths/releases/tag/v6.1.0)
[Compare
Source](https://redirect.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
[#​175](https://redirect.github.com/aleclarson/vite-tsconfig-paths/issues/175),
[#​193](https://redirect.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
[#​179](https://redirect.github.com/aleclarson/vite-tsconfig-paths/issues/179),
[#​180](https://redirect.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://redirect.github.com/aleclarson/vite-tsconfig-paths/compare/v6.0.4...v6.0.5)
[Compare
Source](https://redirect.github.com/aleclarson/vite-tsconfig-paths/compare/v6.0.4...v6.0.5)
###
[`v6.0.4`](https://redirect.github.com/aleclarson/vite-tsconfig-paths/compare/v6.0.3...v6.0.4)
[Compare
Source](https://redirect.github.com/aleclarson/vite-tsconfig-paths/compare/v6.0.3...v6.0.4)
###
[`v6.0.3`](https://redirect.github.com/aleclarson/vite-tsconfig-paths/compare/v6.0.2...v6.0.3)
[Compare
Source](https://redirect.github.com/aleclarson/vite-tsconfig-paths/compare/v6.0.2...v6.0.3)
###
[`v6.0.2`](https://redirect.github.com/aleclarson/vite-tsconfig-paths/compare/v6.0.1...v6.0.2)
[Compare
Source](https://redirect.github.com/aleclarson/vite-tsconfig-paths/compare/v6.0.1...v6.0.2)
###
[`v6.0.1`](https://redirect.github.com/aleclarson/vite-tsconfig-paths/compare/v6.0.0...v6.0.1)
[Compare
Source](https://redirect.github.com/aleclarson/vite-tsconfig-paths/compare/v6.0.0...v6.0.1)
###
[`v6.0.0`](https://redirect.github.com/aleclarson/vite-tsconfig-paths/releases/tag/v6.0.0)
[Compare
Source](https://redirect.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
([#​183](https://redirect.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**: (in timezone Etc/UTC)
- Branch creation
- Only on Sunday and Saturday (`* * * * 0,6`)
- Between 11:00 PM and 11:59 PM, Monday through Friday (`* 23 * * 1-5`)
- Between 12:00 AM and 04:59 AM, Monday through Saturday (`* 0-4 * *
1-6`)
- Automerge
- Only on Sunday and Saturday (`* * * * 0,6`)
- Between 11:00 PM and 11:59 PM, Monday through Friday (`* 23 * * 1-5`)
- Between 12:00 AM and 04:59 AM, Monday through Saturday (`* 0-4 * *
1-6`)
🚦 **Automerge**: Enabled.
♻ **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.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://redirect.github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yMDUuMyIsInVwZGF0ZWRJblZlciI6IjQzLjIwNS4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: tryghost-renovate[bot] <269725441+tryghost-renovate[bot]@users.noreply.github.com>1 parent 4c52d99 commit d46b536
2 files changed
Lines changed: 6 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments