Skip to content

chore: upgrade Vite+ toolchain to 1.5.0 - #171

Merged
adamcavendish merged 1 commit into
mainfrom
adamcavendish/upgrade-vite-plus-1.5.0
Nov 9, 2026
Merged

adamcavendish merged 1 commit into
mainfrom
adamcavendish/upgrade-vite-plus-1.5.0

Conversation

@adamcavendish

@adamcavendish adamcavendish commented Nov 9, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Upgrade the generated TypeScript toolchain = "vp" projects from Vite+ ^0.2.5 to ^1.5.0 and regenerate all eight affected package manifest goldens. This upgrades the full bundled toolchain, including Vite and Vitest.

Pin CI bootstrap and documented setup to Vite+ 1.5.0 and TypeScript 7.0.2, document the required Node.js versions, and print tsc --version and vp --version so CI records the compiler and resolved component versions used for validation. The generated TypeScript dependency already targets ^7.0.2, which is the latest stable release verified on npm.

Bundled toolchain

Verified the original 0.2.5 release metadata and installed both the previous and updated dependency ranges in isolated generated projects. A fresh install of the previous ^0.2.5 range currently resolves to 0.2.9.

Component Vite+ 0.2.5 Previous range resolving to 0.2.9 Vite+ 1.5.0
Vite 8.1.4 8.2.1 8.3.5
Vitest 4.1.10 4.1.10 5.1.0
Rolldown 1.1.5 1.2.3 1.2.16
Oxfmt 0.58.0 0.62.0 0.76.0
Oxlint 1.73.0 1.77.0 1.91.0
oxlint-tsgolint 0.24.0 7.0.2001 7.0.2005
tsdown 0.22.7 0.22.14 0.23.4

These components are supplied by the project-local vite-plus package. The repository has no independent Vite/Vitest version constraints or Vitest configuration requiring migration. The generated library configuration passes lint, type checking, and packing with the upgraded toolchain.

Compatibility

  • Vite+ 1.5.0 requires Node.js ^22.18.0 || ^24.11.0 || >=26.0.0.
  • npm/pnpm report an upstream Vitest peer-version warning: the aliased Vite package has package version 1.5.0, while its exported Vite runtime version is 8.3.5. The additional Vitest compatibility run below passes.
  • Formatter integration and enabling full vp check are deferred to a separate PR. Validation continues to use vp check --no-fmt.

Validation

  • cargo test --locked --test golden_tests_typescript_fetch — 91 passed
  • npm exec --yes --package=typescript@7.0.2 -- just golden-typescript::build-tsc — all 78 generated projects passed with TypeScript 7.0.2
  • just golden-typescript::build-vp — all 8 generated projects passed install, lint/type checking, and packing
  • just golden-typescript-clients::test — strict packed declaration checks and all 42 Node runtime tests passed; now also logs resolved tool versions
  • Additional Vitest 5.1.0 compatibility run: ran a temporary copy of the existing 42 runtime tests with only the test-runner import changed from node:test to vite-plus/test and the client import path adjusted; vp test run passed all 42 tests
  • cargo fmt --all -- --check
  • git diff --check

@codecov

codecov Bot commented Nov 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@adamcavendish adamcavendish changed the title chore: upgrade Vite+ to 1.5.0 chore: upgrade Vite+ toolchain to 1.5.0 Nov 9, 2026
@adamcavendish
adamcavendish force-pushed the adamcavendish/upgrade-vite-plus-1.5.0 branch from e45a3cd to 31962e3 Compare November 9, 2026 06:35
- Generate TypeScript clients with vite-plus ^1.5.0 and refresh all eight
  package manifest golden files.
- Pin CI setup to Vite+ 1.5.0 and TypeScript 7.0.2, matching the generated
  compiler dependency, and document bundled versions and Node.js support.
- Report compiler and bundled component versions during validation so CI
  records the complete toolchain used for checking and packing.
@adamcavendish
adamcavendish force-pushed the adamcavendish/upgrade-vite-plus-1.5.0 branch from 31962e3 to 8042572 Compare November 9, 2026 06:41
@adamcavendish
adamcavendish merged commit 97218f6 into main Nov 9, 2026
31 checks passed
@adamcavendish
adamcavendish deleted the adamcavendish/upgrade-vite-plus-1.5.0 branch November 9, 2026 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant