Upgrade nx version from 20 to 22#1
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Upgrades the workspace’s Nx toolchain (v20 → v22) and related frontend/build dependencies (React, Mantine, Vite, TypeScript), along with the config/migration updates produced by nx migrate.
Changes:
- Bumped core tooling versions (Nx + SWC + Jest/Vitest tooling + pnpm) and updated Nx config/plugins.
- Updated frontend Vite/TS configuration and removed debug logging in a query helper.
- Applied Nx/Jest migration updates (CJS Jest config exports) and added ignore entries for new Nx/Vite generated artifacts.
Reviewed changes
Copilot reviewed 14 out of 16 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| pnpm-workspace.yaml | Adds pnpm build allowlist configuration. |
| package.json | Updates dependency/tooling versions (Nx/React/Mantine/Vite/TS/Jest/etc). |
| nx.json | Updates Nx plugin configuration and enables analytics. |
| migrations.json | Adds Nx migrations manifest generated by nx migrate. |
| jest.config.ts | Migrates root Jest config from ESM export to CJS. |
| libs/jest.config.ts | Migrates libs Jest config to CJS. |
| apps/backend/jest.config.ts | Migrates backend Jest config to CJS. |
| apps/backend-e2e/jest.config.ts | Migrates backend-e2e Jest config to CJS. |
| eslint.config.mjs | Ignores Vite/Vitest timestamp temp files. |
| apps/frontend/vite.config.ts | Updates Vite config style, env loading, and proxy config. |
| apps/frontend/tsconfig.json | Switches to moduleResolution: bundler and formatting tweaks. |
| apps/frontend/src/utils/query.ts | Removes console logging. |
| apps/frontend/src/theme.ts | Adds Mantine theme default radius. |
| .prettierignore | Ignores Nx “self-healing” artifacts. |
| .gitignore | Ignores new Nx/Claude-generated directories. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+1
to
+5
| allowBuilds: | ||
| '@nestjs/core': true | ||
| '@parcel/watcher': true | ||
| '@prisma/client': true | ||
| '@prisma/engines': true |
| "eslint-plugin-react-hooks": "5.0.0", | ||
| "jest": "^29.7.0", | ||
| "jest": "30.0.5", | ||
| "jest-environment-node": "^29.7.0", |
Comment on lines
97
to
100
| "prettier": "^2.6.2", | ||
| "sass-embedded": "^1.83.4", | ||
| "ts-jest": "^29.1.0", | ||
| "ts-jest": "29.4.9", | ||
| "ts-node": "10.9.1", |
| "devDependencies": { | ||
| "@eslint/js": "^9.8.0", | ||
| "@nestjs/schematics": "^10.0.1", | ||
| "@nestjs/schematics": "11.1.0", |
Comment on lines
+42
to
46
| "react": "19.2.6", | ||
| "react-dom": "19.2.6", | ||
| "react-redux": "^9.2.0", | ||
| "react-router-dom": "^7.13.1", | ||
| "react-router-dom": "6.30.3", | ||
| "reflect-metadata": "^0.1.13", |
Comment on lines
+85
to
+86
| }, | ||
| "analytics": true |
| /.nx/cache | ||
| /.nx/workspace-data No newline at end of file | ||
| /.nx/workspace-data | ||
| .nx/self-healing No newline at end of file |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Upgrade nx :
Also updated :
Note: Eslint remains on version 9 (nx plugin)
Refs :