Skip to content

Migrate UI tooling to Vite and Vitest - #95

Draft
ruibaby wants to merge 1 commit into
mainfrom
chore/migrate-ui-tooling-to-vite
Draft

Migrate UI tooling to Vite and Vitest#95
ruibaby wants to merge 1 commit into
mainfrom
chore/migrate-ui-tooling-to-vite

Conversation

@ruibaby

@ruibaby ruibaby commented Aug 8, 2026

Copy link
Copy Markdown
Member

What does this PR do?

  • Migrates the plugin UI build from Rsbuild to Vite and emits an ESM UI plugin manifest for Halo 2.26.
  • Migrates the UI and SDK unit tests from Rstest to Vitest while retaining the existing happy-dom environment.
  • Updates dynamic imports, UnoCSS integration, icon generation, and the VueUse integration import for Vite compatibility.
  • Removes the direct Rsbuild and Rstest dependencies and regenerates the pnpm lockfile.
  • Raises the minimum supported Halo version to 2.26.

Testing

  • cd ui && pnpm test:unit — 29 test files, 185 tests
  • cd ui && pnpm -C packages/sdk test — 5 test files, 84 tests
  • cd ui && pnpm type-check
  • cd ui && pnpm -C packages/sdk typecheck
  • cd ui && pnpm build-only
  • git diff --check
  • ./gradlew clean build

Notes

  • The UI bundler kit currently uses the temporary pkg.pr.new build for @halo-dev/ui-plugin-bundler-kit@815292f.
  • This PR should remain in draft until the corresponding bundler-kit changes are available from a stable dependency source.

@pkg-pr-new

pkg-pr-new Bot commented Aug 8, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@halo-dev/ai-foundation-sdk@95

commit: 8ca2152

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