Skip to content

Commit 2db5cd7

Browse files
committed
feat: migrate nx to latest beta and angular to 17
1 parent b95db74 commit 2db5cd7

File tree

6 files changed

+612
-236
lines changed

6 files changed

+612
-236
lines changed

nx.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,18 @@
2929
"inputs": ["default", "{workspaceRoot}/.eslintrc.json"],
3030
"cache": true
3131
},
32-
"e2e": {
33-
"cache": true
32+
"@nx/jest:jest": {
33+
"inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"],
34+
"cache": true,
35+
"options": {
36+
"passWithNoTests": true
37+
},
38+
"configurations": {
39+
"ci": {
40+
"ci": true,
41+
"codeCoverage": true
42+
}
43+
}
3444
}
3545
},
3646
"namedInputs": {

package.json

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -35,29 +35,29 @@
3535
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s"
3636
},
3737
"dependencies": {
38-
"@angular/animations": "17.0.0-rc.2",
39-
"@angular/common": "17.0.0-rc.2",
40-
"@angular/compiler": "17.0.0-rc.2",
41-
"@angular/core": "17.0.0-rc.2",
42-
"@angular/forms": "17.0.0-rc.2",
43-
"@angular/platform-browser": "17.0.0-rc.2",
44-
"@angular/platform-browser-dynamic": "17.0.0-rc.2",
45-
"@angular/router": "17.0.0-rc.2",
38+
"@angular/animations": "17.0.0",
39+
"@angular/common": "17.0.0",
40+
"@angular/compiler": "17.0.0",
41+
"@angular/core": "17.0.0",
42+
"@angular/forms": "17.0.0",
43+
"@angular/platform-browser": "17.0.0",
44+
"@angular/platform-browser-dynamic": "17.0.0",
45+
"@angular/router": "17.0.0",
4646
"@nativescript/core": "~8.6.0",
4747
"@nativescript/theme": "~3.0.2",
4848
"@ngx-translate/core": "~15.0.0",
4949
"nativescript-fonticon": "~8.0.0",
5050
"rxjs": "^7.8.0",
51-
"zone.js": "0.13.1"
51+
"zone.js": "0.14.2"
5252
},
5353
"devDependencies": {
54-
"@angular-devkit/build-angular": "17.0.0-rc.3",
55-
"@angular-devkit/core": "17.0.0-rc.3",
56-
"@angular-devkit/schematics": "17.0.0-rc.3",
57-
"@angular-eslint/eslint-plugin": "16.2.0",
58-
"@angular-eslint/eslint-plugin-template": "16.2.0",
59-
"@angular-eslint/template-parser": "16.2.0",
60-
"@angular/compiler-cli": "17.0.0-rc.2",
54+
"@angular-devkit/build-angular": "17.0.0",
55+
"@angular-devkit/core": "17.0.0",
56+
"@angular-devkit/schematics": "17.0.0",
57+
"@angular-eslint/eslint-plugin": "17.0.0",
58+
"@angular-eslint/eslint-plugin-template": "17.0.0",
59+
"@angular-eslint/template-parser": "17.0.0",
60+
"@angular/compiler-cli": "17.0.0",
6161
"@jsdevtools/coverage-istanbul-loader": "3.0.5",
6262
"@nativescript/types": "~8.6.0",
6363
"@nativescript/unit-test-runner": "^3.0.4",
@@ -67,20 +67,20 @@
6767
"@nstudio/nativescript": "17.0.1",
6868
"@nstudio/nativescript-angular": "17.0.1",
6969
"@nstudio/xplat": "17.0.1",
70-
"@nx/angular": "17.0.3",
71-
"@nx/eslint": "17.0.3",
72-
"@nx/eslint-plugin": "17.0.3",
73-
"@nx/jest": "17.0.3",
74-
"@nx/js": "17.0.3",
75-
"@nx/node": "17.0.3",
76-
"@nx/workspace": "17.0.3",
77-
"@schematics/angular": "17.0.0-rc.3",
70+
"@nx/angular": "17.1.0-beta.4",
71+
"@nx/eslint": "17.1.0-beta.4",
72+
"@nx/eslint-plugin": "17.1.0-beta.4",
73+
"@nx/jest": "17.1.0-beta.4",
74+
"@nx/js": "17.1.0-beta.4",
75+
"@nx/node": "17.1.0-beta.4",
76+
"@nx/workspace": "17.1.0-beta.4",
77+
"@schematics/angular": "17.0.0",
7878
"@types/jasmine": "5.1.1",
7979
"@types/jest": "29.5.7",
8080
"@types/node": "^20.0.0",
8181
"@types/sinon": "^17.0.0",
82-
"@typescript-eslint/eslint-plugin": "6.9.1",
83-
"@typescript-eslint/parser": "6.9.1",
82+
"@typescript-eslint/eslint-plugin": "6.10.0",
83+
"@typescript-eslint/parser": "6.10.0",
8484
"conventional-changelog-cli": "^4.1.0",
8585
"dotenv": "16.3.1",
8686
"eslint": "8.53.0",
@@ -96,8 +96,8 @@
9696
"karma-nativescript-launcher": "0.4.0",
9797
"karma-sinon": "^1.0.5",
9898
"lint-staged": "^15.0.0",
99-
"ng-packagr": "17.0.0-rc.1",
100-
"nx": "17.0.3",
99+
"ng-packagr": "17.0.0",
100+
"nx": "17.1.0-beta.4",
101101
"nyc": "15.1.0",
102102
"postcss": "^8.4.16",
103103
"postcss-import": "15.1.0",

packages/angular/project.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@
2121
"test": {
2222
"executor": "@nx/jest:jest",
2323
"options": {
24-
"jestConfig": "packages/angular/jest.config.ts",
25-
"passWithNoTests": true
24+
"jestConfig": "packages/angular/jest.config.ts"
2625
},
2726
"outputs": ["{workspaceRoot}/coverage/packages/angular"]
2827
}

packages/zone-js/.eslintrc.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
},
1010
{
1111
"files": ["*.ts", "*.tsx"],
12-
"rules": {}
12+
"rules": {
13+
"@typescript-eslint/no-explicit-any": "warn"
14+
}
1315
},
1416
{
1517
"files": ["*.js", "*.jsx"],

packages/zone-js/project.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@
2424
"executor": "@nx/jest:jest",
2525
"outputs": ["{workspaceRoot}/coverage/packages/zone-js"],
2626
"options": {
27-
"jestConfig": "packages/zone-js/jest.config.ts",
28-
"passWithNoTests": true
27+
"jestConfig": "packages/zone-js/jest.config.ts"
2928
}
3029
}
3130
},

0 commit comments

Comments
 (0)