super-productivity/electron/tsconfig.electron.json
Maikel Hajiabadi ec16757c82
fix(keyboard): resolve macOS global shortcut layout mismatch (#8378) (#8381)
* fix(keyboard): resolve macOS global shortcut layout mismatch (#8378)

* fix(keyboard-layout): log layout-detection failure and resolve layoutReady with map copy

* fix(keyboard-shortcut): remove debug console logs and add macOS scope comment

* fix(keyboard-shortcut): preserve modifier separator when mapping plus key shortcut

* refactor(keyboard-shortcut): export mapping helpers and avoid as any cast in configuration mapping

* test(keyboard-shortcut): add unit tests for layout shortcut translation logic

* test(keyboard-shortcut): use correct KeyboardConfig type instead of as any in test fixture

* docs(keyboard-shortcut): hoist macOS physical shortcut layout comments to helper JSDoc

* refactor(config): extract global shortcut keys and mapping helpers

* test: add test helper capability for IS_ELECTRON and IS_MAC

* test: add comprehensive integration unit tests for global shortcut effects

* feat(electron): eagerly trigger layout detection on Electron startup for macOS timing fix

* refactor(config): InjectionToken migration, layout detection hardening, and startup optimization

* refactor: address non-blocking suggestions for layout detection and DI tokens

* build(electron): move keyboard-config.model to shared-with-frontend to fix ASAR require

* fix(client-id): increase entropy to 6 chars and fix related test regressions
2026-06-17 12:57:47 +02:00

44 lines
2 KiB
JSON

{
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"sourceMap": true,
"resolveJsonModule": true,
"declaration": false,
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"skipLibCheck": true,
"typeRoots": ["node_modules/@types"],
"downlevelIteration": true,
"lib": ["dom", "es2022"],
"target": "es2022",
"module": "commonjs",
"esModuleInterop": true,
"baseUrl": "..",
"paths": {
"@super-productivity/plugin-api": ["packages/plugin-api/src/index.ts"],
"@sp/shared-schema": ["packages/shared-schema/dist/index.d.ts"],
"@sp/sync-core": ["packages/sync-core/dist/index.d.ts"],
"@sp/sync-providers/dropbox": ["packages/sync-providers/dist/dropbox.d.ts"],
"@sp/sync-providers/webdav": ["packages/sync-providers/dist/webdav.d.ts"],
"@sp/sync-providers/local-file": ["packages/sync-providers/dist/local-file.d.ts"],
"@sp/sync-providers/super-sync": ["packages/sync-providers/dist/super-sync.d.ts"],
"@sp/sync-providers/http": ["packages/sync-providers/dist/http.d.ts"],
"@sp/sync-providers/errors": ["packages/sync-providers/dist/errors.d.ts"],
"@sp/sync-providers/credential-store": [
"packages/sync-providers/dist/credential-store.d.ts"
],
"@sp/sync-providers/file-based": ["packages/sync-providers/dist/file-based.d.ts"],
"@sp/sync-providers/pkce": ["packages/sync-providers/dist/pkce.d.ts"],
"@sp/sync-providers/platform": ["packages/sync-providers/dist/platform.d.ts"],
"@sp/sync-providers/provider-types": [
"packages/sync-providers/dist/provider-types.d.ts"
],
"@sp/sync-providers/log": ["packages/sync-providers/dist/log.d.ts"],
"@sp/sync-providers/onedrive": ["packages/sync-providers/dist/onedrive.d.ts"],
"@sp/keyboard-config": ["electron/shared-with-frontend/keyboard-config.model.ts"]
}
},
"include": ["main.ts", "**/*.ts", "../src/app/core/window-ea.d.ts"],
"exclude": ["../node_modules", "**/*.spec.ts"]
}