Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)