1.0.6 • Published 4 months ago

bun-library-starter v1.0.6

Weekly downloads
-
License
-
Repository
-
Last release
4 months ago

bun-library-starter

bun-library-starter is a starter template for creating javascript libraries with bun.

Features

  • Bun
  • Typescript
  • ESLint
  • Prettier
  • NPM publishing
  • Github Releases

Usage

Install

  • Install Bun
  • Clone this repository and install dependencies
$ git clone git@github.com:pedro199288/bun-library-starter.git
$ cd bun-library-starter
$ bun install

Set library details

To set the library name, description, author, repository and license, run the following command:

$ bun run scripts/set-library-details.ts

Development

To start developing your library, run the following command:

$ bun run dev

Build

To build your library, run the following command:

$ bun run build

Create a release

To create github and npm releases, add the `NPM_TOKEN secret to your repository secrets and run the following npm command:

$ bun release <release-type>

Where <release-type> can be major, minor or patch.

This will update the version in package.json, create a git tag and commit the changes.

License

This project is licensed under the MIT License - see the LICENSE file for details.

1.0.6

4 months ago

1.0.5

4 months ago

1.0.4

4 months ago

0.10.0

4 months ago

1.0.3

4 months ago

0.3.0

4 months ago

0.1.2

4 months ago

0.2.0

4 months ago

0.9.0

4 months ago

0.8.0

4 months ago

0.5.0

4 months ago

0.4.0

4 months ago

0.7.0

4 months ago

0.6.0

4 months ago

0.1.1

4 months ago

0.1.0

4 months ago

0.0.13

4 months ago

0.0.1

4 months ago

1.0.2

4 months ago

1.0.1

4 months ago

1.0.0

4 months ago