A tool for scaffolding and publishing NPM packages quickly.
Run bun add -g @rubriclab/package.
Run bun add -d @rubriclab/package.
Ensure you have a package.json. If not, run bun init.
Run bunx rubriclab-package setup-package. This will add a few resources to your package:
- a publish workflow
- on push to main, the NPM package will be bumped and auto-published
- scripts
lint: checks for code issuesformat: tries to fix code issuesbleed: updates all dependencies tolatestclean: clears node modules and cache
Run bunx rubriclab-package to see the available commands.