6f9b59b224
Scaffolds `twenty-new-ui`, the next-gen replacement for `twenty-ui`, on **SCSS** Modules + **Base UI** (no Linaria). - **Tooling**: Vite lib build, subpaths mirror twenty-ui, typed SCSS Modules, Storybook + axe a11y, size-limit, Nx targets. - **Theme**: single token source → nx generateTheme emits the CSS vars + accessor; parity test asserts token-for-token match with twenty-ui. Migrated a first `Toggle` component with its stories to allow @charlesBochet to wire the new pixel-diff system. --------- Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
31 lines
675 B
JSON
31 lines
675 B
JSON
{
|
|
"extends": "../../tsconfig.base.json",
|
|
"compilerOptions": {
|
|
"target": "ES2020",
|
|
"jsx": "react-jsx",
|
|
"allowJs": false,
|
|
"allowSyntheticDefaultImports": true,
|
|
"strict": true,
|
|
"moduleResolution": "bundler",
|
|
"esModuleInterop": true,
|
|
"noEmit": true,
|
|
"types": ["node", "jest"],
|
|
"outDir": "../../.cache/tsc",
|
|
"paths": {
|
|
"@new-ui/*": ["./src/*"],
|
|
"@assets/*": ["./src/assets/*"],
|
|
"@styles/*": ["./src/styles/*"]
|
|
}
|
|
},
|
|
"include": [
|
|
"src/**/*.ts",
|
|
"src/**/*.tsx",
|
|
"src/**/*.d.ts",
|
|
".storybook/*.ts",
|
|
".storybook/*.tsx",
|
|
"jest.config.mjs",
|
|
"setupTests.ts",
|
|
"vite.config.ts"
|
|
]
|
|
}
|