Skip to content

Upgrade nx version from 20 to 22#1

Merged
simonc56 merged 7 commits into
mainfrom
chore/upgrade-stack
May 13, 2026
Merged

Upgrade nx version from 20 to 22#1
simonc56 merged 7 commits into
mainfrom
chore/upgrade-stack

Conversation

@simonc56

Copy link
Copy Markdown
Owner

Upgrade nx :

pnpm nx migrate latest
pnpm install
pnpm nx migrate --run-migrations

Also updated :

  • React from 18 to 19
  • Mantine from 7 to 9
  • Vite from 5 to 8
  • Typescript from 5.7 to 5.9

Note: Eslint remains on version 9 (nx plugin)

Refs :

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 thread pnpm-workspace.yaml
Comment on lines +1 to +5
allowBuilds:
'@nestjs/core': true
'@parcel/watcher': true
'@prisma/client': true
'@prisma/engines': true
Comment thread package.json Outdated
"eslint-plugin-react-hooks": "5.0.0",
"jest": "^29.7.0",
"jest": "30.0.5",
"jest-environment-node": "^29.7.0",
Comment thread package.json
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",
Comment thread package.json
"devDependencies": {
"@eslint/js": "^9.8.0",
"@nestjs/schematics": "^10.0.1",
"@nestjs/schematics": "11.1.0",
Comment thread package.json
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 thread nx.json Outdated
Comment on lines +85 to +86
},
"analytics": true
Comment thread .prettierignore Outdated
/.nx/cache
/.nx/workspace-data No newline at end of file
/.nx/workspace-data
.nx/self-healing No newline at end of file
@simonc56 simonc56 merged commit 289730c into main May 13, 2026
@simonc56 simonc56 deleted the chore/upgrade-stack branch May 14, 2026 11: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.

2 participants