twenty/packages/twenty-ui
Syed Md Mihan Chistie be20a690b3
added typechecking for all ts files (#6466)
Fixes: #6436 

Changes made: 

- Added typecheck step before twenty-ui build to check stories TS errors
- Added a tsconfig.dev.json to add stories and tests to typecheking when
in dev mode
- Added tsconfig.dev.json to storybook dev command of twenty-ui to
typecheck stories while developing
- Fixed twenty-ui stories that were broken

- Added a serve command to serve front build
- Fixed unit test from another PR

---------

Co-authored-by: Félix Malfait <felix.malfait@gmail.com>
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2024-08-20 11:05:13 +02:00
..
__mocks__ Refactor default value for select (#5343) 2024-05-10 10:26:46 +02:00
.storybook added typechecking for all ts files (#6466) 2024-08-20 11:05:13 +02:00
scripts refactor: move @/ui/display/icon to twenty-ui (#4820) 2024-04-12 15:30:48 +02:00
src added typechecking for all ts files (#6466) 2024-08-20 11:05:13 +02:00
.eslintrc.cjs fix: fix storybook:build memory allocation error in CI (#5284) 2024-05-03 19:19:21 +02:00
jest.config.ts Refactor default value for select (#5343) 2024-05-10 10:26:46 +02:00
package.json Bump version to 0.23.1 (#6567) 2024-08-07 17:09:30 +02:00
project.json Clarify storybook tests (#6073) 2024-06-30 20:02:13 +02:00
README.md fix: attempt to fix Dockerfile front build (#5020) 2024-04-18 11:24:39 +02:00
setupTests.ts chore: include react components in twenty-ui test config (#4709) 2024-04-04 12:30:49 +02:00
tsconfig.build.json added typechecking for all ts files (#6466) 2024-08-20 11:05:13 +02:00
tsconfig.dev.json added typechecking for all ts files (#6466) 2024-08-20 11:05:13 +02:00
tsconfig.json added typechecking for all ts files (#6466) 2024-08-20 11:05:13 +02:00
tsconfig.spec.json chore: add incremental typecheck to twenty-ui (#4947) 2024-04-15 12:15:29 +02:00
tsconfig.storybook.json chore: add incremental typecheck to twenty-ui (#4947) 2024-04-15 12:15:29 +02:00
vite.config.ts added typechecking for all ts files (#6466) 2024-08-20 11:05:13 +02:00

Twenty UI

This library was generated with Nx.

Building

Run npx nx build twenty-ui to build the library.

Storybook Server

Run npx nx start twenty-ui to start the storybook development server on localhost:6006.

Running unit tests

Run npx nx test twenty-ui to execute the unit tests via Jest.