Some checks failed
Run install, format, lint, build, and test on every push / build (push) Has been cancelled
Run install, format, lint, build, and test on every push / publish (push) Has been cancelled
Run install, format, lint, build, and test on every push / publish-github-container-registry (push) Has been cancelled
Close #1527 acceptance gaps with automated tests (SEP-2468 iss, SEP-2207 offline_access, SEP-2351 discovery shapes, SEP-2352 AS-migration, EraNegotiationFailed→401 unwrap); lean EMA leg 2 and scope helpers on the v2 SDK; drop deprecated TS baseUrl. Reviewed LGTM.
72 lines
2.4 KiB
JSON
72 lines
2.4 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
|
|
"target": "ES2023",
|
|
"useDefineForClassFields": true,
|
|
"lib": ["ES2023", "DOM", "DOM.Iterable"],
|
|
"module": "ESNext",
|
|
"types": ["vite/client", "node"],
|
|
"skipLibCheck": true,
|
|
|
|
/* Bundler mode */
|
|
"moduleResolution": "bundler",
|
|
"allowImportingTsExtensions": true,
|
|
"verbatimModuleSyntax": true,
|
|
"moduleDetection": "force",
|
|
"noEmit": true,
|
|
"jsx": "react-jsx",
|
|
|
|
/* Linting */
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"erasableSyntaxOnly": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noUncheckedSideEffectImports": true,
|
|
|
|
/* Path aliases. `react` / `react-dom` redirects let core/ source files
|
|
* (which live above clients/web/node_modules) resolve those bare imports
|
|
* during `tsc -b`. We point at the @types declaration packages so the
|
|
* imports type-check; Vite's `dedupe` handles the runtime resolution —
|
|
* see vite.config.ts.
|
|
*
|
|
* Paths are relative to this config file (no `baseUrl` — deprecated in
|
|
* TypeScript 6 / removed in 7).
|
|
*/
|
|
"paths": {
|
|
"@inspector/core/*": ["../../core/*"],
|
|
"react": ["./node_modules/@types/react"],
|
|
"react-dom": ["./node_modules/@types/react-dom"],
|
|
"react/jsx-runtime": ["./node_modules/@types/react/jsx-runtime"],
|
|
"pino": ["./node_modules/pino"],
|
|
"hono": ["./node_modules/hono"],
|
|
"hono/streaming": [
|
|
"./node_modules/hono/dist/types/helper/streaming/index"
|
|
],
|
|
"@hono/node-server": ["./node_modules/@hono/node-server"],
|
|
"atomically": ["./node_modules/atomically"],
|
|
"chokidar": ["./node_modules/chokidar"],
|
|
"@napi-rs/keyring": ["./node_modules/@napi-rs/keyring"],
|
|
"react-syntax-highlighter/dist/esm/prism-light": [
|
|
"./src/types/react-syntax-highlighter-prism-light"
|
|
],
|
|
"react-syntax-highlighter/dist/esm/styles/prism/tomorrow": [
|
|
"./src/types/react-syntax-highlighter-style"
|
|
],
|
|
"react-syntax-highlighter/dist/esm/languages/prism/*": [
|
|
"./src/types/react-syntax-highlighter-grammar"
|
|
]
|
|
}
|
|
},
|
|
"include": ["src", "../../core/**/*.ts"],
|
|
"exclude": [
|
|
"src/**/*.stories.tsx",
|
|
"src/**/*.stories.ts",
|
|
"src/**/*.test.tsx",
|
|
"src/**/*.test.ts",
|
|
"src/test/**",
|
|
"../../core/**/*.test.ts",
|
|
"../../core/**/*.test.tsx",
|
|
"../../core/**/__tests__/**"
|
|
]
|
|
}
|