Commit 95b85da
committed
chore(repo): upgrade TypeScript to 6.0
Three TS 6 defaults/deprecations land on this repo; all handled:
- tsup's dts worker injects baseUrl into the loaded tsconfig, which
TS 6 rejects with TS5101 — the exact breakage that motivated the
^5.9.3 workspace pin. Waived via ignoreDeprecations: "6.0" in
tsconfig.base.json (baseUrl still functions across 6.x; the waiver
dies with tsup-based dts generation before TS 7).
- noUncheckedSideEffectImports (now default) rejects the story files'
stylesheet imports — added a '*.css' ambient next to the existing
'*.scss' shim.
- The workspace pin stays, retargeted at ^6.0.3: TS 7 ships without
the programmatic JS API (7.1) that typescript-eslint and tsup both
require, so autoInstallPeers must not resolve it.
typescript-eslint 8.x supports TS <6.1.0; full preflight green.1 parent c09116f commit 95b85da
5 files changed
Lines changed: 94 additions & 82 deletions
File tree
- packages/mantine/src/typings
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
5 | 8 | | |
6 | 9 | | |
| 10 | + | |
0 commit comments