Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 1.23 KB

File metadata and controls

43 lines (31 loc) · 1.23 KB

Development

The architecture and roadmap live in widget-platform.md.

Getting started

Note
widgetsack has to be built on Windows.

Install Tauri prerequisites first, plus a current v2 Tauri CLI (the project uses tauri 2.11):

# if `cargo tauri` is missing or older than 2.x:
$ cargo install tauri-cli --version "^2" --locked
# Install client dependencies first
$ (cd client && npm i)

# Run the full app in dev (Tauri starts the Vite dev server for you)
$ cargo tauri dev

# Build the frontend before the Rust checks — Tauri embeds client/build,
# so cargo test/clippy fail if it is missing
$ (cd client && npm run build)
$ cargo test
$ cargo clippy

# If needed; output is target/release/widgetsack.exe
$ cargo tauri build

# Client tests and checks (run from client/)
$ (cd client && npm run test:unit)   # Vitest unit/component tests
$ (cd client && npm run check)       # tsc --noEmit type checking
$ (cd client && npm run lint)        # Prettier + ESLint

Release

  1. Bump the version in widgetsack/tauri.conf.json
  2. Create a new release on the releases page.