Refactor the CLI and Electron communication to utilize tRPC for improved type safety and structure. Introduce WebSocket support for direct communication between the CLI and renderer, enhancing performance and responsiveness. Update various CLI commands to leverage the new editor API for asset management, folder operations, and project handling. Additionally, enhance TypeScript configurations and dependencies for better development experience. This update streamlines the overall architecture and improves user interaction with the CLI.
41 lines
1009 B
JSON
41 lines
1009 B
JSON
{
|
|
"extends": "../../tsconfig.base.json",
|
|
"compilerOptions": {
|
|
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.tsbuildinfo",
|
|
// The AppRouter type import in cli-client.ts pulls renderer sources into
|
|
// this program, so the web app's compiler settings (DOM, solid JSX, vite
|
|
// types, aliases) apply here on top of the node ones.
|
|
"useDefineForClassFields": true,
|
|
"erasableSyntaxOnly": false,
|
|
"lib": [
|
|
"es2024",
|
|
"DOM",
|
|
"DOM.Iterable"
|
|
],
|
|
"types": [
|
|
"node",
|
|
"vite-plugin-solid-svg/types-component-solid",
|
|
"vite/client",
|
|
"@types/audioworklet",
|
|
"@types/wicg-file-system-access"
|
|
],
|
|
"resolveJsonModule": true,
|
|
"allowImportingTsExtensions": true,
|
|
"jsx": "preserve",
|
|
"jsxImportSource": "solid-js",
|
|
"baseUrl": "./",
|
|
"paths": {
|
|
"@/*": [
|
|
"../web/src/*"
|
|
],
|
|
"@desktop/*": [
|
|
"../desktop/src/*"
|
|
]
|
|
}
|
|
},
|
|
"include": [
|
|
"src",
|
|
"../web/src/vite-env.d.ts"
|
|
]
|
|
}
|