Skip to content

Commit

Permalink
chore: migrate to nx 20.4.6 (#318)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hotell authored Mar 11, 2025
1 parent e57ba3b commit 98d5e8f
Show file tree
Hide file tree
Showing 4 changed files with 569 additions and 430 deletions.
47 changes: 19 additions & 28 deletions migrations.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,43 +16,34 @@
"name": "move-use-daemon-process"
},
{
"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"
"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"
},
{
"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.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"
},
{
"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",
"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": "update-20-2-0-update-with-module-federation-import"
},
{
"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"
"name": "ensure-nx-module-federation-package"
},
{
"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.4.0-beta.0",
"description": "Add NX_MF_DEV_REMOTES to inputs for task hashing when '@nx/webpack:webpack' or '@nx/rspack:rspack' is used for Module Federation.",
"factory": "./src/migrations/update-18-0-0/add-mf-env-var-to-target-defaults",
"package": "@nx/react",
"name": "add-mf-env-var-to-target-defaults"
}
]
}
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,18 @@
"@fluentui/react-shared-contexts": "^9.7.2",
"@fluentui/scheme-utilities": "^8.3.58",
"@griffel/shadow-dom": "~0.2.0",
"@nx/devkit": "20.2.2",
"@nx/eslint": "20.2.2",
"@nx/eslint-plugin": "20.2.2",
"@nx/jest": "20.2.2",
"@nx/js": "20.2.2",
"@nx/playwright": "20.2.2",
"@nx/plugin": "20.2.2",
"@nx/react": "20.2.2",
"@nx/storybook": "20.2.2",
"@nx/web": "20.2.2",
"@nx/webpack": "20.2.2",
"@nx/workspace": "20.2.2",
"@nx/devkit": "20.4.6",
"@nx/eslint": "20.4.6",
"@nx/eslint-plugin": "20.4.6",
"@nx/jest": "20.4.6",
"@nx/js": "20.4.6",
"@nx/playwright": "20.4.6",
"@nx/plugin": "20.4.6",
"@nx/react": "20.4.6",
"@nx/storybook": "20.4.6",
"@nx/web": "20.4.6",
"@nx/webpack": "20.4.6",
"@nx/workspace": "20.4.6",
"@playwright/experimental-ct-react": "^1.49.1",
"@rnx-kit/eslint-plugin": "0.5.3",
"@storybook/addon-docs": "7.6.17",
Expand All @@ -67,7 +67,7 @@
"@swc/core": "1.5.29",
"@swc/helpers": "~0.5.11",
"@swc/jest": "0.2.36",
"@testing-library/react": "15.0.6",
"@testing-library/react": "16.1.0",
"@types/jest": "29.5.14",
"@types/node": "20.14.9",
"@types/react": "18.3.1",
Expand All @@ -84,7 +84,7 @@
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"jsonc-eslint-parser": "^2.1.0",
"nx": "20.2.2",
"nx": "20.4.6",
"parsel-js": "^1.1.2",
"patch-package": "^7.0.0",
"prettier": "^2.6.2",
Expand All @@ -100,7 +100,7 @@
"syncpack": "^9.8.6",
"ts-node": "10.9.1",
"tslib": "^2.3.0",
"typescript": "5.6.3",
"typescript": "5.7.3",
"verdaccio": "^5.0.4"
},
"dependencies": {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ describe('create-package generator', () => {
"package.json",
"project.json",
".eslintrc.json",
"jest.config.ts",
"tsconfig.spec.json",
"jest.config.ts",
]
`);

Expand Down
Loading

0 comments on commit 98d5e8f

Please sign in to comment.