mumei-dashboard 0.2.4 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -20,7 +20,7 @@ preview at `http://localhost:5173` during development.
20
20
  ```bash
21
21
  cd dashboard
22
22
  npm install
23
- npm run generate-types # build types from ../schemas/*.json
23
+ npm run schemas # regenerate ../schemas/*.schema.json from src/schemas/*.ts (TypeBox canonical)
24
24
  npm run dev # spawns Fastify (server) + Vite (frontend)
25
25
  ```
26
26
 
@@ -29,14 +29,14 @@ npm run dev # spawns Fastify (server) + Vite (frontend)
29
29
 
30
30
  ## Scripts
31
31
 
32
- | Script | Purpose |
33
- | ------------------------ | ---------------------------------------------- |
34
- | `npm run dev` | Server + Vite, both with watch mode |
35
- | `npm run build` | Produce `dist/` for production |
36
- | `npm run typecheck` | `tsc -b --noEmit` across app + server |
37
- | `npm run generate-types` | Regenerate `src/types/*.ts` from `../schemas/` |
38
- | `npm test` | Vitest |
39
- | `npm run lint` | ESLint, max-warnings 0 |
32
+ | Script | Purpose |
33
+ | ------------------- | ---------------------------------------------------------------------------- |
34
+ | `npm run dev` | Server + Vite, both with watch mode |
35
+ | `npm run build` | Produce `dist/` for production |
36
+ | `npm run typecheck` | `tsc -b --noEmit` across app + server |
37
+ | `npm run schemas` | Regenerate `../schemas/*.schema.json` from TypeBox sources in `src/schemas/` |
38
+ | `npm test` | Vitest |
39
+ | `npm run lint` | Biome `check --error-on-warnings` |
40
40
 
41
41
  ## Architecture
42
42