type-transformations-workshop
type-transformations-workshop copied to clipboard
chore(deps): update dependency vite-tsconfig-paths to v6
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| vite-tsconfig-paths | ^5.0.0 -> ^6.0.0 |
Release Notes
aleclarson/vite-tsconfig-paths (vite-tsconfig-paths)
v6.0.3
v6.0.2
v6.0.1
v6.0.0
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
logFileoption for per-import resolution traces (passtrueforvite-tsconfig-paths.logor provide a path). - Support for root
/*aliases and other absolute-style imports. - Support for
.astrofiles whenallowJs/looseis 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.
v5.1.4
v5.1.3
-
fix: Once an importer is matched, end directory traversal (
b0d8ecb) -
feat: Add
vite-tsconfig-paths:resolvedebug logs (7160d6e) -
chore: Ensure debug logs can be enabled in vitest (
0dc9a8b)
v5.1.2
- fix Windows regression introduced in v5.1.1 (#162)
v5.1.1
- support
${configDir}syntax in include/exclude (#156)
v5.1.0
- Add
skipoption for adding additional directories to be skipped when searching for tsconfig.json files (#146) - Fix path resolution on Windows when other Vite plugins neglect to normalize the
importerpath before callingthis.resolvein theirresolveIdhooks (#157) - Allow both tsconfig.json and jsconfig.json in the same directory (
4124b09)
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.