Skip to content

Commit 2a22ebc

Browse files
chore(Echo): Update tsconfig for declaration generation
Updated the TypeScript configuration in the Echo project to optimize declaration file generation. Added `composite`, `declarationMap`, and `emitDeclarationOnly` flags to enable: 1. Project references for build optimization across Land workspace 2. Source mapping for generated declaration files to improve debugging 3. Exclusive declaration emission since Echo serves as a pure type library This aligns with Echo's role in the Land architecture as the Tauri IPC contract between Mountain (Rust backend) and Wind (Effect-TS UI services). The changes ensure type safety and developer experience when working with the command/event API, while maintaining separation of concerns in the final synthesized system.
1 parent d83a428 commit 2a22ebc

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

tsconfig.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,21 @@
11
{
22
"compilerOptions": {
33
"baseUrl": "./",
4+
5+
"composite": true,
6+
7+
"declarationMap": true,
8+
9+
"emitDeclarationOnly": true,
10+
411
"lib": ["ESNext"],
12+
513
"outDir": "Target",
14+
615
"types": ["@cloudflare/workers-types/experimental", "@types/node"]
716
},
17+
818
"extends": "@playform/build/tsconfig",
19+
920
"include": ["Source"]
1021
}

0 commit comments

Comments
 (0)