@cat-factory/app 0.319.0 → 0.319.1

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.
Files changed (2) hide show
  1. package/README.md +8 -0
  2. package/package.json +5 -1
package/README.md CHANGED
@@ -1625,8 +1625,16 @@ pnpm lint # oxlint + oxfmt over the w
1625
1625
  pnpm exec vitest run <file> # run the spec your change touched
1626
1626
  pnpm i18n:check # catalog is well-formed
1627
1627
  pnpm i18n:parity # locales are in parity
1628
+
1629
+ # Component stories, from the repo root:
1630
+ pnpm --filter @cat-factory/storybook run storybook # http://localhost:6006
1631
+ pnpm --filter @cat-factory/storybook run test:stories # every story in headless Chromium
1628
1632
  ```
1629
1633
 
1634
+ A component's stories sit beside it as `Foo.stories.ts`; the fixtures and helpers they share are in
1635
+ `app/stories/` (neither ships in the package). Conventions, helpers and the traps the setup already
1636
+ paid for: [Component stories](https://github.com/kibertoad/cat-factory/blob/main/docs/internal/storybook.md).
1637
+
1630
1638
  To see the SPA with data while you work on it, run it against the e2e backend: it needs only a
1631
1639
  Postgres, fakes the LLM, the agent runner and GitHub, and can seed boards. See
1632
1640
  [Running the SPA against the e2e backend](https://github.com/kibertoad/cat-factory/blob/main/backend/internal/e2e/README.md#running-the-spa-against-the-e2e-backend-ui-development).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cat-factory/app",
3
- "version": "0.319.0",
3
+ "version": "0.319.1",
4
4
  "description": "Reusable Nuxt layer for the Agent Architecture Board SPA (components, stores, composables, pages). Consume it from a thin deployment app via `extends: ['@cat-factory/app']` and point it at your backend with NUXT_PUBLIC_API_BASE. See deploy/frontend for an example.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -9,6 +9,8 @@
9
9
  },
10
10
  "files": [
11
11
  "app",
12
+ "!app/stories",
13
+ "!app/**/*.stories.ts",
12
14
  "i18n",
13
15
  "nuxt.config.ts"
14
16
  ],
@@ -44,10 +46,12 @@
44
46
  "wretch": "^3.0.9"
45
47
  },
46
48
  "devDependencies": {
49
+ "@storybook/vue3": "10.6.1",
47
50
  "@toad-contracts/testing": "1.0.0",
48
51
  "happy-dom": "^20.14.5",
49
52
  "msw": "^2.15.0",
50
53
  "nuxt": "^4.6.1",
54
+ "storybook": "10.6.1",
51
55
  "typescript": "^6.0.3",
52
56
  "vitest": "^4.1.11",
53
57
  "vue-i18n-extract": "^2.0.7",