Skip to content

Update deps#35

Open
loicknuchel wants to merge 6 commits into
mainfrom
deps/batch-1-updates
Open

Update deps#35
loicknuchel wants to merge 6 commits into
mainfrom
deps/batch-1-updates

Conversation

@loicknuchel
Copy link
Copy Markdown
Contributor

No description provided.

loicknuchel and others added 6 commits February 26, 2026 20:04
…t-resizable-panels v4)

- Apply all within-range patch/minor updates via npm update --workspaces
- Upgrade @nestjs/schedule 5→6, dotenv 16→17, @swc/cli/@swc/core, supertest
- Upgrade lucide-react 0.475→0.575, recharts 2→3, react-resizable-panels 2→4
- Upgrade react-syntax-highlighter 15→16, streamdown 1→2
- Upgrade eslint-plugin-react-hooks 5→7, eslint-plugin-react-refresh 0.4→0.5
- Force uuid@11.x via root overrides (uuid 12+ is ESM-only, breaks CJS backend)
- Fix chart.tsx for recharts v3 API changes (Tooltip/Legend prop types)
- Fix resizable.tsx for react-resizable-panels v4 renames (Group, Separator)
- Pin posthog-node@5.24.17 (newer versions require Node >=22.22.0)
- TODO: better-sqlite3 v12, AI SDK v3, @xyflow/react, openid-client v7, jest v30

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Update @opentelemetry/resources, @opentelemetry/sdk-metrics 2.0→2.5
- Update @opentelemetry/sdk-node 0.201→0.212
- Tighten uuid override to exact "11.1.0" to prevent ESM-only uuid@13 from
  being installed in workspace-specific node_modules (npm bug workaround)
- Remove stale backend/node_modules/uuid and packages/core/node_modules/uuid
  entries from lockfile that were causing uuid@13 to be physically installed

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Update vite ^6 → ^7.3.1 in frontend
- Update @vitejs/plugin-react ^4 → ^5.1.4
- Update vitest ^3 → ^4.0.18
- Run npm dedupe to hoist single vite@7.3.1 to root (resolve dual-instance
  type conflict between vite@6 in root and vite@7 in frontend/node_modules)
- Fix vite.config.ts: import defineConfig from 'vitest/config' instead of
  using triple-slash reference (required by vitest v4)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Update jest, @types/jest, ts-jest to v30 in backend
- Add moduleDirectories to jest config to expose backend/node_modules to
  jest-resolve (needed because jest@30 is workspace-scoped while knex and
  better-sqlite3 are in different node_modules levels)
- Note: 7 test suites now correctly show as "skipped" (jest v30 behavior
  change: suites with all tests skipped are no longer counted as "passed")

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
API changes fixed:
- LanguageModelV2 → LanguageModelV3 in ai.service.ts and test
- LanguageModelV2ToolResultOutput → LanguageModelV3ToolResultOutput
- ToolCallPart/ToolResultPart: use LanguageModelV3 variants from @ai-sdk/provider
- Import tool/Tool from 'ai' instead of '@ai-sdk/provider-utils' (no longer top-level)
- Add 'tool-approval-request' and 'tool-output-denied' cases to stream switch
- GenerateTextResult<TOOLS, any>: drop OUTPUT generic (Output is a namespace in v6)
- Update ToolUIPart state enum in tool.tsx: add approval-requested, approval-responded, output-denied

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Update jest and @types/jest to v30 in packages/core
- Update @hookform/resolvers 4→5 in frontend
- Minor mysql2 patch update (3.18.1→3.18.2 within range)

TODO (deferred):
- openai 4→6: direct Assistants API usage needs careful migration
- eslint 9→10: major config format changes
- globals 16→17: depends on eslint upgrade
- @types/node 22→25: potential type incompatibilities
- Storybook 9→10: large upgrade
- better-sqlite3 v12: npm workspace resolution bug
- posthog-node >=5.25: requires Node >=22.22.0

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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