esbuild-typescript-library-template

Typescript Esbuild Library Template

Usage no npm install needed!

<script type="module">
  import esbuildTypescriptLibraryTemplate from 'https://cdn.skypack.dev/esbuild-typescript-library-template';
</script>

README

esbuild-typescript-library-template

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

Uses yarn v3.1 alongside latest pnp support.

npm bundle size npm node-current npm

Getting started

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

Releasing

Under the hood, this library uses semantic-release and commitizen. The goal is to avoid manual release process. Using semantic-release will automatically create a github release (hence tags) as well as an npm release. Based on your commit history, semantic-release will automatically create a patch, feature or breaking release.

Visualization of this Repo.

Visualization of this repo

Commands:

  • semantic-release: triggers a release (used in CI)