create-rocket
v0.0.1
Published
CLI to generate Prisma Express boilerplate
Maintainers
Readme
Rocket-Boilerplate
A small TypeScript + Bun CLI that scaffolds the Prisma Express boilerplate (main branch only) from: https://github.com/aHasnat1997/Rocket-Prisma-Boilerplate
What it does
- Prompts for project name and package manager
- Clones the template (main branch only) to the target folder
- Removes the template’s
.gitfolder - Updates
package.jsonfieldname - Installs dependencies using the chosen manager (Deno is skipped)
Prerequisites
- git: available on your PATH
- One package manager:
bun,npm,yarn, orpnpm - Runtime: Bun is required to run this CLI as published (
#!/usr/bin/env bun)
Install
Global (optional): npm i -g create-rocket
requires Bun available on PATH because the binary uses Bun
No install (recommended): bunx create-rocket
Quick Start bunx create-rocket
Follow the prompts
Usage (Local Dev) bun src/index.ts
CLI Options
- --name, -n: Project name to use (skips prompt)
- --pm, -p: Package manager to use (npm|yarn|pnpm|bun|dino|deno)
Examples
Fully interactive
bunx create-rocket
Non-interactive name + bun
bunx create-rocket --name my-rocket-app --pm bun
Behavior & Notes
- Branch: clones only the
mainbranch of the template - Git history: removed to detach your new project from the template
- Deno: dependency installation is skipped because the template is Node-based
- Next steps: after completion,
cd <project-name>and run your dev script (e.g.,bun dev,npm run dev,yarn dev, orpnpm dev)
Troubleshooting
- git not found: install git and ensure it is on PATH
- install fails: check your chosen package manager is installed (e.g.,
bun -v,npm -v, etc.) - permission denied: on Unix, ensure the binary is executable or use
bunx create-rocket - network/firewall: cloning or install requires network access
FAQ
- Can I run with npx? This CLI is Bun-based. Use
bunx create-rocket, or convert the project to produce a Node-compatibledist/index.jswith a#!/usr/bin/env nodeshebang.
License MIT
