adbee
v0.1.0
Published
Convenience CLI for Android Debug Bridge (adb).
Readme
adbee
adbee is a Bun-based CLI for personal Android Debug Bridge (adb) conveniences, with packaging, testing, linting, and release tooling already wired up for npm publishing.
Features
- Bun-first development: Leverages Bun for lightning-fast installs, runs, and tests.
- TypeScript support: Write type-safe code from the start.
- Linting & Formatting: Enforced with Biome for consistent code style.
- Bundling: Uses tsdown for efficient bundling into ESM and CJS formats, with type declarations.
- Testing: Built-in unit testing with
bun test. - Versioning & Publishing: Managed with Changesets for streamlined releases to npm.
- GitHub Actions: Continuous Integration (CI) workflows for automated build, test, lint, and publish processes.
Getting Started
To use this template, you typically would use a scaffolding tool like bunx create-something -t adbee.
Installation
If you're using this template directly (e.g., after cloning), you can install dependencies with Bun:
bun installDevelopment
- Build:
bun run build - Type Check:
bun run check-types - Lint:
bun run lint - Lint & Fix:
bun run lint:fix - Test:
bun test - Test (Watch Mode):
bun run test:watch
Publishing
This template uses Changesets for versioning and publishing.
Add a changeset:
bun changesetFollow the prompts to describe your changes. This will create a markdown file in
.changeset/.Version packages:
bun run versionThis command reads the changeset files, updates package versions, updates
CHANGELOG.md, and deletes the used changeset files. It also runsbun lint:fix.Publish to npm:
bun run releaseThis command builds the package and publishes it to npm. The main CI release flow is intended to use npm trusted publishing, so configure the package's trusted publisher in npm instead of relying on an
NPM_TOKENfor automated releases.
Project Structure
.
├── src/ # Source code for your library
│ └── index.ts # Main entry point for your library
├── test/ # Unit tests
│ └── index.test.ts # Example test file
├── tsdown.config.ts # Configuration for tsdown (bundling)
├── biome.json # Biome linter/formatter configuration
├── package.json # Project metadata and scripts
└── ... (other config files and GitHub workflows)License
MIT – see LICENSE.
