twenty/packages/twenty-front/.storybook
Charles Bochet 6683ffb890
Clarify storybook tests (#6073)
In this PR, I'm simplifying storybook setup:
1) Remove build --test configuration that prevent autodocs. We are not
using autodocs at all (the dev experience is not good enough), so I have
completely disabled it.
2) Clarify `serve` vs `test` vs `serve-and-test` configurations


After this PR:
- you can serve storybook in two modes: `npx nx run
twenty-front:storybook:serve:dev` and `npx nx run
twenty-front:storybook:serve:static`
- you can run tests agains an already served storybook (this is useful
in dev so you don't have to rebuild everytime to run tests): `npx nx run
twenty-front:storybook:test`
- you can conbine both: `npx nx run
twenty-front:storybook:serve-and-test:static`
2024-06-30 20:02:13 +02:00
..
main.ts Clarify storybook tests (#6073) 2024-06-30 20:02:13 +02:00
manager-head.html Storybook fix dark mode (#4865) 2024-04-11 17:28:12 +02:00
preview-head.html Fix MSW and storybook setup (#2976) 2023-12-13 14:37:55 +01:00
preview.tsx Refactored all FieldDisplay types for performance optimization (#5768) 2024-06-12 18:36:25 +02:00
test-runner-jest.config.js Feat/performance-refactor-styled-component (#5516) 2024-05-24 18:53:37 +02:00