Skip to content

Commit 5bd23b0

Browse files
authored
migrate to nx 17.1.3 (#75)
1 parent 66d4749 commit 5bd23b0

File tree

113 files changed

+24195
-24638
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+24195
-24638
lines changed

angular-monorepo/apps/angular-store/project.json

+4-11
Original file line numberDiff line numberDiff line change
@@ -53,18 +53,18 @@
5353
"executor": "@angular-devkit/build-angular:dev-server",
5454
"configurations": {
5555
"production": {
56-
"browserTarget": "angular-store:build:production"
56+
"buildTarget": "angular-store:build:production"
5757
},
5858
"development": {
59-
"browserTarget": "angular-store:build:development"
59+
"buildTarget": "angular-store:build:development"
6060
}
6161
},
6262
"defaultConfiguration": "development"
6363
},
6464
"extract-i18n": {
6565
"executor": "@angular-devkit/build-angular:extract-i18n",
6666
"options": {
67-
"browserTarget": "angular-store:build"
67+
"buildTarget": "angular-store:build"
6868
}
6969
},
7070
"lint": {
@@ -81,14 +81,7 @@
8181
"executor": "@nx/jest:jest",
8282
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
8383
"options": {
84-
"jestConfig": "apps/angular-store/jest.config.ts",
85-
"passWithNoTests": true
86-
},
87-
"configurations": {
88-
"ci": {
89-
"ci": true,
90-
"codeCoverage": true
91-
}
84+
"jestConfig": "apps/angular-store/jest.config.ts"
9285
}
9386
},
9487
"serve-static": {

angular-monorepo/apps/angular-store/src/app/nx-welcome.component.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -783,9 +783,9 @@ import { CommonModule } from '@angular/common';
783783
Add UI library
784784
</summary>
785785
<pre><span># Generate UI lib</span>
786-
nx g @nx/angular:lib ui
786+
nx g &#64;nx/angular:lib ui
787787
<span># Add a component</span>
788-
nx g @nx/angular:component button --project ui</pre>
788+
nx g &#64;nx/angular:component button --project ui</pre>
789789
</details>
790790
<details>
791791
<summary>

angular-monorepo/apps/inventory/project.json

+4-11
Original file line numberDiff line numberDiff line change
@@ -53,18 +53,18 @@
5353
"executor": "@angular-devkit/build-angular:dev-server",
5454
"configurations": {
5555
"production": {
56-
"browserTarget": "inventory:build:production"
56+
"buildTarget": "inventory:build:production"
5757
},
5858
"development": {
59-
"browserTarget": "inventory:build:development"
59+
"buildTarget": "inventory:build:development"
6060
}
6161
},
6262
"defaultConfiguration": "development"
6363
},
6464
"extract-i18n": {
6565
"executor": "@angular-devkit/build-angular:extract-i18n",
6666
"options": {
67-
"browserTarget": "inventory:build"
67+
"buildTarget": "inventory:build"
6868
}
6969
},
7070
"lint": {
@@ -81,14 +81,7 @@
8181
"executor": "@nx/jest:jest",
8282
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
8383
"options": {
84-
"jestConfig": "apps/inventory/jest.config.ts",
85-
"passWithNoTests": true
86-
},
87-
"configurations": {
88-
"ci": {
89-
"ci": true,
90-
"codeCoverage": true
91-
}
84+
"jestConfig": "apps/inventory/jest.config.ts"
9285
}
9386
},
9487
"serve-static": {

angular-monorepo/libs/orders/project.json

+1-8
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,7 @@
1010
"executor": "@nx/jest:jest",
1111
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
1212
"options": {
13-
"jestConfig": "libs/orders/jest.config.ts",
14-
"passWithNoTests": true
15-
},
16-
"configurations": {
17-
"ci": {
18-
"ci": true,
19-
"codeCoverage": true
20-
}
13+
"jestConfig": "libs/orders/jest.config.ts"
2114
}
2215
},
2316
"lint": {

angular-monorepo/libs/products/project.json

+1-8
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,7 @@
1010
"executor": "@nx/jest:jest",
1111
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
1212
"options": {
13-
"jestConfig": "libs/products/jest.config.ts",
14-
"passWithNoTests": true
15-
},
16-
"configurations": {
17-
"ci": {
18-
"ci": true,
19-
"codeCoverage": true
20-
}
13+
"jestConfig": "libs/products/jest.config.ts"
2114
}
2215
},
2316
"lint": {

angular-monorepo/libs/shared/ui/project.json

+1-8
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,7 @@
1010
"executor": "@nx/jest:jest",
1111
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
1212
"options": {
13-
"jestConfig": "libs/shared/ui/jest.config.ts",
14-
"passWithNoTests": true
15-
},
16-
"configurations": {
17-
"ci": {
18-
"ci": true,
19-
"codeCoverage": true
20-
}
13+
"jestConfig": "libs/shared/ui/jest.config.ts"
2114
}
2215
},
2316
"lint": {

angular-monorepo/nx.json

+13-4
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@
99
"inputs": ["production", "^production"],
1010
"cache": true
1111
},
12-
"test": {
13-
"inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"],
14-
"cache": true
15-
},
1612
"e2e": {
1713
"inputs": ["default", "^production"],
1814
"cache": true
@@ -25,6 +21,19 @@
2521
"{workspaceRoot}/eslint.config.js"
2622
],
2723
"cache": true
24+
},
25+
"@nx/jest:jest": {
26+
"inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"],
27+
"cache": true,
28+
"options": {
29+
"passWithNoTests": true
30+
},
31+
"configurations": {
32+
"ci": {
33+
"ci": true,
34+
"codeCoverage": true
35+
}
36+
}
2837
}
2938
},
3039
"namedInputs": {

0 commit comments

Comments
 (0)