Skip to content

Commit

Permalink
feat: Angular 17 support with Nx 17.1+
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanWalker committed Nov 27, 2023
1 parent f0dcc1c commit 7d7574f
Show file tree
Hide file tree
Showing 6 changed files with 1,638 additions and 1,947 deletions.
3 changes: 2 additions & 1 deletion e2e/nx-e2e/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"npmPackageName": "@nativescript/nx",
"pluginOutputPath": "dist/packages/nx",
"jestConfig": "e2e/nx-e2e/jest.config.js",
"runInBand": true
"runInBand": true,
"passWithNoTests": false
},
"dependsOn": ["nx:build"]
}
Expand Down
18 changes: 12 additions & 6 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,21 @@
"inputs": ["production", "^production"],
"cache": true
},
"test": {
"inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"],
"cache": true
},
"lint": {
"cache": true
},
"e2e": {
"cache": true
"@nx/jest:jest": {
"cache": true,
"inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"],
"options": {
"passWithNoTests": true
},
"configurations": {
"ci": {
"ci": true,
"codeCoverage": true
}
}
}
},
"namedInputs": {
Expand Down
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@
},
"private": true,
"devDependencies": {
"@angular-devkit/schematics": "^17.0.0",
"@angular/core": "^17.0.0",
"@angular-devkit/schematics": "17.0.3",
"@angular/core": "17.0.4",
"@swc-node/register": "1.6.8",
"@swc/core": "1.3.94",
"@types/fs-extra": "^11.0.3",
"@types/jest": "29.5.6",
"@types/node": "^20.0.0",
"@types/plist": "^3.0.2",
"@types/xml2js": "^0.4.9",
"@typescript-eslint/eslint-plugin": "~6.13.0",
"@typescript-eslint/parser": "~6.13.0",
"@typescript-eslint/eslint-plugin": "6.13.0",
"@typescript-eslint/parser": "6.13.0",
"conventional-changelog-cli": "^4.1.0",
"cz-conventional-changelog": "^3.3.0",
"doctoc": "^2.0.0",
Expand All @@ -51,7 +51,7 @@
"fs-extra": "^11.1.0",
"jest": "29.6.0",
"jsonc-parser": "3.2.0",
"nx": "17.0.1",
"nx": "17.1.3",
"plist": "^3.1.0",
"prettier": "^2.7.0",
"ts-jest": "29.1.1",
Expand All @@ -60,15 +60,15 @@
"typescript": "~5.2.0",
"xml2js": "^0.6.2",
"nx-cloud": "16.5.2",
"@nx/devkit": "17.0.1",
"@nx/workspace": "17.0.1",
"@nx/plugin": "17.0.1",
"@nx/web": "17.0.1",
"@nx/js": "17.0.1",
"@nx/eslint-plugin": "17.0.1",
"@nx/jest": "17.0.1",
"@nx/express": "17.0.1",
"@nx/angular": "17.0.1",
"@nx/eslint": "17.0.1"
"@nx/devkit": "17.1.3",
"@nx/workspace": "17.1.3",
"@nx/plugin": "17.1.3",
"@nx/web": "17.1.3",
"@nx/js": "17.1.3",
"@nx/eslint-plugin": "17.1.3",
"@nx/jest": "17.1.3",
"@nx/express": "17.1.3",
"@nx/angular": "17.1.3",
"@nx/eslint": "17.1.3"
}
}
2 changes: 1 addition & 1 deletion packages/nx/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nativescript/nx",
"version": "17.0.1",
"version": "17.1.0",
"description": "NativeScript Plugin for Nx",
"repository": {
"type": "git",
Expand Down
6 changes: 2 additions & 4 deletions packages/nx/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/packages/nx"],
"options": {
"jestConfig": "packages/nx/jest.config.ts",
"passWithNoTests": true
"jestConfig": "packages/nx/jest.config.ts"
}
},
"build": {
Expand Down Expand Up @@ -56,8 +55,7 @@
"glob": "migrations.json",
"output": "."
}
],
"updateBuildableProjectDepsInPackageJson": true
]
}
}
},
Expand Down
Loading

0 comments on commit 7d7574f

Please sign in to comment.