diff --git a/CLAUDE.md b/CLAUDE.md index 7bfd29a..f92dd04 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -20,11 +20,11 @@ The [development guide](docs/development.md#architecture) maps the source folder | --- | --- | | `pnpm install --frozen-lockfile` | Install dependencies | | `pnpm tauri dev` | Run the desktop app with hot reload | -| `pnpm check` | Type checks | -| `pnpm test` | Unit tests (`scripts/*.spec.ts`) | +| `pnpm check` | Type checks of the app and the unit tests | +| `pnpm test` | Unit tests (`tests/unit/`) | | `cargo test --manifest-path src-tauri/Cargo.toml --lib` | Rust tests | | `pnpm check:menus` | Menu surface inventory | -| `node scripts/.smoke.mjs` | One browser smoke test. See [Browser smoke tests](docs/development.md#browser-smoke-tests). | +| `pnpm smoke [filter...]` | Browser smoke tests (`tests/smoke/`). See [Browser smoke tests](docs/development.md#browser-smoke-tests). | | `pnpm build:installer --version ` | Windows installer. See [Builds](docs/builds.md). | | `pnpm package:plugin [output-folder]` | Plugin ZIP | @@ -107,7 +107,7 @@ Rules from the owner: - A selection gets one outline around each group of adjacent selected items, with no borders on shared internal edges. - Colors follow the `ui-functional-color` skill and `docs/ui-color.md`: vivid by default, informative text opaque. - Before Review, check both themes, narrow windows, long lists, keyboard focus, and viewport edges. - For menu work, run `pnpm check:menus` and `tests/smoke/menus/consistency.smoke.mjs`. + For menu work, run `pnpm check:menus` and `pnpm smoke menus`. Keep screenshots of the exact control that the card names. - Record a rule change, a recurring problem, or an exception in `docs/design-decisions.md`. An isolated fix needs no entry. diff --git a/docs/builds.md b/docs/builds.md index 9919934..78776a2 100644 --- a/docs/builds.md +++ b/docs/builds.md @@ -31,7 +31,7 @@ Output: | File | Contents | | --- | --- | | `releases//RuneStone__x64-setup.exe` | The setup file to distribute | -| `releases//host.json` | The release version, the encoded toolchain and Windows versions, the path, the size in bytes, and the SHA-256 hash | +| `releases//host.json` | The release version, the encoded toolchain and Windows versions, the file name, the size in bytes, and the SHA-256 hash | The script prints `Installer available: ` when it completes. After a successful build, the version fields keep the new version. @@ -43,9 +43,9 @@ Example, from the 0.1.44 download link in the README: version `0.1.44` gives `re Source: `scripts/buildInstaller.mjs`. 1. Reads the version and makes sure that all version fields match the current version. -2. Makes sure that downgrade protection stays on in `tauri.conf.json` and `tauri.windows.conf.json`. +2. Makes sure that downgrade protection stays on in `tauri.conf.json` and `tauri.windows.conf.json`, and that the browser runtime is staged. 3. Stops if the setup file or `host.json` exists in the bundle folder or in `releases//`. -4. Saves copies of the four version files as `*.before` in `output/installer-build//`. +4. Saves copies of the four version files as `*.before` in `output/installer-build//