mirror of
https://github.com/bitbaum/kivvi.git
synced 2026-12-04 16:27:06 +01:00
* chore(deps): typescript 6
Bump typescript ^5.3.3 -> ^6.0.3 in all five package.jsons (fleet TS-6
sweep). TS 7.0.2 is blocked fleet-wide: typescript-eslint hard-errors
"does not support TS 7.0" (canaried 2026-08-31). Revisit when support
ships.
TS-6 breakage fixed properly, no ignoreDeprecations bridges:
- TS5101: baseUrl is deprecated — removed from root and apps/web
tsconfigs; `paths` entries are now tsconfig-relative (./-prefixed),
which resolves identically.
- TS6059: TS 6 defaults rootDir to the tsconfig directory instead of
the inferred common source directory, so cross-package source imports
(ai -> core/database src via paths) fell outside it. Set explicit
rootDir "../.." in packages/{ai,core,database} — noEmit type-check
only, semantics unchanged from TS 5's inference.
- TS2882: TS 6 checks side-effect imports; `import './globals.css'` in
apps/web needed a `declare module '*.css'` (css.d.ts).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn
* style: prettier pass on css.d.ts
---------
Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
5 lines
236 B
TypeScript
5 lines
236 B
TypeScript
// TS 6 (TS2882) checks side-effect imports like `import './globals.css'`,
|
|
// which Next's bundled types do not declare. Declare plain CSS modules so
|
|
// the type checker accepts what the bundler already handles.
|
|
declare module "*.css";
|