Root layout
Frontend (nu_pos_react/)
The frontend follows domain-driven design:
Path alias
@/ maps to src/ — configured in both tsconfig.json and vitest.config.ts.Backend (nu_restaurant_pos/)
Versioning
The client version is managed from a single source of truth:version.json
scripts/sync-version.mjs stamps this version into package.json, tauri.conf.json, and Cargo.toml. Build numbers are derived from git rev-list --count HEAD.
Odoo modules keep their own
__manifest__ versions — version.json is for client apps only.