* Update to typescript 7.0 (beta) * Update moduleResolution to bundler * Switch to tsgo in scripts * Remove unneeded ts-expect-error * Add aliases for sdk framework imports * Add aliases for node_modules types * Resolve csstype to 3.2.3 * Resolve codemirror types since the package does not export .d.ts files * Be more precise in SegmentedControl type * Fix types in CssVarsDeclarationPlugin * Use correct type for keys in WeakMap * Use declare context instead of context! to narrow context type * Import from top-level mantine package * Remove unused card prop * Add missing props * Fix import * Be more precise in SegmentedControl type * Convert CardRenderer to TypeScript * Remove unused @ts-expect-error * Remove infinite type instantiations * Do not use declare in type * Set module to preserve for bundlers * Add types for tinykeys * Switch to TypeScript 6.0.3 * Switch back to tsc * Resolve ts config path directly * Update @microsoft/api-extractor * Fix Modal types * Remove redundant ext-apps ambient module shim Under the old moduleResolution 'node', the package exports field was ignored, so @modelcontextprotocol/ext-apps/react could not be resolved to its real types and this ambient shim re-exported them from the deep dist path. With moduleResolution 'bundler', the subpath now resolves natively via the exports map, while that same exports map blocks the deep dist import the shim relied on. The shim therefore resolved to nothing and shadowed the real module, breaking fe-type-check. Deleting it lets the native types take over. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * Remove deprecated baseUrl from next-15 host app tsconfigs next build runs a full type-check using the repo's TypeScript (now 6.0), which hard-errors (TS5101) on the deprecated baseUrl option. Both next-15 production-bundle e2e jobs failed on it. baseUrl is unnecessary here: the apps only use @/* path mappings and real package imports, and under moduleResolution 'bundler' paths resolve relative to the tsconfig location without baseUrl. This also matches the modern create-next-app scaffold, which no longer emits it. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Remove ts 7 from this branch * Upgrade typescript-eslint to a version compatible with TS6 --------- Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
44 lines
775 B
JSON
44 lines
775 B
JSON
{
|
|
"compilerOptions": {
|
|
"lib": [
|
|
"dom",
|
|
"dom.iterable",
|
|
"esnext"
|
|
],
|
|
"allowJs": true,
|
|
"skipLibCheck": true,
|
|
"strict": true,
|
|
"noEmit": true,
|
|
"esModuleInterop": true,
|
|
"module": "esnext",
|
|
"moduleResolution": "bundler",
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"jsx": "preserve",
|
|
"incremental": true,
|
|
"plugins": [
|
|
{
|
|
"name": "next"
|
|
}
|
|
],
|
|
"paths": {
|
|
"@/*": [
|
|
"./src/*"
|
|
],
|
|
"@metabase/embedding-sdk-react": [
|
|
"./node_modules/@metabase/embedding-sdk-react"
|
|
]
|
|
},
|
|
"target": "ES2017"
|
|
},
|
|
"include": [
|
|
"next-env.d.ts",
|
|
"**/*.ts",
|
|
"**/*.tsx",
|
|
".next/types/**/*.ts"
|
|
],
|
|
"exclude": [
|
|
"node_modules"
|
|
]
|
|
}
|