mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-24 10:40:07 +08:00
- Adjusted tsconfig.web.json to maintain formatting consistency. - Enhanced tsconfig.json in the ui package by adding strict compiler options for better code quality. - Modified the generate-icons script to remove an unused parameter, streamlining the function call.
31 lines
873 B
JSON
31 lines
873 B
JSON
{
|
|
"compilerOptions": {
|
|
"allowSyntheticDefaultImports": true,
|
|
"baseUrl": ".",
|
|
"declaration": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"incremental": true,
|
|
"isolatedModules": true,
|
|
"jsx": "react-jsx",
|
|
"lib": ["DOM", "DOM.Iterable", "ES2021"],
|
|
"module": "ESNext",
|
|
"moduleResolution": "bundler",
|
|
"noFallthroughCasesInSwitch": true,
|
|
"outDir": "./dist",
|
|
"paths": {
|
|
"@cherrystudio/ui": ["./src/index.ts"],
|
|
"@cherrystudio/ui/*": ["./src/*"]
|
|
},
|
|
"resolveJsonModule": true,
|
|
"rootDir": ".",
|
|
"skipLibCheck": true,
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noImplicitReturns": true,
|
|
"target": "ES2020"
|
|
},
|
|
"exclude": ["node_modules", "dist", "**/*.test.*", "**/__tests__/**"],
|
|
"include": ["src/**/*", "stories/components/**/*", "scripts/**/*"]
|
|
}
|