Skip to content

Commit cd107b7

Browse files
committed
migration to ng 17
1 parent d0bc565 commit cd107b7

File tree

32 files changed

+15826
-32426
lines changed

32 files changed

+15826
-32426
lines changed

.gitignore

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

4242
.angular
43+
44+
.nx/cache

.prettierignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@
22

33
/dist
44
/coverage
5+
6+
/.nx/cache

apps/mfe1-e2e/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
}
1919
},
2020
"lint": {
21-
"executor": "@nx/linter:eslint",
21+
"executor": "@nx/eslint:lint",
2222
"outputs": ["{options.outputFile}"],
2323
"options": {
2424
"lintFilePatterns": ["apps/mfe1-e2e/**/*.{js,ts}"]

apps/mfe1/project.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,22 +55,22 @@
5555
"executor": "@angular-devkit/build-angular:dev-server",
5656
"configurations": {
5757
"production": {
58-
"browserTarget": "mfe1:build:production"
58+
"buildTarget": "mfe1:build:production"
5959
},
6060
"development": {
61-
"browserTarget": "mfe1:build:development"
61+
"buildTarget": "mfe1:build:development"
6262
}
6363
},
6464
"defaultConfiguration": "development"
6565
},
6666
"extract-i18n": {
6767
"executor": "@angular-devkit/build-angular:extract-i18n",
6868
"options": {
69-
"browserTarget": "mfe1:build"
69+
"buildTarget": "mfe1:build"
7070
}
7171
},
7272
"lint": {
73-
"executor": "@nx/linter:eslint",
73+
"executor": "@nx/eslint:lint",
7474
"options": {
7575
"lintFilePatterns": ["apps/mfe1/**/*.ts", "apps/mfe1/**/*.html"]
7676
}
@@ -79,8 +79,7 @@
7979
"executor": "@nx/jest:jest",
8080
"outputs": ["{workspaceRoot}/coverage/apps/mfe1"],
8181
"options": {
82-
"jestConfig": "apps/mfe1/jest.config.ts",
83-
"passWithNoTests": true
82+
"jestConfig": "apps/mfe1/jest.config.ts"
8483
}
8584
}
8685
},

apps/mfe1/src/app/nx-welcome.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -769,10 +769,10 @@ import { Component, OnInit, ViewEncapsulation } from '@angular/core';
769769
Add UI library
770770
</summary>
771771
<pre><span># Generate UI lib</span>
772-
nx g @nx/angular:lib ui
772+
nx g &#64;nx/angular:lib ui
773773
774774
<span># Add a component</span>
775-
nx g @nx/angular:component button --project ui</pre>
775+
nx g &#64;nx/angular:component button --project ui</pre>
776776
</details>
777777
<details>
778778
<summary>

apps/mfe2-e2e/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
}
1919
},
2020
"lint": {
21-
"executor": "@nx/linter:eslint",
21+
"executor": "@nx/eslint:lint",
2222
"outputs": ["{options.outputFile}"],
2323
"options": {
2424
"lintFilePatterns": ["apps/mfe2-e2e/**/*.{js,ts}"]

apps/mfe2/project.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@
5555
"executor": "@angular-devkit/build-angular:dev-server",
5656
"configurations": {
5757
"production": {
58-
"browserTarget": "mfe2:build:production"
58+
"buildTarget": "mfe2:build:production"
5959
},
6060
"development": {
61-
"browserTarget": "mfe2:build:development"
61+
"buildTarget": "mfe2:build:development"
6262
}
6363
},
6464
"defaultConfiguration": "development",
@@ -67,11 +67,11 @@
6767
"extract-i18n": {
6868
"executor": "@angular-devkit/build-angular:extract-i18n",
6969
"options": {
70-
"browserTarget": "mfe2:build"
70+
"buildTarget": "mfe2:build"
7171
}
7272
},
7373
"lint": {
74-
"executor": "@nx/linter:eslint",
74+
"executor": "@nx/eslint:lint",
7575
"options": {
7676
"lintFilePatterns": ["apps/mfe2/**/*.ts", "apps/mfe2/**/*.html"]
7777
}
@@ -80,8 +80,7 @@
8080
"executor": "@nx/jest:jest",
8181
"outputs": ["{workspaceRoot}/coverage/apps/mfe2"],
8282
"options": {
83-
"jestConfig": "apps/mfe2/jest.config.ts",
84-
"passWithNoTests": true
83+
"jestConfig": "apps/mfe2/jest.config.ts"
8584
}
8685
}
8786
},

apps/mfe2/src/app/nx-welcome.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -769,10 +769,10 @@ import { Component, OnInit, ViewEncapsulation } from '@angular/core';
769769
Add UI library
770770
</summary>
771771
<pre><span># Generate UI lib</span>
772-
nx g @nx/angular:lib ui
772+
nx g &#64;nx/angular:lib ui
773773
774774
<span># Add a component</span>
775-
nx g @nx/angular:component button --project ui</pre>
775+
nx g &#64;nx/angular:component button --project ui</pre>
776776
</details>
777777
<details>
778778
<summary>

apps/native-federation-e2e/project.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"executor": "@nx/jest:jest",
99
"options": {
1010
"jestConfig": "apps/native-federation-e2e/jest.config.ts",
11-
"runInBand": true
11+
"runInBand": true,
12+
"passWithNoTests": false
1213
},
1314
"dependsOn": ["native-federation:build"]
1415
}

apps/playground-e2e/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
}
1919
},
2020
"lint": {
21-
"executor": "@nx/linter:eslint",
21+
"executor": "@nx/eslint:lint",
2222
"options": {
2323
"lintFilePatterns": ["apps/playground-e2e/**/*.{js,ts}"]
2424
},

0 commit comments

Comments
 (0)