if you want to run a microservice in nx workspace with dapr, rename the serve target to e.g. x-serve target and use nx:run-commands
executor to run dapr with the parameter yarn nx run yourproject-name:serve
Here is an example for project called timeline-microservice:
"x-serve": {
"executor": "@nrwl/js:node",