spiegel-keyman/developer/src/server/tsconfig.json
Marc Durdin 716cb526b7 fix(developer): Sentry in Server should honour reporting settings
Fixes #9939.

Uses refactored KeymanSentry.ts in developer-utils and updates the
loader in Server to run from that.

The changes to tray.ts and friends are required to deal with a top-level
await issue with the shutdown call.

The top-level await issue is described in detail at
https://marc.durdin.net/2023/11/dynamic-import-on-node-js-with-circular-dependencies-leads-to-interesting-failure-modes/

tl;dr: shutdown needed to do a proper Sentry shutdown. The shutdown code
was in index.ts. This led to a circular dependency and caused a silent
and abrupt exit code 13 in Node.js. Moved shutdown code into shutdown.ts
to resolve this.
2023-11-06 08:18:24 +07:00

33 lines
713 B
JSON

{
"extends": "../../../tsconfig.base.json",
"compilerOptions": {
"target": "es2022",
"sourceMap": true,
"outDir": "build/src/",
"rootDir": "src/",
"baseUrl": ".",
"declaration": true,
"alwaysStrict": true,
"noImplicitThis": true,
"noImplicitReturns": true,
"noImplicitAny": true,
"strictBindCallApply": true,
"strictFunctionTypes": true,
"noUnusedLocals": true,
"allowJs": true,
"lib": ["es2022"],
"paths": {
"@keymanapp/developer-utils": ["../common/web/utils/index"],
}
},
"include": [
"src/**/*.ts"
],
"references": [
{ "path": "../../../common/web/keyman-version" },
{ "path": "../common/web/utils" },
]
}