Skip to content

Commit e8416dc

Browse files
committed
Angular 19
1 parent b4524ad commit e8416dc

File tree

7 files changed

+8525
-6030
lines changed

7 files changed

+8525
-6030
lines changed

ui/.eslintrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
"prefix": "app",
2424
"style": "kebab-case"
2525
}
26-
]
26+
],
27+
"@angular-eslint/prefer-standalone": "off"
2728
}
2829
},
2930
{

ui/migrations.json

Lines changed: 86 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,86 +1,126 @@
11
{
22
"migrations": [
33
{
4-
"cli": "nx",
5-
"version": "19.2.2-beta.0",
6-
"description": "Updates the nx wrapper.",
7-
"implementation": "./src/migrations/update-17-3-0/update-nxw",
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-2-update-nx-wrapper"
8+
"name": "move-use-daemon-process"
109
},
1110
{
12-
"version": "19.2.4-beta.0",
13-
"description": "Set project name in nx.json explicitly",
14-
"implementation": "./src/migrations/update-19-2-4/set-project-name",
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",
1514
"x-repair-skip": true,
1615
"package": "nx",
17-
"name": "19-2-4-set-project-name"
16+
"name": "use-legacy-cache"
17+
},
18+
{
19+
"version": "20.2.0-beta.5",
20+
"description": "Update TypeScript ESLint packages to v8.13.0 if they are already on v8",
21+
"implementation": "./src/migrations/update-20-2-0/update-typescript-eslint-v8-13-0",
22+
"package": "@nx/eslint",
23+
"name": "update-typescript-eslint-v8.13.0"
24+
},
25+
{
26+
"cli": "nx",
27+
"version": "20.0.0-beta.5",
28+
"description": "replace getJestProjects with getJestProjectsAsync",
29+
"implementation": "./src/migrations/update-20-0-0/replace-getJestProjects-with-getJestProjectsAsync",
30+
"package": "@nx/jest",
31+
"name": "replace-getJestProjects-with-getJestProjectsAsync"
32+
},
33+
{
34+
"cli": "nx",
35+
"version": "20.2.0-beta.2",
36+
"description": "Update the ModuleFederationConfig import use @nx/module-federation.",
37+
"factory": "./src/migrations/update-20-2-0/migrate-mf-imports-to-new-package",
38+
"package": "@nx/angular",
39+
"name": "update-20-2-0-update-module-federation-config-import"
1840
},
1941
{
2042
"cli": "nx",
21-
"version": "19.6.0-beta.0",
22-
"description": "Use serve-static or preview for webServerCommand.",
23-
"implementation": "./src/migrations/update-19-6-0/use-serve-static-preview-for-command",
24-
"package": "@nx/playwright",
25-
"name": "19-6-0-use-serve-static-preview-for-command"
43+
"version": "20.2.0-beta.2",
44+
"description": "Update the withModuleFederation import use @nx/module-federation/angular.",
45+
"factory": "./src/migrations/update-20-2-0/migrate-with-mf-import-to-new-package",
46+
"package": "@nx/angular",
47+
"name": "update-20-2-0-update-with-module-federation-import"
2648
},
2749
{
2850
"cli": "nx",
29-
"version": "19.6.0-beta.1",
30-
"description": "Add inferred ciTargetNames to targetDefaults with dependsOn to ensure dependent application builds are scheduled before atomized tasks.",
31-
"implementation": "./src/migrations/update-19-6-0/add-e2e-ci-target-defaults",
32-
"package": "@nx/playwright",
33-
"name": "update-19-6-0-add-e2e-ci-target-defaults"
51+
"version": "20.2.0-beta.5",
52+
"requires": { "@angular/core": ">=19.0.0" },
53+
"description": "Update the @angular/cli package version to ~19.0.0.",
54+
"factory": "./src/migrations/update-20-2-0/update-angular-cli",
55+
"package": "@nx/angular",
56+
"name": "update-angular-cli-version-19-0-0"
3457
},
3558
{
3659
"cli": "nx",
37-
"version": "19.2.1-beta.0",
38-
"requires": { "@angular-eslint/eslint-plugin": ">=18.0.0" },
39-
"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.",
40-
"factory": "./src/migrations/update-19-2-1/add-typescript-eslint-utils",
60+
"version": "20.2.0-beta.5",
61+
"requires": { "@angular/core": ">=19.0.0" },
62+
"description": "Add the '@angular/localize/init' polyfill to the 'polyfills' option of targets using esbuild-based executors.",
63+
"factory": "./src/migrations/update-20-2-0/add-localize-polyfill-to-targets",
4164
"package": "@nx/angular",
42-
"name": "add-typescript-eslint-utils"
65+
"name": "add-localize-polyfill-to-targets"
4366
},
4467
{
4568
"cli": "nx",
46-
"version": "19.5.0-beta.1",
47-
"requires": { "@angular/core": ">=18.1.0" },
48-
"description": "Update the @angular/cli package version to ~18.1.0.",
49-
"factory": "./src/migrations/update-19-5-0/update-angular-cli",
69+
"version": "20.2.0-beta.5",
70+
"requires": { "@angular/core": ">=19.0.0" },
71+
"description": "Update '@angular/ssr' import paths to use the new '/node' entry point when 'CommonEngine' is detected.",
72+
"factory": "./src/migrations/update-20-2-0/update-angular-ssr-imports-to-use-node-entry-point",
5073
"package": "@nx/angular",
51-
"name": "update-angular-cli-version-18-1-0"
74+
"name": "update-angular-ssr-imports-to-use-node-entry-point"
5275
},
5376
{
5477
"cli": "nx",
55-
"version": "19.6.0-beta.4",
56-
"description": "Ensure Module Federation DTS is turned off by default.",
57-
"factory": "./src/migrations/update-19-6-0/turn-off-dts-by-default",
78+
"version": "20.2.0-beta.6",
79+
"requires": { "@angular/core": ">=19.0.0" },
80+
"description": "Disable the Angular ESLint prefer-standalone rule if not set.",
81+
"factory": "./src/migrations/update-20-2-0/disable-angular-eslint-prefer-standalone",
5882
"package": "@nx/angular",
59-
"name": "update-19-6-0"
83+
"name": "disable-angular-eslint-prefer-standalone"
6084
},
6185
{
6286
"cli": "nx",
63-
"version": "19.6.0-beta.7",
64-
"requires": { "@angular/core": ">=18.2.0" },
65-
"description": "Update the @angular/cli package version to ~18.2.0.",
66-
"factory": "./src/migrations/update-19-6-0/update-angular-cli",
87+
"version": "20.2.0-beta.8",
88+
"requires": { "@angular/core": ">=19.0.0" },
89+
"description": "Remove Angular ESLint rules that were removed in v19.0.0.",
90+
"factory": "./src/migrations/update-20-2-0/remove-angular-eslint-rules",
6791
"package": "@nx/angular",
68-
"name": "update-angular-cli-version-18-2-0"
92+
"name": "remove-angular-eslint-rules"
6993
},
7094
{
7195
"cli": "nx",
72-
"version": "19.6.1-beta.0",
73-
"description": "Ensure Target Defaults are set correctly for Module Federation.",
74-
"factory": "./src/migrations/update-19-6-1/ensure-depends-on-for-mf",
96+
"version": "20.2.0-beta.8",
97+
"requires": { "@angular/core": ">=19.0.0" },
98+
"description": "Remove the deprecated 'tailwindConfig' option from ng-packagr executors. Tailwind CSS configurations located at the project or workspace root will be picked up automatically.",
99+
"factory": "./src/migrations/update-20-2-0/remove-tailwind-config-from-ng-packagr-executors",
75100
"package": "@nx/angular",
76-
"name": "update-19-6-1-ensure-module-federation-target-defaults"
101+
"name": "remove-tailwind-config-from-ng-packagr-executors"
102+
},
103+
{
104+
"version": "19.0.0",
105+
"description": "Updates non-standalone Directives, Component and Pipes to 'standalone:false' and removes 'standalone:true' from those who are standalone",
106+
"factory": "./bundles/explicit-standalone-flag#migrate",
107+
"package": "@angular/core",
108+
"name": "explicit-standalone-flag"
109+
},
110+
{
111+
"version": "19.0.0",
112+
"description": "Updates ExperimentalPendingTasks to PendingTasks",
113+
"factory": "./bundles/pending-tasks#migrate",
114+
"package": "@angular/core",
115+
"name": "pending-tasks"
77116
},
78117
{
79-
"version": "18.1.0",
80-
"description": "Updates calls to afterRender with an explicit phase to the new API",
81-
"factory": "./migrations/after-render-phase/bundle",
118+
"version": "19.0.0",
119+
"description": "Replaces `APP_INITIALIZER`, `ENVIRONMENT_INITIALIZER` & `PLATFORM_INITIALIZER` respectively with `provideAppInitializer`, `provideEnvironmentInitializer` & `providePlatformInitializer`.",
120+
"factory": "./bundles/provide-initializer#migrate",
121+
"optional": true,
82122
"package": "@angular/core",
83-
"name": "migration-after-render-phase"
123+
"name": "provide-initializer"
84124
}
85125
]
86126
}

ui/nx.json

Lines changed: 7 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,16 @@
22
"$schema": "./node_modules/nx/schemas/nx-schema.json",
33
"targetDefaults": {
44
"build": {
5-
"dependsOn": [
6-
"^build"
7-
],
8-
"inputs": [
9-
"production",
10-
"^production"
11-
],
5+
"dependsOn": ["^build"],
6+
"inputs": ["production", "^production"],
127
"cache": true
138
},
149
"e2e": {
15-
"inputs": [
16-
"default",
17-
"^production"
18-
],
10+
"inputs": ["default", "^production"],
1911
"cache": true
2012
},
2113
"@nx/jest:jest": {
22-
"inputs": [
23-
"default",
24-
"^production",
25-
"{workspaceRoot}/jest.preset.js"
26-
],
14+
"inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"],
2715
"cache": true,
2816
"options": {
2917
"passWithNoTests": true
@@ -45,10 +33,7 @@
4533
}
4634
},
4735
"namedInputs": {
48-
"default": [
49-
"{projectRoot}/**/*",
50-
"sharedGlobals"
51-
],
36+
"default": ["{projectRoot}/**/*", "sharedGlobals"],
5237
"production": [
5338
"default",
5439
"!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)",
@@ -77,5 +62,6 @@
7762
},
7863
"defaultProject": "ui",
7964
"nxCloudAccessToken": "NGJmZDYwYzItOTg1NS00ZTYyLWFkMmYtMDk1YWRlN2EzNjJifHJlYWQtd3JpdGU=",
80-
"useInferencePlugins": false
65+
"useInferencePlugins": false,
66+
"useLegacyCache": true
8167
}

0 commit comments

Comments
 (0)