feat(deps): upgrade upstream dependencies#2162
Closed
voidzero-guard[bot] wants to merge 8 commits into
Closed
Conversation
- vite: 578ffb8 -> v8.1.4 (a477454)
- tsdown: 0.22.4 -> 0.22.5
- @tsdown/css: 0.22.4 -> 0.22.5
- @tsdown/exe: 0.22.4 -> 0.22.5
Code changes:
- packages/core/package.json: widen `typescript` peer range to `^5.0.0 || ^6.0.0 || ^7.0.0`; bump bundled `vite` 8.1.3 -> 8.1.4 and `tsdown` 0.22.4 -> 0.22.5
- pnpm-workspace.yaml: pin `postcss-modules` to 9.0.0 and register `vite/patches/postcss-modules@9.0.0.patch` so the still-shipped vite patch applies (^9.0.0 otherwise re-resolves to 9.0.1 and fails install)
- pnpm-workspace.yaml: add `yuku-*`, `@yuku-parser/*`, `@yuku-codegen/*` to `minimumReleaseAgeExclude`
- crates/vite_cli_snapshots/.../new_vite_monorepo{,_bun}/snapshots: refresh generated `typescript`/`@types/node` devDependency versions
- crates/vite_cli_snapshots/.../command_env_which/snapshots: refresh install date
✅ Deploy Preview for viteplus-preview canceled.
|
Contributor
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 | +77 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 | +1 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 | -11 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 | -1 B (-0.00%) |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates bundled upstream toolchain dependencies (notably Vite and tsdown) and adjusts the repository/tooling to keep installs and generated templates working with the new ecosystem state (including TypeScript 7 support and pnpm patching).
Changes:
- Bump bundled upstream versions (Vite → 8.1.4, tsdown → 0.22.5) and widen the TypeScript peer range to include
^7.0.0. - Pin
postcss-modulesto9.0.0and register a pnpm patch entry to keep installs compatible with the shipped Vite patch. - Add TS7-specific DTS configuration for
vp pack, align monorepo template TypeScript versions, and refresh/redact snapshot fixtures accordingly.
Reviewed changes
Copilot reviewed 13 out of 14 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| pnpm-workspace.yaml | Updates catalog versions, adds minimumReleaseAge exclusions, and pins/patches postcss-modules. |
| pnpm-lock.yaml | Locks updated dependency graph reflecting the upstream/version changes and the new patch entry. |
| packages/tools/.upstream-versions.json | Updates tracked upstream Vite commit hash. |
| packages/core/package.json | Bumps bundled Vite/tsdown versions and widens TypeScript peer range. |
| packages/cli/src/utils/typescript-dts.ts | Adds TS7-aware DTS configuration to route declaration generation through the native compiler. |
| packages/cli/src/pack-bin.ts | Hooks TS7 DTS configuration into vp pack resolved configs. |
| packages/cli/src/create/templates/monorepo.ts | Ensures app and library template TypeScript versions stay aligned. |
| packages/cli/src/create/tests/monorepo.spec.ts | Adds coverage for monorepo TypeScript alignment behavior and refactors helpers. |
| packages/cli/src/tests/typescript-dts.spec.ts | Adds unit tests for the TS7 DTS configuration behavior. |
| crates/vite_cli_snapshots/tests/redact_unit.rs | Adds a unit test ensuring install dates are redacted in outputs. |
| crates/vite_cli_snapshots/tests/cli_snapshots/redact.rs | Adds redaction logic for managed runtime install dates in vp env which snapshots. |
| crates/vite_cli_snapshots/tests/cli_snapshots/fixtures/new_vite_monorepo/snapshots/new_vite_monorepo.md | Refreshes template snapshot deps (TypeScript/@types/node). |
| crates/vite_cli_snapshots/tests/cli_snapshots/fixtures/new_vite_monorepo_bun/snapshots/new_vite_monorepo_bun.md | Refreshes template snapshot deps (TypeScript/@types/node). |
| crates/vite_cli_snapshots/tests/cli_snapshots/fixtures/command_env_which/snapshots/command_env_which.md | Updates snapshot to use <date> placeholder for install date. |
Files not reviewed (1)
- pnpm-lock.yaml: Generated file
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
This reverts commit 51c6812.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
vitetov8.1.4(a477454) andtsdown(plus@tsdown/css/@tsdown/exe) from0.22.4to0.22.5;rolldownandvitestare unchanged.typescriptpeer range to include^7.0.0, and pinpostcss-modulesto9.0.0with its vite patch so install succeeds.Dependency updates
vite578ffb8v8.1.4 (a477454)tsdown0.22.40.22.5@tsdown/css0.22.40.22.5@tsdown/exe0.22.40.22.5Code changes
packages/core/package.json: widen thetypescriptpeer range to^5.0.0 || ^6.0.0 || ^7.0.0; bump bundledvite8.1.3 -> 8.1.4 andtsdown0.22.4 -> 0.22.5.pnpm-workspace.yaml: pinpostcss-modulesto9.0.0and registervite/patches/postcss-modules@9.0.0.patchunderpatchedDependencies—^9.0.0otherwise re-resolves to9.0.1, leaving the still-shipped vite patch unused and failing install.pnpm-workspace.yaml: addyuku-*,@yuku-parser/*, and@yuku-codegen/*tominimumReleaseAgeExclude.crates/vite_cli_snapshots/tests/cli_snapshots/fixtures/new_vite_monorepo{,_bun}/snapshots: refresh generatedtypescript/@types/nodedevDependency versions.crates/vite_cli_snapshots/tests/cli_snapshots/fixtures/command_env_which/snapshots: refresh install date.Build status
sync-remote-and-build: failurebuild-upstream: success