fix(build): fold desktop keyboard tests into client typecheck
This commit is contained in:
1 parent
638842895a
commit
a08472e982
2 files changed
+8
-25
No files matched your search
@@ -14,6 +14,13 @@
|
||||
"types": ["node"]
|
||||
},
|
||||
"include": [
|
||||
// The native/renderer keyboard fixture imports only these Cordis-free Desktop modules.
|
||||
"apps/desktop/tests/keyboard.spec.ts",
|
||||
"apps/desktop/src/keyboard.ts",
|
||||
"apps/desktop/src/keybindings.ts",
|
||||
"apps/desktop/src/browser-guests.ts",
|
||||
"apps/desktop/src/ipc.ts",
|
||||
"apps/desktop/src/update-overlay.ts",
|
||||
"apps/desktop/tests/**/*.client.spec.tsx",
|
||||
// Source-subpath test imports can arrive through workspace links whose
|
||||
// realpath semantics vary by host. Load package CSS declarations directly.
|
||||
@@ -43,8 +50,8 @@
|
||||
"packages/client/*/tests/**/*.host.spec.ts"
|
||||
],
|
||||
"references": [
|
||||
{ "path": "./tsconfig.desktop-keyboard-tests.json" },
|
||||
{ "path": "./apps/desktop/tsconfig.client.json" },
|
||||
{ "path": "./packages/util/atomic-write" },
|
||||
{ "path": "./packages/experimental/client-ui-voice-input" },
|
||||
|
||||
{ "path": "./packages/client/ui-sidebar-terminal" },
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
{
|
||||
// The native/renderer integration fixture imports only Cordis-free Desktop modules.
|
||||
"extends": "./tsconfig.base.client.json",
|
||||
"compilerOptions": {
|
||||
"rootDir": ".",
|
||||
"outDir": "lib/desktop-keyboard-test-types",
|
||||
"emitDeclarationOnly": true,
|
||||
"types": ["node"]
|
||||
},
|
||||
"files": [
|
||||
"apps/desktop/tests/keyboard.spec.ts",
|
||||
"apps/desktop/src/keyboard.ts",
|
||||
"apps/desktop/src/keybindings.ts",
|
||||
"apps/desktop/src/browser-guests.ts",
|
||||
"apps/desktop/src/ipc.ts",
|
||||
"apps/desktop/src/update-overlay.ts"
|
||||
],
|
||||
"include": [],
|
||||
"references": [
|
||||
{ "path": "./packages/client/shortcuts/tsconfig.client.json" },
|
||||
{ "path": "./packages/client/ui-sidebar-browser/tsconfig.client.json" },
|
||||
{ "path": "./packages/util/atomic-write" }
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user