Skip to content

chore: upgrade all dependencies to latest major + minor - #639

Merged
tajo merged 1 commit into
mainfrom
worktree-dep-upgrade
Jun 28, 2026
Merged

chore: upgrade all dependencies to latest major + minor#639
tajo merged 1 commit into
mainfrom
worktree-dep-upgrade

Conversation

@tajo

@tajo tajo commented Jun 28, 2026

Copy link
Copy Markdown
Owner

Upgrades every workspace dependency (deps + devDeps) to its latest major+minor and makes the whole monorepo green again. Rebased on top of #636 (Vite 8 follow-up).

Highlights

  • Library (@ladle/react): Babel 7→8, Koa types 2→3, commander 12→15, globby 14→16, chokidar 4→5, open 10→11, react-hotkeys-hook 4→5, react-inspector 6→9, vitest 2→4, @types/node 22→26, msw, vite 8.0→8.1.
  • Tooling: ESLint 9→10, TypeScript 5.7→6, commitlint 19→21, lint-staged 15→17, globals 15→17, turbo, prettier, changesets, pnpm 9→11 (packageManager).
  • e2e: Tailwind 3→4, baseui 14→18, cross-env 7→10, Playwright 1.49→1.61.
  • Website: Docusaurus 3.6→3.10, React 18→19, algolia client 5.18→5.55.

Code changes required by the majors

  • Babel 8@babel/types is named-exports only (import * as t); removed parser plugins that are now default and the dropped decoratorsBeforeExport option; replaced a t.identifier() hack (Babel 8 validates identifier names) with a computed memberExpression; refreshed one snapshot (generator now emits UTF-8 instead of \xE9 escapes).
  • TypeScript 6 — added css.d.ts ambient module (TS6 reports unresolved side-effect CSS imports, TS2882).
  • ESLint 10 — pinned react.version (eslint-plugin-react's "detect" path still calls the removed getFilename()); fixed 4 real no-useless-assignment findings (newly in recommended).
  • Tailwind 4 — migrated e2e/css to @tailwindcss/postcss + @import "tailwindcss"/@source, removed the dead v3 JS config.
  • pnpm 11 — moved peerDependencyRules from the dead pnpm package.json field to pnpm-workspace.yaml; added a @mdx-js/react override so Docusaurus doesn't end up with two copies (which breaks the website SSG build).

Verification

  • Build 14/14 (forced) · tsc clean · lint clean
  • 56 unit tests · full e2e suite 16/16 turbo tasks (addons/baseui 18/msw/tailwind 4, dev + prod)

🤖 Generated with Claude Code

@tajo
tajo force-pushed the worktree-dep-upgrade branch 4 times, most recently from 8424fce to 73c40ff Compare June 28, 2026 01:53
@tajo
tajo force-pushed the worktree-dep-upgrade branch from 73c40ff to a7e7bbe Compare June 28, 2026 01:58
@tajo
tajo merged commit dc0e7fa into main Jun 28, 2026
4 checks passed
@tajo
tajo deleted the worktree-dep-upgrade branch June 28, 2026 05:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant