chore: add script to generate twenty-ui barrels before build (#4707)

Split from https://github.com/twentyhq/twenty/pull/4518

Part of #4766 

Adds a script to auto-generate twenty-ui exports in `index.ts` files.

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
This commit is contained in:
Thaïs
2024-04-04 12:14:20 +02:00
committed by GitHub
parent bf8ee99ebb
commit 932a8d68f5
9 changed files with 145 additions and 10 deletions

View File

@ -7,6 +7,6 @@
"scripts": {
"nx": "NX_DEFAULT_PROJECT=twenty-ui node ../../node_modules/nx/bin/nx.js",
"start": "storybook dev -p 6006",
"build": "storybook build"
"build": "npx vite build"
}
}