Skip to content

Commit

Permalink
build(angular): Fix Nx dependency graph for Angular (#8841)
Browse files Browse the repository at this point in the history
Angular `build:transpile` actually depends on types, so we need to
reflect that - otherwise, `yarn build:dev` fails if no types are built
yet.
  • Loading branch information
mydea authored Aug 18, 2023
1 parent 88611c7 commit 2d80b4b
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
13 changes: 12 additions & 1 deletion packages/angular-ivy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,16 @@
"volta": {
"extends": "../../package.json"
},
"sideEffects": false
"sideEffects": false,
"nx": {
"targets": {
"build:transpile": {
"dependsOn": [
"^build:transpile",
"^build:transpile:uncached",
"^build:types"
]
}
}
}
}
13 changes: 12 additions & 1 deletion packages/angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,16 @@
"volta": {
"extends": "../../package.json"
},
"sideEffects": false
"sideEffects": false,
"nx": {
"targets": {
"build:transpile": {
"dependsOn": [
"^build:transpile",
"^build:transpile:uncached",
"^build:types"
]
}
}
}
}

0 comments on commit 2d80b4b

Please sign in to comment.