feat(deps): upgrade upstream dependencies#2168
Conversation
- vite: 578ffb8 -> v8.1.4 (a477454) - tsdown: 0.22.4 -> 0.22.7 - @tsdown/css: 0.22.4 -> 0.22.7 - @tsdown/exe: 0.22.4 -> 0.22.7 - @vitejs/devtools: 0.3.4 -> 0.4.0 Code changes: - Pin postcss-modules@9.0.0 via overrides + patchedDependencies so vite's postcss-modules@9.0.0.patch stays applied (pnpm-workspace.yaml). - Widen typescript peer range to include ^7.0.0 and bump bundledVersions (vite 8.1.3 -> 8.1.4, tsdown 0.22.4 -> 0.22.7) (packages/core/package.json). - Mask the calendar-dependent `Installed:` date in `vp env which` output (crates/vite_cli_snapshots/tests/cli_snapshots/redact.rs). - Update PTY snapshots for the new date redaction and create-template devDependency bumps (command_env_which.md, new_vite_monorepo.md, new_vite_monorepo_bun.md).
✅ Deploy Preview for viteplus-preview canceled.
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Native binary sizes (
|
| Artifact | Format | Base | PR | Change |
|---|---|---|---|---|
vp (Linux x64) |
Binary | 10.32 MiB | 10.32 MiB | 0 B (0.00%) |
vp (Linux x64) |
gzip -9 | 4.42 MiB | 4.42 MiB | 0 B (0.00%) |
| NAPI (Linux x64) | Binary | 33.42 MiB | 33.42 MiB | 0 B (0.00%) |
| NAPI (Linux x64) | gzip -9 | 12.78 MiB | 12.78 MiB | 0 B (0.00%) |
vp (macOS ARM64) |
Binary | 7.64 MiB | 7.64 MiB | 0 B (0.00%) |
vp (macOS ARM64) |
gzip -9 | 3.83 MiB | 3.83 MiB | 0 B (0.00%) |
| NAPI (macOS ARM64) | Binary | 40.78 MiB | 40.78 MiB | 0 B (0.00%) |
| NAPI (macOS ARM64) | gzip -9 | 17.05 MiB | 17.05 MiB | +8 B (+0.00%) |
vp (Windows x64) |
Binary | 8.37 MiB | 8.37 MiB | 0 B (0.00%) |
vp (Windows x64) |
gzip -9 | 3.64 MiB | 3.64 MiB | +2 B (+0.00%) |
| NAPI (Windows x64) | Binary | 27.88 MiB | 27.88 MiB | 0 B (0.00%) |
| NAPI (Windows x64) | gzip -9 | 10.78 MiB | 10.78 MiB | +1 B (+0.00%) |
| Trampoline (Windows x64) | Binary | 203.00 KiB | 203.00 KiB | 0 B (0.00%) |
| Trampoline (Windows x64) | gzip -9 | 97.91 KiB | 97.91 KiB | -2 B (-0.00%) |
| Installer (Windows x64) | Binary | 4.46 MiB | 4.46 MiB | 0 B (0.00%) |
| Installer (Windows x64) | gzip -9 | 2.08 MiB | 2.08 MiB | 0 B (0.00%) |
The app and library monorepo sub-templates are updated independently upstream, and this sync moved the library template to typescript ^7.0.2 while the app template still pins ~6.0.2. Since typescript is an optional peer of vite-plus, the mismatch makes pnpm materialize two vite-plus/vitest peer instances in a freshly created monorepo, breaking the single-instance invariant checked by test-vp-create (npm and yarn hit the equivalent hoist conflict). Align the app package and the generated workspace catalog entry to the library's TypeScript range at create time, so future upstream bumps of either sub-template cannot re-split the workspace. Also refresh the stale `typescript: ^5` catalog fallback in the static template files. Verified with a local-registry vp create + install: vite-plus, vitest, and @voidzero-dev/vite-plus-core each resolve to a single instance with typescript@7.0.2. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
Pushed 30b4224 to fix the three Root cause: this sync moves the bundled library template to Fix: at create time, the app package and the workspace catalog entry now adopt the library template's TypeScript range ( Validation:
With the library on TS7, |
Summary
vitetov8.1.4andtsdown(@tsdown/css,@tsdown/exe) to0.22.7.@vitejs/devtoolsto0.4.0;rolldownand theviteststack are unchanged.postcss-modules@9.0.0so vite's bundled patch keeps applying after its^9.0.0range began resolving to9.0.1.typescriptpeer range to allow^7.0.0and adds a PTY snapshot redaction for the calendar-dependentvp env whichinstall date.Dependency updates
vite578ffb8v8.1.4 (a477454)tsdown0.22.40.22.7@tsdown/css0.22.40.22.7@tsdown/exe0.22.40.22.7@vitejs/devtools0.3.40.4.0Code changes
pnpm-workspace.yaml: bumptsdown/@tsdown/css/@tsdown/execatalog entries to^0.22.7, and pinpostcss-modules@9.0.0viaoverrides+patchedDependenciesso vite'spostcss-modules@9.0.0.patchstays applied.packages/core/package.json: bump@vitejs/devtoolsto^0.4.0, widen thetypescriptpeer range to^5.0.0 || ^6.0.0 || ^7.0.0, and updatebundledVersions(vite8.1.3->8.1.4,tsdown0.22.4->0.22.7).crates/vite_cli_snapshots/tests/cli_snapshots/redact.rs: addINSTALLED_DATE_REto mask the wall-clockInstalled:date invp env whichoutput.command_env_which.md(install date now redacted to<date>), plusnew_vite_monorepo.mdandnew_vite_monorepo_bun.mdreflecting create-template devDependency bumps (typescript^6->^7,@types/node^25->^26, dropped@typescript/native-preview).Build status
sync-remote-and-build: failurebuild-upstream: failure