betterRunner / ts-monorepo-starter

🏍 A starter for ts-monorepo by pnpm & rollup

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ts-monorepo-starter

Introduction

This project is a starter to build your own monorepo library with typescript.

Getting Started

Install

pnpm i

Test

pnpm run test

Build

pnpm run build

Details

tsconfig.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

About

🏍 A starter for ts-monorepo by pnpm & rollup


Languages

Language:TypeScript 94.5%Language:JavaScript 5.5%