Skip to content

Commit 19aa643

Browse files
committed
build(meta): run nx migrations
1 parent 81e8c84 commit 19aa643

File tree

3 files changed

+63
-56
lines changed

3 files changed

+63
-56
lines changed

jest.config.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { getJestProjects } from '@nx/jest';
1+
import { getJestProjectsAsync } from '@nx/jest';
22

3-
export default {
4-
projects: getJestProjects()
5-
};
3+
export default async () => ({
4+
projects: await getJestProjectsAsync()
5+
});

migrations.json

+56-51
Original file line numberDiff line numberDiff line change
@@ -1,79 +1,84 @@
11
{
22
"migrations": [
33
{
4-
"cli": "nx",
5-
"version": "19.2.0-beta.2",
6-
"description": "Updates the default workspace data directory to .nx/workspace-data",
7-
"implementation": "./src/migrations/update-19-2-0/move-workspace-data-directory",
4+
"version": "20.0.0-beta.7",
5+
"description": "Migration for v20.0.0-beta.7",
6+
"implementation": "./src/migrations/update-20-0-0/move-use-daemon-process",
87
"package": "nx",
9-
"name": "19-2-0-move-graph-cache-directory"
8+
"name": "move-use-daemon-process"
109
},
1110
{
12-
"cli": "nx",
13-
"version": "19.2.2-beta.0",
14-
"description": "Updates the nx wrapper.",
15-
"implementation": "./src/migrations/update-17-3-0/update-nxw",
11+
"version": "20.0.1",
12+
"description": "Set `useLegacyCache` to true for migrating workspaces",
13+
"implementation": "./src/migrations/update-20-0-1/use-legacy-cache",
14+
"x-repair-skip": true,
1615
"package": "nx",
17-
"name": "19-2-2-update-nx-wrapper"
16+
"name": "use-legacy-cache"
1817
},
1918
{
20-
"version": "19.2.4-beta.0",
21-
"description": "Set project name in nx.json explicitly",
22-
"implementation": "./src/migrations/update-19-2-4/set-project-name",
23-
"x-repair-skip": true,
24-
"package": "nx",
25-
"name": "19-2-4-set-project-name"
19+
"cli": "nx",
20+
"version": "19.6.0-beta.4",
21+
"description": "Update ciWebServerCommand to use static serve for the application.",
22+
"implementation": "./src/migrations/update-19-6-0/update-ci-webserver-for-static-serve",
23+
"package": "@nx/cypress",
24+
"name": "update-19-6-0-update-ci-webserver-for-vite"
25+
},
26+
{
27+
"cli": "nx",
28+
"version": "20.0.0-beta.5",
29+
"description": "replace getJestProjects with getJestProjectsAsync",
30+
"implementation": "./src/migrations/update-20-0-0/replace-getJestProjects-with-getJestProjectsAsync",
31+
"package": "@nx/jest",
32+
"name": "replace-getJestProjects-with-getJestProjectsAsync"
2633
},
2734
{
2835
"cli": "nx",
29-
"version": "19.1.0-beta.6",
30-
"description": "Migrate no-extra-semi rules into user config, out of nx extendable configs",
31-
"implementation": "./src/migrations/update-19-1-0-migrate-no-extra-semi/migrate-no-extra-semi",
32-
"package": "@nx/eslint-plugin",
33-
"name": "update-19-1-0-rename-no-extra-semi"
36+
"version": "19.6.3-beta.0",
37+
"description": "Migrate proxy config files to match new format from webpack-dev-server v5.",
38+
"implementation": "./src/migrations/update-19-6-3/proxy-config",
39+
"package": "@nx/webpack",
40+
"name": "update-19-6-3-proxy-config"
3441
},
3542
{
3643
"cli": "nx",
37-
"version": "19.1.0-beta.2",
38-
"requires": {
39-
"@angular/core": ">=18.0.0"
40-
},
41-
"description": "Update the @angular/cli package version to ~18.0.0.",
42-
"factory": "./src/migrations/update-19-1-0/update-angular-cli",
44+
"version": "19.5.0-beta.1",
45+
"requires": { "@angular/core": ">=18.1.0" },
46+
"description": "Update the @angular/cli package version to ~18.1.0.",
47+
"factory": "./src/migrations/update-19-5-0/update-angular-cli",
4348
"package": "@nx/angular",
44-
"name": "update-angular-cli-version-18-0-0"
49+
"name": "update-angular-cli-version-18-1-0"
4550
},
4651
{
4752
"cli": "nx",
48-
"version": "19.2.1-beta.0",
49-
"requires": {
50-
"@angular-eslint/eslint-plugin": ">=18.0.0"
51-
},
52-
"description": "Installs the '@typescript-eslint/utils' package when having installed '@angular-eslint/eslint-plugin' or '@angular-eslint/eslint-plugin-template' with version >=18.0.0.",
53-
"factory": "./src/migrations/update-19-2-1/add-typescript-eslint-utils",
53+
"version": "19.6.0-beta.4",
54+
"description": "Ensure Module Federation DTS is turned off by default.",
55+
"factory": "./src/migrations/update-19-6-0/turn-off-dts-by-default",
5456
"package": "@nx/angular",
55-
"name": "add-typescript-eslint-utils"
57+
"name": "update-19-6-0"
5658
},
5759
{
58-
"version": "18.0.0",
59-
"description": "Updates two-way bindings that have an invalid expression to use the longform expression instead.",
60-
"factory": "./migrations/invalid-two-way-bindings/bundle",
61-
"package": "@angular/core",
62-
"name": "invalid-two-way-bindings"
60+
"cli": "nx",
61+
"version": "19.6.0-beta.7",
62+
"requires": { "@angular/core": ">=18.2.0" },
63+
"description": "Update the @angular/cli package version to ~18.2.0.",
64+
"factory": "./src/migrations/update-19-6-0/update-angular-cli",
65+
"package": "@nx/angular",
66+
"name": "update-angular-cli-version-18-2-0"
6367
},
6468
{
65-
"version": "18.0.0",
66-
"description": "Replace deprecated HTTP related modules with provider functions",
67-
"factory": "./migrations/http-providers/bundle",
68-
"package": "@angular/core",
69-
"name": "migration-http-providers"
69+
"cli": "nx",
70+
"version": "19.6.1-beta.0",
71+
"description": "Ensure Target Defaults are set correctly for Module Federation.",
72+
"factory": "./src/migrations/update-19-6-1/ensure-depends-on-for-mf",
73+
"package": "@nx/angular",
74+
"name": "update-19-6-1-ensure-module-federation-target-defaults"
7075
},
7176
{
72-
"version": "18.0.0-0",
73-
"description": "Updates the Angular CDK to v18",
74-
"factory": "./ng-update/index#updateToV18",
75-
"package": "@angular/cdk",
76-
"name": "migration-v18"
77+
"version": "18.1.0",
78+
"description": "Updates calls to afterRender with an explicit phase to the new API",
79+
"factory": "./migrations/after-render-phase/bundle",
80+
"package": "@angular/core",
81+
"name": "migration-after-render-phase"
7782
}
7883
]
79-
}
84+
}

nx.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -69,5 +69,7 @@
6969
}
7070
},
7171
"useInferencePlugins": false,
72-
"defaultBase": "main"
72+
"defaultBase": "main",
73+
"nxCloudId": "673c5663919aab4e89177073",
74+
"useLegacyCache": true
7375
}

0 commit comments

Comments
 (0)