Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/betterrunner/ts-monorepo-starter
🏍 A starter for ts-monorepo by pnpm & rollup
https://github.com/betterrunner/ts-monorepo-starter
pnpm-workspace ts-monorepo typescript-library typescript-monorepo typescript-monorepo-example typescript-template
Last synced: 29 days ago
JSON representation
🏍 A starter for ts-monorepo by pnpm & rollup
- Host: GitHub
- URL: https://github.com/betterrunner/ts-monorepo-starter
- Owner: betterRunner
- Created: 2022-06-21T08:26:14.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-14T02:20:34.000Z (about 2 years ago)
- Last Synced: 2023-03-05T02:08:11.603Z (almost 2 years ago)
- Topics: pnpm-workspace, ts-monorepo, typescript-library, typescript-monorepo, typescript-monorepo-example, typescript-template
- Language: TypeScript
- Homepage:
- Size: 47.9 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ts-monorepo-starter
## Introduction
This project is a starter to build your own monorepo library with typescript.
- monorepo with [pnpm](https://pnpm.io/)
- building with [rollup.js](https://rollupjs.org)
- testing with [jest](https://jestjs.io)## Getting Started
### Install
```bash
pnpm i
```### Test
```bash
pnpm run test
```### Build
```bash
pnpm run build
```## Details
### tsconfig.json
```json
{
"paths": {
"@ts-monorepo-starter/*": ["packages/*/src"],
}
}
```Using `tsconfig.paths` to jump to the code definition of other local modules naturally without needing to build them firstly as usual.
## License
[MIT](https://opensource.org/licenses/MIT)