Skip to content

Commit 7d7574f

Browse files
committed
feat: Angular 17 support with Nx 17.1+
1 parent f0dcc1c commit 7d7574f

File tree

6 files changed

+1638
-1947
lines changed

6 files changed

+1638
-1947
lines changed

e2e/nx-e2e/project.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"npmPackageName": "@nativescript/nx",
1111
"pluginOutputPath": "dist/packages/nx",
1212
"jestConfig": "e2e/nx-e2e/jest.config.js",
13-
"runInBand": true
13+
"runInBand": true,
14+
"passWithNoTests": false
1415
},
1516
"dependsOn": ["nx:build"]
1617
}

nx.json

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,21 @@
1313
"inputs": ["production", "^production"],
1414
"cache": true
1515
},
16-
"test": {
17-
"inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"],
18-
"cache": true
19-
},
2016
"lint": {
2117
"cache": true
2218
},
23-
"e2e": {
24-
"cache": true
19+
"@nx/jest:jest": {
20+
"cache": true,
21+
"inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"],
22+
"options": {
23+
"passWithNoTests": true
24+
},
25+
"configurations": {
26+
"ci": {
27+
"ci": true,
28+
"codeCoverage": true
29+
}
30+
}
2531
}
2632
},
2733
"namedInputs": {

package.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,17 @@
3131
},
3232
"private": true,
3333
"devDependencies": {
34-
"@angular-devkit/schematics": "^17.0.0",
35-
"@angular/core": "^17.0.0",
34+
"@angular-devkit/schematics": "17.0.3",
35+
"@angular/core": "17.0.4",
3636
"@swc-node/register": "1.6.8",
3737
"@swc/core": "1.3.94",
3838
"@types/fs-extra": "^11.0.3",
3939
"@types/jest": "29.5.6",
4040
"@types/node": "^20.0.0",
4141
"@types/plist": "^3.0.2",
4242
"@types/xml2js": "^0.4.9",
43-
"@typescript-eslint/eslint-plugin": "~6.13.0",
44-
"@typescript-eslint/parser": "~6.13.0",
43+
"@typescript-eslint/eslint-plugin": "6.13.0",
44+
"@typescript-eslint/parser": "6.13.0",
4545
"conventional-changelog-cli": "^4.1.0",
4646
"cz-conventional-changelog": "^3.3.0",
4747
"doctoc": "^2.0.0",
@@ -51,7 +51,7 @@
5151
"fs-extra": "^11.1.0",
5252
"jest": "29.6.0",
5353
"jsonc-parser": "3.2.0",
54-
"nx": "17.0.1",
54+
"nx": "17.1.3",
5555
"plist": "^3.1.0",
5656
"prettier": "^2.7.0",
5757
"ts-jest": "29.1.1",
@@ -60,15 +60,15 @@
6060
"typescript": "~5.2.0",
6161
"xml2js": "^0.6.2",
6262
"nx-cloud": "16.5.2",
63-
"@nx/devkit": "17.0.1",
64-
"@nx/workspace": "17.0.1",
65-
"@nx/plugin": "17.0.1",
66-
"@nx/web": "17.0.1",
67-
"@nx/js": "17.0.1",
68-
"@nx/eslint-plugin": "17.0.1",
69-
"@nx/jest": "17.0.1",
70-
"@nx/express": "17.0.1",
71-
"@nx/angular": "17.0.1",
72-
"@nx/eslint": "17.0.1"
63+
"@nx/devkit": "17.1.3",
64+
"@nx/workspace": "17.1.3",
65+
"@nx/plugin": "17.1.3",
66+
"@nx/web": "17.1.3",
67+
"@nx/js": "17.1.3",
68+
"@nx/eslint-plugin": "17.1.3",
69+
"@nx/jest": "17.1.3",
70+
"@nx/express": "17.1.3",
71+
"@nx/angular": "17.1.3",
72+
"@nx/eslint": "17.1.3"
7373
}
7474
}

packages/nx/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nativescript/nx",
3-
"version": "17.0.1",
3+
"version": "17.1.0",
44
"description": "NativeScript Plugin for Nx",
55
"repository": {
66
"type": "git",

packages/nx/project.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
"executor": "@nx/jest:jest",
1717
"outputs": ["{workspaceRoot}/coverage/packages/nx"],
1818
"options": {
19-
"jestConfig": "packages/nx/jest.config.ts",
20-
"passWithNoTests": true
19+
"jestConfig": "packages/nx/jest.config.ts"
2120
}
2221
},
2322
"build": {
@@ -56,8 +55,7 @@
5655
"glob": "migrations.json",
5756
"output": "."
5857
}
59-
],
60-
"updateBuildableProjectDepsInPackageJson": true
58+
]
6159
}
6260
}
6361
},

0 commit comments

Comments
 (0)