Skip to content

Upgrade UI template tooling - #8

Merged
ruibaby merged 1 commit into
mainfrom
upgrade/ui-template-tooling
Aug 13, 2026
Merged

ruibaby merged 1 commit into
mainfrom
upgrade/ui-template-tooling

Conversation

@ruibaby

@ruibaby ruibaby commented Aug 12, 2026

Copy link
Copy Markdown
Member

Summary

  • update the generated UI template to current Vue, Vite, Rsbuild, TypeScript, ESLint, Oxlint, Vitest, and related tooling versions
  • align the linting, formatting, TypeScript, editor, and package metadata with the current create-vue starter
  • add a shared Vitest configuration that supports Vue SFCs and Iconify imports in both Vite and Rsbuild projects
  • document the Node.js requirement for generated UI projects

Motivation

Freshly generated Vite projects could not run ESLint because the TypeScript configuration loader dependency was missing.

Freshly generated Rsbuild projects could resolve an incompatible combination of Rsbuild 1 and @rsbuild/plugin-vue 2, causing the build to fail. Rsbuild projects also lacked the Vite plugins required to run Vue SFC unit tests.

This update fixes those failures while keeping the Halo-specific UI plugin entry and bundling behavior unchanged.

Testing

  • pnpm check
  • generated fresh Vite, Rsbuild, and backend-only projects
  • ./gradlew build in generated Vite and Rsbuild projects
  • pnpm build in generated Vite and Rsbuild UI projects
  • pnpm lint in generated Vite and Rsbuild UI projects
  • pnpm exec prettier --check src/
  • verified a real Vue SFC unit test in both generated UI projects
  • pnpm audit --json reported no known vulnerabilities
  • npm pack --dry-run --json
  • git diff --check

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 33e3cb6883

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread template/ui/package.json.template
@ruibaby
ruibaby merged commit fff8497 into main Aug 13, 2026
2 checks passed
@ruibaby
ruibaby deleted the upgrade/ui-template-tooling branch August 13, 2026 03:02
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