Contributing
Contributions are welcome! Here’s how to get started.
Development Setup
Section titled “Development Setup”pnpm installpnpm buildTo test the CLI locally:
pnpm loco-cli <command>Before Submitting a PR
Section titled “Before Submitting a PR”pnpm testpnpm lintpnpm format:checkCode Style
Section titled “Code Style”- 2-space indent, 100 char width, single quotes, semicolons required
- Prefer typed code over
any - No barrel exports; use explicit imports
Publishing (Maintainers)
Section titled “Publishing (Maintainers)”- Go to Actions → Release workflow
- Click Run workflow
- Select version type (patch/minor/major)
The workflow runs tests, bumps the version, publishes to npm via OIDC trusted publishing, and creates a GitHub Release.