Bump vite-tsconfig-paths from 5.1.4 to 6.0.1 in the npm group
Type: Pull Request
State: Closed
Association: Unknown
Comments: 1
(6 months ago)
(6 months ago)
(6 months ago)
dependencies javascript
poad
Bumps the npm group with 1 update: vite-tsconfig-paths.
Updates vite-tsconfig-paths from 5.1.4 to 6.0.1
Release notes
Sourced from vite-tsconfig-paths's releases.
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.v6.0.0-beta.4
- fix(windows): ensure drive letter is uppercase (#183)
- feat: add
.astroto JS-like extension regex (fbbc8edb86606c612565a6672c8e0ae93f0001a0)v6.0.0-beta.3
- Added support for
/*path aliases. (#101)v6.0.0-beta.2
Added a new
logFileoption.
PasslogFile: trueand the plugin will create avite-tsconfig-paths.logfile in your working directory.Using
DEBUG=vite-tsconfig-pathsin 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 newlogFileoption. 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.
Whether you're usingprojectDiscovery: "lazy"or eager loading, this plugin should now be able to watch and reload tsconfig files when you make changes to them. This feature hasn't been rigorously tested yet. Please report issues you come across.
... (truncated)
Commits
9625d21chore: release v6.0.1ea57709fix: ensure getResolvers is never undefinedafb6ab9chore(docs): tweak readme3951713chore(docs): fix grammar17110f1chore: release v6.0.09a39620chore(docs): update readme for v687890d0chore(docs): add new section to readme08677affeat(refactor): narrow the plugin type to avoid conflicts5ce91a3chore: release v6.0.0-beta.480b4c63fix(windows): ensure drive letter is uppercase (#183)- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions
Package Dependencies
vite-tsconfig-paths
npm
5.1.4 → 6.0.1
Major
the npm group
Technical Details
| ID: | 12114113 |
| UUID: | 3742167418 |
| Node ID: | PR_kwDOE3aIh865itce |
| Host: | GitHub |
| Repository: | poad/github-pull-requester |