Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix(builder): update to latest @nrwl/devkit (#1082)
  • Loading branch information
JamesHenry committed Jul 8, 2022
1 parent 8d36232 commit cc00a21
Show file tree
Hide file tree
Showing 5 changed files with 67 additions and 197 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -459,7 +459,7 @@ Here is a fully working (tested in VSCode and on the command line via `ng lint`)
}
```

We are setting the parser for `eslint-plugin-prettier` explicitly within our relevant override block so that it does not need to rely on inference. In this case we know it should always use its `angular` parser, because we are wiring it up to only run on angular HTML files within that override. (_it's assumed that all HTML files in the project are angular templates_)
We are setting the parser for `eslint-plugin-prettier` explicitly within our relevant override block so that it does not need to rely on inference. In this case we know it should always use its `angular` parser, because we are wiring it up to only run on angular HTML files within that override (_it's assumed that all HTML files in the project are angular templates_).

<br>

Expand Down
31 changes: 11 additions & 20 deletions nx.json
Expand Up @@ -38,27 +38,18 @@
}
}
},
"targetDependencies": {
"build": [
{
"target": "build",
"projects": "dependencies"
}
],
"typecheck": [
{
"target": "build",
"projects": "dependencies"
}
],
"update-rule-docs": [
{
"target": "build",
"projects": "dependencies"
}
]
},
"affected": {
"defaultBase": "main"
},
"targetDefaults": {
"build": {
"dependsOn": ["^build"]
},
"typecheck": {
"dependsOn": ["^build"]
},
"update-rule-docs": {
"dependsOn": ["^build"]
}
}
}
10 changes: 5 additions & 5 deletions package.json
Expand Up @@ -57,10 +57,10 @@
"@angular/compiler": "14.0.0",
"@commitlint/cli": "17.0.2",
"@commitlint/config-conventional": "17.0.2",
"@nrwl/devkit": "14.2.4",
"@nrwl/jest": "14.2.4",
"@nrwl/nx-cloud": "14.1.2",
"@nrwl/workspace": "14.2.4",
"@nrwl/devkit": "14.4.2",
"@nrwl/jest": "14.4.2",
"@nrwl/nx-cloud": "14.2.0",
"@nrwl/workspace": "14.4.2",
"@schematics/angular": "14.0.0",
"@types/eslint": "8.4.3",
"@types/eslint-scope": "3.7.3",
Expand All @@ -82,7 +82,7 @@
"lint-staged": "13.0.2",
"microbundle": "0.15.0",
"ncp": "2.0.0",
"nx": "14.2.4",
"nx": "14.4.2",
"prettier": "2.7.1",
"rimraf": "3.0.2",
"strip-ansi": "6.0.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/builder/package.json
Expand Up @@ -19,7 +19,7 @@
],
"builders": "./builders.json",
"dependencies": {
"@nrwl/devkit": "13.1.3"
"@nrwl/devkit": "^14.2.4"
},
"peerDependencies": {
"eslint": "^7.0.0 || ^8.0.0",
Expand Down

0 comments on commit cc00a21

Please sign in to comment.