Skip to content

feat: bootstrap Tauri 2 + React/TypeScript foundation (issue #14)#40

Merged
thundermiracle merged 6 commits intomainfrom
codex/issue-14-tauri-react-ts-bootstrap
Feb 26, 2026
Merged

feat: bootstrap Tauri 2 + React/TypeScript foundation (issue #14)#40
thundermiracle merged 6 commits intomainfrom
codex/issue-14-tauri-react-ts-bootstrap

Conversation

@thundermiracle
Copy link
Copy Markdown
Owner

@thundermiracle thundermiracle commented Feb 26, 2026

Summary

  • scaffold Tauri 2 + React/TypeScript app foundation
  • add frontend app shell (src/) and Tauri backend shell (src-tauri/)
  • configure project scripts for desktop dev/build (pnpm tauri:dev, pnpm tauri:build)
  • update Rust crate to edition = "2024"
  • add bootstrap validation tests (tests/tauri-bootstrap.test.mjs)
  • add icon generation script for clean environments (scripts/ensure-tauri-icon.mjs)
  • update AGENTS.md with:
    • latest stable dependency selection policy
    • mandatory pre-commit lint/test checks
    • Rust/TypeScript split-commit rule

Follow-up Fixes in this PR

  • fix src-tauri/src/lib.rs cfg condition and then remove mobile entry attribute for macOS-only scope
  • make lint:rust self-sufficient by running ensure:tauri-icon first

Validation

  • pnpm run lint (pass)
  • pnpm test (23/23 pass)
  • pnpm build (pass)
  • pnpm tauri:build (pass)
  • pnpm tauri:dev startup verified

Commit Structure

  • Rust-only commits for Rust entrypoint/lint scope adjustments
  • TypeScript/workflow commits for scripts/tests/docs/agent rules

Closes #14

@thundermiracle thundermiracle merged commit edf1b44 into main Feb 26, 2026
1 check passed
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.

P0-BASE: Bootstrap Tauri 2 + React/TypeScript application skeleton

1 participant