@yca-software/2chi-create-app
v0.1.0
Published
Scaffold TanStack Start apps from 2chi kit templates
Maintainers
Readme
@yca-software/2chi-create-app
CLI to scaffold lean TanStack Start SaaS apps from the 2chi feature tree (create.t3.gg model).
Install / run
pnpm dlx @yca-software/2chi-create-app@latest my-saas
# or
npx @yca-software/2chi-create-app my-saasNon-interactive
pnpm dlx @yca-software/2chi-create-app@latest my-saas \
--target b2b \
--features org,rbac,members,admin \
--locales en \
--yesOptions
| Flag | Description |
|------|-------------|
| --target | b2c | b2b | hybrid |
| --features | Comma-separated kit ids |
| --locales | Comma-separated locale codes (default en) |
| --name | Project display name |
| --local-core | Use file:../../core for monorepo dev |
| --yes | Skip interactive prompts |
Development
pnpm install
pnpm run build
pnpm run ciLocal monorepo dev (before core is on npm):
pnpm add file:../core # link sibling @yca-software/2chi-coreRelease
Publish @yca-software/2chi-core first — this package depends on it.
Then create a GitHub Release:
- Bump
versioninpackage.json - Commit and push to
main - Tag
vX.Y.Zand publish the release
Requires: NPM_TOKEN secret in the GitHub repo.
Related
- Kit library:
@yca-software/2chi-core
