Skip to content

fix(templates): remove obsolete Vite React configuration - #37

Merged
caorushizi merged 2 commits into
masterfrom
codex/fix-vite-react-template-warnings
Sep 18, 2026
Merged

caorushizi merged 2 commits into
masterfrom
codex/fix-vite-react-template-warnings

Conversation

@caorushizi

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI lite review requested due to automatic review settings September 18, 2026 14:28
@vercel

vercel Bot commented Sep 18, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
one-cli-docs Ready Ready Preview Sep 18, 2026 2:29pm UTC

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

Critical code-splitting configuration issues remain in the React template and dashboard Vite configs.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

Updates React/Rolldown Vite configurations, preserves generated package.json formatting, and adds localized hk repair guidance.

Changes:

  • Migrates Vite tooling and code-splitting configuration.
  • Adds formatting-preserving JSON updates and tests.
  • Adds hook guidance, localization, documentation, and formatting fixes.
File summaries
File Summary
packages/templates/react-spa/vite.config.ts Updates React build configuration; code-splitting groups need correction.
packages/templates/react-spa/package.json Replaces the obsolete React plugin dependency.
packages/templates/expo-mobile/src/app/(tabs)/index.tsx Applies JSX formatting changes.
packages/cli/internal/transport/cobra/hooks/cmd.go Adds failed-check repair guidance.
packages/cli/internal/transport/cobra/hooks/cmd_test.go Tests hook failure hints.
packages/cli/internal/platform/i18n/locales/zh-CN.json Adds Chinese localized guidance.
packages/cli/internal/platform/i18n/locales/en-US.json Adds English localized guidance.
packages/cli/internal/modules/creation/workspace_content.go Adjusts generated package ordering.
packages/cli/internal/modules/creation/package_format_test.go Tests generated project formatting.
packages/cli/internal/modules/creation/ordered_json.go Uses shared ordered JSON encoding.
packages/cli/internal/modules/creation/languages.go Preserves package formatting during updates.
packages/cli/internal/modules/creation/json_fields.go Adds targeted JSON field editing.
packages/cli/internal/modules/creation/json_fields_test.go Tests formatting preservation and validation.
docs/plans/2026-09-18-generated-project-formatting.md Documents implementation and validation.
apps/docs/content/docs/zh/hk.md Documents hk repair and mise usage.
apps/dashboard/vite.config.ts Migrates dashboard chunk configuration; code-splitting groups need correction.
Review details
  • Files reviewed: 16/16 changed files
  • Comments generated: 2
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread apps/dashboard/vite.config.ts
Comment thread packages/templates/react-spa/vite.config.ts
@caorushizi
caorushizi merged commit 0670f39 into master Sep 18, 2026
9 checks passed
@caorushizi
caorushizi deleted the codex/fix-vite-react-template-warnings branch September 18, 2026 14:37

This branch was successfully deployed

1 active deployment
Preview — 78564007 Deployed Sep 18, 2026 by vercel[bot]
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.

2 participants