Skip to content

Commit

Permalink
build(nx): move dependsOn of nx-release-publish to project.json
Browse files Browse the repository at this point in the history
[Bug] Target Default dependsOn Not Work for nx-release-publish
nrwl/nx#22720
  • Loading branch information
Char2sGu committed Apr 6, 2024
1 parent 333b5d9 commit 8ae4beb
Show file tree
Hide file tree
Showing 11 changed files with 30 additions and 1 deletion.
1 change: 0 additions & 1 deletion nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
"inputs": ["default", "^production"]
},
"nx-release-publish": {
"dependsOn": ["build"],
"options": {
"packageRoot": "{workspaceRoot}/dist/{projectName}"
}
Expand Down
3 changes: 3 additions & 0 deletions packages/cdk/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"tsConfig": "packages/cdk/tsconfig.spec.json",
"polyfills": ["zone.js", "zone.js/testing"]
}
},
"nx-release-publish": {
"dependsOn": ["build", "^nx-release-publish"]
}
}
}
3 changes: 3 additions & 0 deletions packages/command-flow/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"tsConfig": "packages/command-flow/tsconfig.spec.json",
"polyfills": ["zone.js", "zone.js/testing"]
}
},
"nx-release-publish": {
"dependsOn": ["build", "^nx-release-publish"]
}
}
}
3 changes: 3 additions & 0 deletions packages/config-files/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"tsConfig": "packages/config-files/tsconfig.spec.json",
"polyfills": ["zone.js", "zone.js/testing"]
}
},
"nx-release-publish": {
"dependsOn": ["build", "^nx-release-publish"]
}
}
}
3 changes: 3 additions & 0 deletions packages/core/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"tsConfig": "packages/core/tsconfig.spec.json",
"polyfills": ["zone.js", "zone.js/testing"]
}
},
"nx-release-publish": {
"dependsOn": ["build", "^nx-release-publish"]
}
}
}
3 changes: 3 additions & 0 deletions packages/endpoints/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"tsConfig": "packages/endpoints/tsconfig.spec.json",
"polyfills": ["zone.js", "zone.js/testing"]
}
},
"nx-release-publish": {
"dependsOn": ["build", "^nx-release-publish"]
}
}
}
3 changes: 3 additions & 0 deletions packages/fire/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"tsConfig": "packages/fire/tsconfig.spec.json",
"polyfills": ["zone.js", "zone.js/testing"]
}
},
"nx-release-publish": {
"dependsOn": ["build", "^nx-release-publish"]
}
}
}
3 changes: 3 additions & 0 deletions packages/forms/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"tsConfig": "packages/forms/tsconfig.spec.json",
"polyfills": ["zone.js", "zone.js/testing"]
}
},
"nx-release-publish": {
"dependsOn": ["build", "^nx-release-publish"]
}
}
}
3 changes: 3 additions & 0 deletions packages/router/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"tsConfig": "packages/router/tsconfig.spec.json",
"polyfills": ["zone.js", "zone.js/testing"]
}
},
"nx-release-publish": {
"dependsOn": ["build", "^nx-release-publish"]
}
}
}
3 changes: 3 additions & 0 deletions packages/theming-material/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"tsConfig": "packages/theming-material/tsconfig.spec.json",
"polyfills": ["zone.js", "zone.js/testing"]
}
},
"nx-release-publish": {
"dependsOn": ["build", "^nx-release-publish"]
}
}
}
3 changes: 3 additions & 0 deletions packages/theming/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"tsConfig": "packages/theming/tsconfig.spec.json",
"polyfills": ["zone.js", "zone.js/testing"]
}
},
"nx-release-publish": {
"dependsOn": ["build", "^nx-release-publish"]
}
}
}

0 comments on commit 8ae4beb

Please sign in to comment.