Skip to content

chore: upgrade dependencies and apply formatting fixes - #75

Merged
fwal merged 7 commits into
mainfrom
claude/dependency-updates-9y8u8w
Aug 6, 2026
Merged

chore: upgrade dependencies and apply formatting fixes#75
fwal merged 7 commits into
mainfrom
claude/dependency-updates-9y8u8w

Conversation

@fwal

@fwal fwal commented Aug 6, 2026

Copy link
Copy Markdown
Owner

Summary

This PR upgrades core dependencies to their latest versions and applies comprehensive formatting fixes across the codebase to maintain consistency with updated linting rules.

Key Changes

Dependency Upgrades

  • React: 19.2.4 → 19.2.8
  • Nx: 22.5.4 → 23.1.1 (all @nx/* packages)
  • TanStack Router: 1.139.x → 1.170.19 (with related devtools and plugins)
  • Testing libraries: @testing-library/react 16.1.0 → 16.3.2, @vitest/* 4.0.9 → 4.1.10
  • Build tools: @swc/cli 0.7.10 → 0.8.1, @swc/core 1.15.8 → 1.15.47
  • Type definitions: @types/node 20.19.9 → 24.13.3, @types/react 19.0.0 → 19.2.18
  • Utilities: tslib ^2.3.0 → ^2.8.1
  • ESLint: @eslint/js ^9.8.0 → ^9.39.5

Formatting & Code Style

  • Applied trailing commas to function parameters and type definitions across all packages
  • Fixed multi-line type parameter formatting in interface definitions
  • Standardized line breaks in conditional type expressions
  • Updated HTML doctype declaration (DOCTYPE → doctype)
  • Reformatted Tailwind CSS imports in styles.css
  • Applied consistent formatting to JSX component props

Configuration Updates

  • Added ignoreDeprecations: "6.0" to all tsconfig.json files for TypeScript 6.0 compatibility
  • Added rootDir configuration to spec tsconfig files
  • Removed deprecated vitest.workspace.ts in favor of vitest.config.ts
  • Added @nx/vitest plugin to nx.json
  • Updated .prettierignore to exclude generated files and Nx directories
  • Updated .gitignore with new Nx and Claude workspace directories
  • Removed .github/dependabot.yml (dependency management now handled differently)
  • Removed example app Tailwind config files (postcss.config.js, tailwind.config.js)

ESLint Configuration

  • Updated eslint.config.mjs to use named import for jsonc-eslint-parser

TypeScript Compatibility

  • Added TypeScript 6.0 deprecation suppression across all packages
  • Updated generated route tree file (routeTree.gen.ts) with reordered imports

Notable Implementation Details

  • All formatting changes maintain semantic equivalence - no logic changes
  • Dependency upgrades are backward compatible with existing code
  • TypeScript 6.0 compatibility flags ensure smooth transition when upgrading
  • Removed Tailwind configuration from example app (likely using Nx's built-in support)

https://claude.ai/code/session_01HswsFLZhfo4fmyAT72tQNq

claude added 7 commits August 5, 2026 08:14
- Migrate Nx 22.5.4 -> 23.1.1 via 'nx migrate', applying all generated
  migrations (TypeScript 6.0.3, Vite 8.2.0 with Rolldown,
  @vitejs/plugin-react 6, tsconfig rootDir/ignoreDeprecations pins,
  vitest.workspace.ts inlined into vitest.config.ts, @nx/vitest plugin)
- Align example/app @nx/* and vite versions with the migration targets
- Update express catalog to ^5.2.1 and @types/express to ^5.0.6 to match
  firebase-functions 7.3.2, which moved to Express 5
- Bump firebase, firebase-functions, react, vitest, swc, testing-library,
  eslint plugins, postcss, autoprefixer, jiti, ts-node, esbuild and other
  minor/patch updates
- Held back on unrelated majors: TypeScript 7, ESLint 10, Prettier 3,
  Tailwind 4, jsdom 30, eslint-plugin-react-hooks 7
- Remove .github/dependabot.yml: dependabot handles pnpm catalog
  monorepos unreliably; updates are done via Nx migrations instead

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HswsFLZhfo4fmyAT72tQNq
Matches the Node 24 runtime declared in .nvmrc and the example packages'
engines field.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HswsFLZhfo4fmyAT72tQNq
Test-environment-only dependency; all suites pass on the new major.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HswsFLZhfo4fmyAT72tQNq
Lint passes with no new findings.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HswsFLZhfo4fmyAT72tQNq
v3 no longer ships a default export, so the root flat config now uses a
namespace import for the parser. Used by the package.json
dependency-checks lint rules; lint passes.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HswsFLZhfo4fmyAT72tQNq
Prettier 3 changed the default trailingComma from 'es5' to 'all'; the
whole workspace is reformatted with 'nx format:write --all' in this same
commit. Also ignore generated *.gen.ts files (the TanStack router plugin
rewrites routeTree.gen.ts in its own style on every build).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HswsFLZhfo4fmyAT72tQNq
Migrate the example app to the Tailwind 4 setup:
- Use the @tailwindcss/vite plugin instead of the PostCSS pipeline
- Replace the @tailwind directives in styles.css with @import 'tailwindcss'
- Delete tailwind.config.js and postcss.config.js; v4 auto-detects
  content and handles vendor prefixing, so postcss and autoprefixer are
  removed from the root devDependencies
- Drop the now-unused @nx/react dependency from the example app (it was
  only needed for the tailwind config's dependency glob helper)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HswsFLZhfo4fmyAT72tQNq
@greptile-apps

greptile-apps Bot commented Aug 6, 2026

Copy link
Copy Markdown

Too many files changed for review (128 files, 100 file limit).

Bypass the limit by tagging @greptile-apps to review.

@coderabbitai

coderabbitai Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Too many files!

This PR contains 127 files, which is 27 over the limit of 100.

To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch.

Upgrade to a paid plan to raise the limit.

This review couldn't start because sufficient usage credits or metered capacity aren't available. Add credits or update usage-based reviews in the billing tab, then retry.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: ebb5bb2c-398e-41e0-be14-feaebb368a6e

📥 Commits

Reviewing files that changed from the base of the PR and between 4b0701d and 848d993.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (127)
  • .github/dependabot.yml
  • .gitignore
  • .prettierignore
  • MIGRATION.md
  • REACT.md
  • README.md
  • eslint.config.mjs
  • example/app/index.html
  • example/app/package.json
  • example/app/postcss.config.js
  • example/app/src/components/core/button.tsx
  • example/app/src/components/core/card.tsx
  • example/app/src/components/core/checkbox.tsx
  • example/app/src/components/core/code-block.tsx
  • example/app/src/components/core/empty-state.tsx
  • example/app/src/components/core/icon-button.tsx
  • example/app/src/components/core/input.tsx
  • example/app/src/components/core/spinner.tsx
  • example/app/src/components/core/textarea.tsx
  • example/app/src/components/menu/menu-item.tsx
  • example/app/src/components/menu/side-menu.tsx
  • example/app/src/lib/atoms.ts
  • example/app/src/main.tsx
  • example/app/src/routeTree.gen.ts
  • example/app/src/routes/firestore.tsx
  • example/app/src/routes/functions.tsx
  • example/app/src/styles.css
  • example/app/tailwind.config.js
  • example/app/tsconfig.app.json
  • example/app/tsconfig.json
  • example/app/tsconfig.spec.json
  • example/app/vite.config.ts
  • example/backend/eslint.config.mjs
  • example/backend/src/lib/error-handler.ts
  • example/backend/src/lib/on-call.ts
  • example/backend/src/lib/on-post-updated.ts
  • example/backend/src/lib/on-request.ts
  • example/backend/tsconfig.app.json
  • example/backend/tsconfig.json
  • example/shared/eslint.config.mjs
  • example/shared/package.json
  • example/shared/src/functions/error-schema.ts
  • example/shared/src/models/author-repository.ts
  • example/shared/src/models/post-repository.ts
  • example/shared/src/models/post.ts
  • example/shared/tsconfig.json
  • nx.json
  • package.json
  • packages/admin/README.md
  • packages/admin/eslint.config.mjs
  • packages/admin/package.json
  • packages/admin/src/lib/admin.ts
  • packages/admin/src/lib/app.ts
  • packages/admin/src/lib/firestore/converter.spec.ts
  • packages/admin/src/lib/firestore/converter.ts
  • packages/admin/src/lib/firestore/firestore-service.spec.ts
  • packages/admin/src/lib/firestore/firestore-service.ts
  • packages/admin/src/lib/firestore/query-builder.ts
  • packages/admin/src/lib/functions/decode-document-data.ts
  • packages/admin/src/lib/functions/on-call-helpers.ts
  • packages/admin/src/lib/functions/on-call.ts
  • packages/admin/src/lib/functions/on-document-created.ts
  • packages/admin/src/lib/functions/on-document-deleted.ts
  • packages/admin/src/lib/functions/on-document-updated.ts
  • packages/admin/src/lib/functions/on-document-written.ts
  • packages/admin/src/lib/functions/on-message-published.ts
  • packages/admin/src/lib/functions/on-request-helpers.ts
  • packages/admin/src/lib/functions/on-request.ts
  • packages/admin/src/lib/functions/on-task-dispatched.ts
  • packages/admin/src/lib/functions/run.ts
  • packages/admin/src/lib/logger.ts
  • packages/admin/src/lib/runtime.ts
  • packages/admin/tsconfig.json
  • packages/admin/tsconfig.lib.json
  • packages/admin/tsconfig.spec.json
  • packages/client/README.md
  • packages/client/eslint.config.mjs
  • packages/client/package.json
  • packages/client/src/lib/app.ts
  • packages/client/src/lib/client.ts
  • packages/client/src/lib/firestore/converter.spec.ts
  • packages/client/src/lib/firestore/converter.ts
  • packages/client/src/lib/firestore/firestore-service.spec.ts
  • packages/client/src/lib/firestore/firestore-service.ts
  • packages/client/src/lib/firestore/query-builder.ts
  • packages/client/tsconfig.json
  • packages/client/tsconfig.lib.json
  • packages/client/tsconfig.spec.json
  • packages/effect-firebase/README.md
  • packages/effect-firebase/package.json
  • packages/effect-firebase/src/lib/firestore/errors.ts
  • packages/effect-firebase/src/lib/firestore/firestore-service.ts
  • packages/effect-firebase/src/lib/firestore/model/array.spec.ts
  • packages/effect-firebase/src/lib/firestore/model/array.ts
  • packages/effect-firebase/src/lib/firestore/model/datetime.spec.ts
  • packages/effect-firebase/src/lib/firestore/model/datetime.ts
  • packages/effect-firebase/src/lib/firestore/model/fetch.ts
  • packages/effect-firebase/src/lib/firestore/model/geopoint.spec.ts
  • packages/effect-firebase/src/lib/firestore/model/optional.spec.ts
  • packages/effect-firebase/src/lib/firestore/model/optional.ts
  • packages/effect-firebase/src/lib/firestore/model/reference.spec.ts
  • packages/effect-firebase/src/lib/firestore/model/reference.ts
  • packages/effect-firebase/src/lib/firestore/model/repository.spec.ts
  • packages/effect-firebase/src/lib/firestore/model/repository.ts
  • packages/effect-firebase/src/lib/firestore/noop-layer.ts
  • packages/effect-firebase/src/lib/firestore/query/query.ts
  • packages/effect-firebase/src/lib/firestore/schema/geopoint.spec.ts
  • packages/effect-firebase/src/lib/firestore/schema/reference.spec.ts
  • packages/effect-firebase/src/lib/firestore/schema/reference.ts
  • packages/effect-firebase/src/lib/firestore/schema/timestamp.ts
  • packages/effect-firebase/src/lib/firestore/snapshot.ts
  • packages/effect-firebase/src/lib/firestore/transaction.spec.ts
  • packages/effect-firebase/src/lib/firestore/transaction.ts
  • packages/effect-firebase/tsconfig.json
  • packages/effect-firebase/tsconfig.lib.json
  • packages/effect-firebase/tsconfig.spec.json
  • packages/mock/README.md
  • packages/mock/package.json
  • packages/mock/src/lib/firestore/firestore-service.ts
  • packages/mock/tsconfig.json
  • packages/mock/tsconfig.lib.json
  • packages/mock/tsconfig.spec.json
  • pnpm-workspace.yaml
  • tsconfig.base.json
  • tsconfig.json
  • vitest.config.ts
  • vitest.workspace.ts

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@fwal fwal self-assigned this Aug 6, 2026
@fwal
fwal merged commit b5175b2 into main Aug 6, 2026
6 checks passed
@fwal
fwal deleted the claude/dependency-updates-9y8u8w branch August 6, 2026 06:54
@fwal fwal added this to the 1.0 milestone Aug 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants