The NPM packages in devDependencies in this repository has a complicated relationship with each other. Therefore, upgrading them should be handled with care.
-
All the
@nxpackages must be pinned at the same version withnxpackage to avoid conflict."@nx/devkit": "21.2.2", "@nx/esbuild": "21.2.2", "@nx/eslint": "21.2.2", "@nx/eslint-plugin": "21.2.2", "@nx/js": "21.2.2", "@nx/vite": "21.2.2", "@nx/web": "21.2.2", ... "nx": "21.2.2"
-
All the packages that are in the same scope should be at the same version. For example:
"@typescript-eslint/eslint-plugin": "^8.36.0", "@typescript-eslint/parser": "^8.36.0",
-
@nx/esbuildlistsesbuildas peerDependency. Double check the required version ofesbuildinpackage.jsonof this package before upgrading. -
eslintandprettierare a peerDependencies of the following packages. Double check the required versions inpackage.jsonof these packages before upgrading. -
@nx/vitelistsviteandvitestas peerDependencies. Double check the required version ofviteandvitestinpackage.jsonof this package before upgrading.vitest,@vitest/coverage-v8and@vitest/uishould be at the same version.