In this PR: - Migrate twenty-ui to ES2020 (removing undesired type errors during build) - Make CI cache work again between `sb-build` and `sb-test` steps (Note: also fixing a minor bug on Notes) Total CI time: ~8min <img width="1088" height="531" alt="image" src="https://github.com/user-attachments/assets/0bd0a99a-c69e-491d-91b2-9ddf6622464a" /> Both node_modules and sb-build caches are being hit now <img width="1154" height="722" alt="image" src="https://github.com/user-attachments/assets/a5addcee-51d2-4f51-9ff6-d02cd25da49a" />
35 lines
688 B
JSON
35 lines
688 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"],
|
|
"outDir": "../../.cache/tsc",
|
|
"paths": {
|
|
"@ui/*": ["./src/*"],
|
|
"@assets/*": ["./src/assets/*"]
|
|
}
|
|
},
|
|
"files": [],
|
|
"include": [],
|
|
"references": [
|
|
{
|
|
"path": "./tsconfig.lib.json"
|
|
},
|
|
{
|
|
"path": "./tsconfig.dev.json"
|
|
},
|
|
{
|
|
"path": "./tsconfig.spec.json"
|
|
},
|
|
{
|
|
"path": "./tsconfig.storybook.json"
|
|
}
|
|
]
|
|
} |