bun-ts-starter
v0.4.0
Published
A simple TypeScript starter kit using Bun.
Downloads
11
Maintainers
Readme
bun-ts-starter
This is an opinionated TypeScript Starter kit to help kick-start development of your next Bun package.
Get Started
It's rather simple to get your package development started:
# you may use this GitHub template or the following command:
bunx degit stacksjs/ts-starter my-pkg
cd my-pkg
# if you don't have pnpm installed, run `npm i -g pnpm`
bun i # install all deps
bun run build # builds the library for production-ready use
# how to create a git commit?
git add . # select the changes you want to commit
bun run commit # then simply answer the questions
# after you have successfully committed, you may create a "release"
bun run release # automates git commits, versioning, and changelog generations
Check out the package.json scripts for more commands.
Developer Experience (DX)
This Starter Kit comes pre-configured with the following:
- Powerful Build Process - via Bun
- Fully Typed APIs - via TypeScript
- Be a Good Commitizen - pre-configured Commitizen & git-cz setup to simplify semantic git commits, versioning, and changelog generations
- Built With Testing In Mind - pre-configured unit-testing powered by Bun
- Renovate - optimized & automated PR dependency updates
- Biome - an instant, fast linter & formatter for JavaScript, TypeScript, and CSS
- GitHub Actions - runs your CI (fixes code style issues, tags releases & creates its changelogs, runs the test suite, etc.)
Testing
bun test
Changelog
Please see our releases page for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Community
For help, discussion about best practices, or any other conversation that would benefit from being searchable:
For casual chit-chat with others using this package:
Join the Stacks Discord Server
Postcardware
Stacks OSS will always stay open-sourced, and we will always love to receive postcards from wherever Stacks is used! And we also publish them on our website. Thank you, Spatie.
Our address: Stacks.js, 5710 Crescent Park #107, Playa Vista 90094, CA, USA 🌎
Sponsors
We would like to extend our thanks to the following sponsors for funding Stacks development. If you are interested in becoming a sponsor, please reach out to us.
📄 License
The MIT License (MIT). Please see LICENSE for more information.
Made with 💙