twenty/packages/twenty-ui
uluckydev 5416773951
Fix Storybook Configuration for Windows Development Environment (#7904)
#### Description
This PR resolves issue #7903 regarding the Storybook configuration for
Windows development environments. Previously, the configuration script
generated forward slashes instead of backslashes, leading to errors when
running the command `npx nx run twenty-front:storybook:serve:dev
--configuration=modules` on Windows systems.

#### Changes Made
- Updated the Storybook configuration to ensure that backslashes are
used in file paths for Windows environments, preventing command
execution errors.

#### How to Test
1. **Run Storybook Command**:
   - On a Windows machine, execute the command:
     ```
     npx nx run twenty-front:storybook:serve:dev --configuration=modules
     ```
- Ensure that the command runs successfully without any path-related
errors.

2. **Verify Configuration**:
- Check the Storybook configuration files to confirm that paths are
using backslashes where applicable.
- Test the same command on non-Windows environments to verify that there
are no regressions.

#### Related Issue
- Fixes #7903
2024-10-21 18:28:31 +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 Fix Storybook Configuration for Windows Development Environment (#7904) 2024-10-21 18:28:31 +02:00
src fix: Make the entire advanced mode toggle container clickable (#7761) 2024-10-21 18:22:10 +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 Make main the new 0.32 canary 2024-10-12 17:48:20 +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 add field config new icons (#6996) 2024-09-13 15:07:38 +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.