Add Phase 0 test harness (vitest + ESLint) and fix build config
- Add vitest unit tests for Zustand app store state transitions (6 tests) - Add mock speech-engine WebSocket protocol integration test (spawns server.py --mock on a free port) - Add ESLint 10 flat config with typescript-eslint; add typecheck/lint/test scripts to package.json - Fix pre-existing tsc -b breakage via noEmit in tsconfig.node.json; add dedicated tsconfig.tests.json project for Node-side tests - Track src-tauri/Cargo.lock for reproducible Rust builds; enable protocol-asset Tauri feature - Ignore generated artifacts (*.tsbuildinfo, src-tauri/gen/, emitted vite.config.js/.d.ts); remove stale emitted vite config copies - Update AGENTS.md agent guide (demo scope lock, roadmap, verification commands) - Add HANDOFF.md documenting Phase 0 state and remaining steps for the next agent
This commit is contained in:
@@ -1,8 +1,30 @@
|
||||
# Dependencies (rebuilt via `npm ci` from package-lock.json)
|
||||
node_modules/
|
||||
|
||||
# Build outputs
|
||||
dist/
|
||||
src-tauri/target/
|
||||
|
||||
# TypeScript incremental build info (`tsc -b`)
|
||||
*.tsbuildinfo
|
||||
|
||||
# Tauri generated files (tauri-build emits schemas/capabilities here on every build)
|
||||
src-tauri/gen/
|
||||
|
||||
# Stale emitted copies of vite.config.ts — the .ts file is the source of truth.
|
||||
# Vite resolves .js before .ts, so an emitted copy would silently shadow it.
|
||||
vite.config.js
|
||||
vite.config.d.ts
|
||||
|
||||
# Python / speech engine (rebuilt via `python -m venv .venv && pip install -r requirements.txt`)
|
||||
speech-engine/.venv/
|
||||
speech-engine/__pycache__/
|
||||
.env
|
||||
__pycache__/
|
||||
*.pyc
|
||||
|
||||
# Environment & secrets — never commit
|
||||
.env
|
||||
|
||||
# OS / editor noise
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
|
||||
Reference in New Issue
Block a user