This example will publish two packages on NPM Registry.
It shows how to configure a project with automated releases, changelogs, tests, etc., using the following tools:
- Language - Typescript with TSC (not Babel)
- CI - GitHub actions
- Versioning / releases - ChangeSets
- Mono repo management- Yarn workspaces
- Package setup - TypeScript project references
- Tests -jest with ts-jest
- Lint - eslint
The build will generate two binaries for each packages:
Neither Lerna or any bundler (Webpack, ...) are used.
Copyright © 2021 atao60.
-
A great TypeScript NPM module mono repo setup, Jake Ginnivan, Jun 27, 2020, with its Github repository.
-
How to set up a TypeScript monorepo and make Go to definition work, Andrei Picus, May 28, 2019, with its Github repository.
-
Making TypeScript monorepos play nice with other tools, Andrei Picus, Jul 20, 2020