t7yang / ts-yarn-workspace-demo

A simple TypeScript and Yarn Workspace monorepo demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Good demo.

dwjohnston opened this issue · comments

Nice and clean.

I don't like how you have to copy-paste a tsconfig into each package, but it seems that this is the only way to do it.

No, the share part is place on the root tsconfig.json and each workspace's tsconfig.json represent their own TypeScript config, this is the way how you work with workspace style monorepo. (You can reference to the famous Nx project).