Skip to content

build: migrate GuEarth to Vite+ - #93

Closed
liangmiQwQ wants to merge 8 commits into
Proj-Pigeon:mainfrom
liangmiQwQ:liang/codex/guearth-vite-plus
Closed

liangmiQwQ wants to merge 8 commits into
Proj-Pigeon:mainfrom
liangmiQwQ:liang/codex/guearth-vite-plus

Conversation

@liangmiQwQ

@liangmiQwQ liangmiQwQ commented Nov 22, 2026 •

Copy link
Copy Markdown

Stacked on #92. Both PRs target main, so this diff includes the electron-vite 6 and Vite 8 upgrades. Review only the Vite+ migration.

This adopts Vite+ with npm. Electron builds still use electron-vite, and type checking runs through tsc for both the main process and the React renderer.

Tests now run with Vitest 5.1 through Vite+. npm test runs vp test run. Vitest uses native Node.js imports so the existing module hooks can load React components and simulate filesystem failures. The local run discovered all 556 tests, with 548 passing and the same 8 skipped.

Formatting uses the formatter preset from @liangmi/vp-config. vp check checks formatting, and lint is available separately through npm run lint. The repository-wide formatting and the updates to tests that match source text are in separate commits.

🤖 Generated with Codex


Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@coderabbitai

coderabbitai Bot commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@codacy-production

codacy-production Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

Not up to standards ⛔

🔴 Issues 4 critical

Alerts:
⚠ 4 issues (≤ 0 issues of at least minor severity)

Results:
4 new issues

Category Results
Security 4 critical

View in Codacy

🟢 Metrics -23 complexity · 38 duplication

Metric Results
Complexity -23
Duplication 38

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@liangmiQwQ
liangmiQwQ force-pushed the liang/codex/guearth-vite-plus branch from 96cf27d to d2dc5ea Compare November 23, 2026 12:57
@liangmiQwQ
liangmiQwQ force-pushed the liang/codex/guearth-vite-plus branch from d2dc5ea to 5d9c226 Compare November 24, 2026 12:35
@liangmiQwQ liangmiQwQ closed this Nov 27, 2026
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