# esbuild-typescript-library-template

A template for building a library through typescript and bundling it through esbuild.

Uses PNPM, Biome, and Github Actions for CI/CD.

![npm bundle size](https://img.shields.io/bundlephobia/minzip/esbuild-typescript-library-template?logo=files&style=for-the-badge)
![npm](https://img.shields.io/npm/v/esbuild-typescript-library-template?logo=npm&style=for-the-badge)
![node-current](https://img.shields.io/badge/Node-%3E=14-success?style=for-the-badge&logo=node)
![npm](https://img.shields.io/npm/dw/esbuild-typescript-library-template?style=for-the-badge)

## Getting started

1. `git clone git@github.com:spa5k/esbuild-typescript-library-template.git my-project`
2. `cd my-project`
3. `pnpm install`

### Releasing

This uses manual release, go to actions tab and trigger the type of release you want (Major, Minor, Patch)

### Visualization of this Repo.

<img src="./diagram.svg" width="300" height="300">