@hzkjn/create-gene
v0.1.13
Published
HZKJN app generator
Readme
Gene
CLI scaffolder for HZKJN apps.
Gene helps you quickly scaffold different types of applications (web, SaaS, mobile, CLI, etc.) with sensible defaults and opinionated structure.
Usage
Interactive mode
bun create @hzkjn/geneThis will prompt you to:
- Enter your app name
- Select the type of app you want to create
Standard usage
bun create @hzkjn/gene my-appThis will prompt you to select the type of app you want to create.
Semi-interactive (template specified)
bun create @hzkjn/gene --template webThis will prompt only for the app name, using the specified template.
Power user mode (skip all prompts)
bun create @hzkjn/gene my-app --template saas-workspacesor
bun create @hzkjn/gene my-app -t webAvailable templates
webmobilebrowser-extensionapiclilibsaas-workspacessaas-domains
For App Developers (using Gene)
After scaffolding your app:
cd my-app
bun install
bun run devThat’s it. You’re ready to build.
For Gene Maintainers (developing Gene itself)
When making changes to Gene (the CLI):
Run tests
bun testBuild the package
bun run buildBump the version
npm version <major|minor|patch>Push commits and tags
git push git push --tags
Publishing is handled via GitHub Actions.
⚠️ Do not publish manually.
Tagged releases trigger the automated publish workflow.
License
MIT
