package.json
API1 ---
package.json
API2 ----
package.json
common-backend and common-frontend,right now i'm worried only about backend services. All of them are deployed separatelly. I added shared packages to my root folder package.json and added all 3 backend services as workspaces. Each of backend service has it's own package.json with individual packages. If I view my backend service node_modules it looks really empty. Also each service depends only on each other and on common-backend. Before I was using ts aliased paths to reference my common-backend, but since now I started to use workspaces I added it as dependency into package.json and reference it as a regular npm package (is that a good practice?).
package.json
API1 ---
package.json
API2 ----
package.json
common-backendcommon-backendcommon-frontend