chore: upgrade dependencies and apply formatting fixes - #75
Conversation
- 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
|
Too many files changed for review (128 files, 100 file limit). Bypass the limit by tagging |
|
Important Review skippedToo 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 configurationConfiguration used: Repository UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (127)
You can disable this status message by setting the 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. Comment |
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
Formatting & Code Style
Configuration Updates
ignoreDeprecations: "6.0"to all tsconfig.json files for TypeScript 6.0 compatibilityrootDirconfiguration to spec tsconfig filesvitest.workspace.tsin favor ofvitest.config.ts@nx/vitestplugin to nx.json.prettierignoreto exclude generated files and Nx directories.gitignorewith new Nx and Claude workspace directories.github/dependabot.yml(dependency management now handled differently)ESLint Configuration
TypeScript Compatibility
Notable Implementation Details
https://claude.ai/code/session_01HswsFLZhfo4fmyAT72tQNq