✳flâneur — a map of the web's best reading
Typescript Monorepo with NPM workspaces - Dmitry Kudryavtsev
yieldcode.blog · 1,357 words · saved by 1 readers
During the development of my recent project, I decided to split some components to their own packages, and used npm workspaces for that.
During the development of my recent project (more info on my website ), I wanted to make it more modular. It consists of 3 main components: api which is the API server; a process that is responsible for RSS feed discovery called observer ; and a process responsible for sending out emails called distributor . They all depend on a database. I wanted all of them be independent executables. Using a monorepo for such use case, is great. But settings up dependencies between them, is complicated. Luckily, npm 7 has support for workspaces, which simplify the management of monorepos. Not only that, but
Explore this link on the map →related reading
- Set up a monorepo using pnpm workspace - DEV Communitydev.to
- Python Monorepo: an Example. Part 1: Structure and Tooling - Tweagtweag.io
- Monaspacemonaspace.githubnext.com
- NPM Install Everything, and the Complete and Utter Chaos That Followsboehs.org
- Node.js Server Setup with Type Safety and Testinglinkedin.com
- TypeScript Structured Concurrencythecandidstartup.org
- Web Workers, comlink, TypeScript and React | johnnyreillyjohnnyreilly.com
- Behind The Scenes of Bun Install | Bun Blogbun.com
- TypeScript: Documentation - Modulestypescriptlang.org
- Tao of Node - Design, Architecture & Best Practices | Alex Kondovalexkondov.com
- Bulletproof node.js project architecture 🛡️softwareontheroad.com
- reactjs - How to handle Types in React and Express App? - Stack Overflowstackoverflow.com