Skip to content

Commit 3bca023

Browse files
feat: proceed pure migration to nx 20
1 parent 33fe1ab commit 3bca023

File tree

5 files changed

+788
-470
lines changed

5 files changed

+788
-470
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,5 @@ testem.log
4040
Thumbs.db
4141

4242
.nx/cache
43-
.nx/workspace-data
43+
.nx/workspace-data
44+
.angular

.prettierignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@
44
/coverage
55

66
/.nx/cache
7-
/.nx/workspace-data
7+
/.nx/workspace-data
8+
.angular

migrations.json

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
{
22
"migrations": [
3-
{ "cli": "nx", "version": "19.2.0-beta.2", "description": "Updates the default workspace data directory to .nx/workspace-data", "implementation": "./src/migrations/update-19-2-0/move-workspace-data-directory", "package": "nx", "name": "19-2-0-move-graph-cache-directory" },
4-
{ "cli": "nx", "version": "19.2.2-beta.0", "description": "Updates the nx wrapper.", "implementation": "./src/migrations/update-17-3-0/update-nxw", "package": "nx", "name": "19-2-2-update-nx-wrapper" },
5-
{ "version": "19.2.4-beta.0", "description": "Set project name in nx.json explicitly", "implementation": "./src/migrations/update-19-2-4/set-project-name", "x-repair-skip": true, "package": "nx", "name": "19-2-4-set-project-name" },
6-
{ "cli": "nx", "version": "19.5.0-beta.1", "requires": { "@angular/core": ">=18.1.0" }, "description": "Update the @angular/cli package version to ~18.1.0.", "factory": "./src/migrations/update-19-5-0/update-angular-cli", "package": "@nx/angular", "name": "update-angular-cli-version-18-1-0" },
7-
{ "cli": "nx", "version": "19.6.0-beta.4", "description": "Ensure Module Federation DTS is turned off by default.", "factory": "./src/migrations/update-19-6-0/turn-off-dts-by-default", "package": "@nx/angular", "name": "update-19-6-0" },
8-
{ "cli": "nx", "version": "19.6.0-beta.7", "requires": { "@angular/core": ">=18.2.0" }, "description": "Update the @angular/cli package version to ~18.2.0.", "factory": "./src/migrations/update-19-6-0/update-angular-cli", "package": "@nx/angular", "name": "update-angular-cli-version-18-2-0" },
9-
{ "cli": "nx", "version": "19.6.1-beta.0", "description": "Ensure Target Defaults are set correctly for Module Federation.", "factory": "./src/migrations/update-19-6-1/ensure-depends-on-for-mf", "package": "@nx/angular", "name": "update-19-6-1-ensure-module-federation-target-defaults" },
10-
{ "version": "18.1.0", "description": "Updates calls to afterRender with an explicit phase to the new API", "factory": "./migrations/after-render-phase/bundle", "package": "@angular/core", "name": "migration-after-render-phase" }
3+
{ "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" },
4+
{
5+
"cli": "nx",
6+
"version": "20.0.0-beta.5",
7+
"description": "replace getJestProjects with getJestProjectsAsync",
8+
"implementation": "./src/migrations/update-20-0-0/replace-getJestProjects-with-getJestProjectsAsync",
9+
"package": "@nx/jest",
10+
"name": "replace-getJestProjects-with-getJestProjectsAsync"
11+
}
1112
]
1213
}

package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,17 @@
3131
},
3232
"private": true,
3333
"devDependencies": {
34-
"@angular-devkit/schematics": "18.2.4",
35-
"@angular/core": "18.2.4",
34+
"@angular-devkit/core": "~18.2.0",
35+
"@nx/angular": "20.0.0",
36+
"@nx/devkit": "20.0.0",
37+
"@nx/eslint": "20.0.0",
38+
"@nx/eslint-plugin": "20.0.0",
39+
"@nx/express": "20.0.0",
40+
"@nx/jest": "20.0.0",
41+
"@nx/js": "20.0.0",
42+
"@nx/plugin": "20.0.0",
43+
"@nx/web": "20.0.0",
44+
"@nx/workspace": "20.0.0",
3645
"@types/fs-extra": "^11.0.3",
3746
"@types/jest": "29.5.13",
3847
"@types/node": "^20.0.0",
@@ -49,24 +58,15 @@
4958
"fs-extra": "^11.2.0",
5059
"jest": "29.7.0",
5160
"jsonc-parser": "3.2.1",
52-
"nx": "19.7.3",
61+
"nx": "20.0.0",
62+
"nx-cloud": "19.1.0",
5363
"plist": "^3.1.0",
5464
"prettier": "^2.7.1",
5565
"ts-jest": "29.1.3",
5666
"ts-node": "10.9.2",
5767
"tslib": "^2.6.2",
5868
"typescript": "5.5.4",
59-
"xml2js": "^0.6.2",
60-
"nx-cloud": "19.1.0",
61-
"@nx/devkit": "19.7.3",
62-
"@nx/workspace": "19.7.3",
63-
"@nx/plugin": "19.7.3",
64-
"@nx/web": "19.7.3",
65-
"@nx/js": "19.7.3",
66-
"@nx/eslint-plugin": "19.7.3",
67-
"@nx/jest": "19.7.3",
68-
"@nx/express": "19.7.3",
69-
"@nx/angular": "19.7.3",
70-
"@nx/eslint": "19.7.3"
71-
}
69+
"xml2js": "^0.6.2"
70+
},
71+
"dependencies": {}
7272
}

0 commit comments

Comments
 (0)