Files
element-call/tsconfig.json
T
Timo K.andClaude Opus 5.5 2c85cdb308 Rename the CallViewModel SDK bundle to widget-rtc-sdk
The bundle in sdk-target-based-on-call-view-model/ is now widget-rtc-sdk/,
its output widget-rtc-sdk.js and its scripts build:widget-rtc-sdk[:production
|:development]. CI's package follows: the build-output-widget-rtc-sdk
artifact and the pr<N>-widget-rtc-sdk Netlify preview replace the `sdk` ones.

Names only: the bundle is still the CallViewModel one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 11:35:35 +01:00

67 lines
2.3 KiB
JSON

{
"compilerOptions": {
"target": "es2022",
"module": "es2022",
"jsx": "react-jsx",
"lib": ["es2024", "dom", "dom.iterable"],
"skipLibCheck": true,
// From Matrix-JS-SDK
"strict": true,
"noEmit": true,
"noEmitOnError": true,
"experimentalDecorators": false,
"esModuleInterop": true,
"noUnusedLocals": true,
"moduleResolution": "bundler",
"declaration": true,
"resolveJsonModule": true,
// Workaround for https://github.com/microsoft/TypeScript/issues/55132
"useDefineForClassFields": false,
"allowImportingTsExtensions": true,
"paths": {
// Element Call imports the SDK by its package name, so that the move to a
// published dependency changes nothing but this line (and the matching
// alias in vite.config.ts)
"@element-hq/matrixrtc-sdk": ["./sdk/index.ts"],
// These imports within @livekit/components-core and
// @livekit/components-react are broken under the "bundler" module
// resolution mode, so we need to resolve them manually
"livekit-client/dist/src/room/types": [
"./node_modules/livekit-client/dist/src/room/types.d.ts"
],
"livekit-client/dist/src/room/Room": [
"./node_modules/livekit-client/dist/src/room/Room.d.ts"
],
"livekit-client/dist/src/room/track/TrackPublication": [
"./node_modules/livekit-client/dist/src/room/track/TrackPublication.d.ts"
],
"livekit-client/dist/src/room/participant/Participant": [
"./node_modules/livekit-client/dist/src/room/participant/Participant.d.ts"
],
"livekit-client/dist/src/proto/livekit_models_pb": [
"./node_modules/@livekit/protocol/src/gen/livekit_models_pb.d.ts"
]
}
// TODO: Enable the following options later.
// "forceConsistentCasingInFileNames": true,
// "noFallthroughCasesInSwitch": true,
// "noImplicitOverride": true,
// "noImplicitReturns": true,
// "noPropertyAccessFromIndexSignature": true,
// "noUncheckedIndexedAccess": true,
// "noUnusedParameters": true,
},
"include": [
"./src/**/*.ts",
"./src/**/*.tsx",
"./playwright/**/*.ts",
"./sdk/**/*.ts",
"./widget-rtc-sdk/**/*.ts",
"./component/**/*.ts",
"./component/**/*.tsx"
],
"exclude": ["**.test.ts"]
}