A Bun module
A Bun module created from the bun-module template
- 🏗️ TypeScript-based module architecture
- 🔧 Mise task runner integration
- 📦 Bun/npm build tooling
- ✨ ESLint + Prettier formatting
- 🧪 Vitest testing setup
- 🚀 GitHub Actions CI/CD
- 📝 Release automation with release-please
-
Clone this template:
cp -r bun-module your-module-name cd your-module-name -
Update package.json:
- Change
nameto your module name - Update
description - Update
repository.url
- Change
-
Install dependencies:
bun install
-
Implement your module in
src/index.ts:export function hello(name: string): string { return `Hello, ${name}!`; }
-
Test your module:
mise run test
mise run build- Build the modulemise run test- Run testsmise run lint- Lint codemise run lint:fix- Fix linting issuesmise run format- Format code with Prettier
Your Name you@example.com
https://github.com/zenobi-us/pi-sidebar.git
Contributions are welcome! Please file issues or submit pull requests on the GitHub repository.
MIT License. See the LICENSE file for details.