Skip to content

Commit

Permalink
Upgrade NX to 20.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
paustint committed Jan 20, 2025
1 parent 79ce78d commit a930a64
Show file tree
Hide file tree
Showing 5 changed files with 829 additions and 865 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,5 @@ package-lock.json
!/scripts/**/data/.gitkeep

vite.config.*.timestamp*

vitest.config.*.timestamp*
58 changes: 33 additions & 25 deletions migrations.json
Original file line number Diff line number Diff line change
@@ -1,41 +1,49 @@
{
"migrations": [
{
"version": "20.0.0-beta.7",
"description": "Migration for v20.0.0-beta.7",
"implementation": "./src/migrations/update-20-0-0/move-use-daemon-process",
"package": "nx",
"name": "move-use-daemon-process"
"cli": "nx",
"version": "20.2.0-beta.2",
"description": "Update the ModuleFederationConfig import use @nx/module-federation.",
"factory": "./src/migrations/update-20-2-0/migrate-mf-imports-to-new-package",
"package": "@nx/react",
"name": "update-20-2-0-update-module-federation-config-import"
},
{
"version": "20.0.1",
"description": "Set `useLegacyCache` to true for migrating workspaces",
"implementation": "./src/migrations/update-20-0-1/use-legacy-cache",
"x-repair-skip": true,
"package": "nx",
"name": "use-legacy-cache"
"cli": "nx",
"version": "20.2.0-beta.2",
"description": "Update the withModuleFederation import use @nx/module-federation/webpack.",
"factory": "./src/migrations/update-20-2-0/migrate-with-mf-import-to-new-package",
"package": "@nx/react",
"name": "update-20-2-0-update-with-module-federation-import"
},
{
"cli": "nx",
"version": "20.0.0-beta.5",
"description": "replace getJestProjects with getJestProjectsAsync",
"implementation": "./src/migrations/update-20-0-0/replace-getJestProjects-with-getJestProjectsAsync",
"package": "@nx/jest",
"name": "replace-getJestProjects-with-getJestProjectsAsync"
"version": "20.3.0-beta.2",
"description": "If workspace includes Module Federation projects, ensure the new @nx/module-federation package is installed.",
"factory": "./src/migrations/update-20-3-0/ensure-nx-module-federation-package",
"package": "@nx/react",
"name": "ensure-nx-module-federation-package"
},
{
"version": "20.0.4-beta.0",
"description": "Add gitignore entry for temporary vite config files.",
"implementation": "./src/migrations/update-20-0-4/add-vite-temp-files-to-git-ignore",
"package": "@nx/vite",
"name": "update-20-0-4"
"version": "20.2.0-beta.5",
"description": "Update TypeScript ESLint packages to v8.13.0 if they are already on v8",
"implementation": "./src/migrations/update-20-2-0/update-typescript-eslint-v8-13-0",
"package": "@nx/eslint",
"name": "update-typescript-eslint-v8.13.0"
},
{
"version": "20.3.0-beta.1",
"description": "Update ESLint flat config to include .cjs, .mjs, .cts, and .mts files in overrides (if needed)",
"implementation": "./src/migrations/update-20-3-0/add-file-extensions-to-overrides",
"package": "@nx/eslint",
"name": "add-file-extensions-to-overrides"
},
{
"version": "20.0.6-beta.0",
"description": "Add gitignore entry for temporary vite config files and remove previous incorrect glob.",
"implementation": "./src/migrations/update-20-0-4/add-vite-temp-files-to-git-ignore",
"version": "20.3.0-beta.2",
"description": "Add gitignore entry for temporary vitest config files.",
"implementation": "./src/migrations/update-20-3-0/add-vitest-temp-files-to-git-ignore",
"package": "@nx/vite",
"name": "update-20-0-6"
"name": "update-20-3-0"
}
]
}
2 changes: 1 addition & 1 deletion nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -183,5 +183,5 @@
}
],
"defaultBase": "main",
"useLegacyCache": true
"useLegacyCache": false
}
46 changes: 23 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,31 +107,31 @@
"@eslint/compat": "^1.1.1",
"@eslint/eslintrc": "^2.1.1",
"@eslint/js": "~8.57.0",
"@nx/devkit": "20.1.2",
"@nx/esbuild": "20.1.2",
"@nx/eslint": "20.1.2",
"@nx/eslint-plugin": "20.1.2",
"@nx/express": "20.1.2",
"@nx/jest": "20.1.2",
"@nx/js": "20.1.2",
"@nx/next": "20.1.2",
"@nx/node": "20.1.2",
"@nx/playwright": "20.1.2",
"@nx/plugin": "20.1.2",
"@nx/react": "20.1.2",
"@nx/storybook": "20.1.2",
"@nx/vite": "20.1.2",
"@nx/web": "20.1.2",
"@nx/webpack": "20.1.2",
"@nx/workspace": "20.1.2",
"@nx/devkit": "20.3.2",
"@nx/esbuild": "20.3.2",
"@nx/eslint": "20.3.2",
"@nx/eslint-plugin": "20.3.2",
"@nx/express": "20.3.2",
"@nx/jest": "20.3.2",
"@nx/js": "20.3.2",
"@nx/next": "20.3.2",
"@nx/node": "20.3.2",
"@nx/playwright": "20.3.2",
"@nx/plugin": "20.3.2",
"@nx/react": "20.3.2",
"@nx/storybook": "20.3.2",
"@nx/vite": "20.3.2",
"@nx/web": "20.3.2",
"@nx/webpack": "20.3.2",
"@nx/workspace": "20.3.2",
"@playwright/test": "^1.48.2",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.7",
"@release-it/bumper": "^6.0.1",
"@salesforce-ux/design-system": "^2.25.6",
"@storybook/addon-essentials": "8.2.9",
"@storybook/addon-essentials": "8.5.0",
"@storybook/addon-knobs": "^7.0.2",
"@storybook/core-server": "8.2.9",
"@storybook/react": "8.2.9",
"@storybook/core-server": "8.5.0",
"@storybook/react": "8.5.0",
"@svgr/webpack": "8.0.1",
"@swc-node/register": "1.9.2",
"@swc/cli": "0.3.14",
Expand Down Expand Up @@ -210,7 +210,7 @@
"jsonc-eslint-parser": "^2.1.0",
"next-sitemap": "^4.2.3",
"npm-run-all": "^4.1.5",
"nx": "20.1.2",
"nx": "20.3.2",
"postcss": "^8.4.48",
"postcss-preset-env": "7",
"prettier": "2.7.0",
Expand All @@ -229,7 +229,7 @@
"tailwindcss": "^3.4.14",
"ts-jest": "29.1.0",
"ts-node": "^10.9.2",
"typescript": "5.5.4",
"typescript": "5.6.3",
"typescript-eslint": "^8.0.0",
"url-loader": "^4.1.1",
"vite": "^5.1.4",
Expand Down Expand Up @@ -270,7 +270,7 @@
"@react-aria/overlays": "^3.21.1",
"@react-email/components": "^0.0.25",
"@react-email/render": "1.0.1",
"@storybook/addon-interactions": "^8.2.8",
"@storybook/addon-interactions": "8.5.0",
"@swc/helpers": "0.5.11",
"@tanstack/react-virtual": "^3.4.0",
"@tippyjs/react": "^4.2.6",
Expand Down
Loading

0 comments on commit a930a64

Please sign in to comment.