Sharing a typescript library in a monorepo

Solution 1: with Lerna you can use workspace and Lerna yarn workspace & lerna ├── README.md ├── lerna.json ├── package.json ├── packages │ ├── pdf │ │ ├── package.json /* “shared-ts”: “^1.0.0” */ │ │ └── src │ ├── frontend │ │ ├── package.json │ │ └── src │ ├── mobile │ │ ├── package.json … Read more

How to manage SCSS stylesheets across a monorepo with different libraries sharing variables?

I think I might have something here, this is the solution I’ve adopted after some back ‘n forth with the NRWL team. I create an NX workspace by first creating a project with the angular CLI, and then adding the extensions, like so: ng new myproject (cd into myproject root) ng add @nrwl/workspace In addition, … Read more

How to build a docker image from a nodejs project in a monorepo with yarn workspaces

I’ve worked on a project following a structure similar to yours, it was looking like: project ├── package.json ├── packages │   ├── package1 │  │  ├── package.json │  │ └── src │   ├── package2 │  │  ├── package.json │  │ └── src │   └── package3 │    ├── package.json │  └── src ├── services │   … Read more