@cloudwerk/create-app
v0.16.2
Published
Create a new Cloudwerk app
Readme
@cloudwerk/create-app
Scaffold a new Cloudwerk project with a single command.
Usage
npx @cloudwerk/create-app my-appOr with a specific package manager:
pnpm create @cloudwerk/app my-app
npm create @cloudwerk/app my-app
yarn create @cloudwerk/app my-appOptions
Usage: create-cloudwerk-app [options] <project-name>
Options:
-r, --renderer <type> UI renderer (hono-jsx, react, none)
-V, --version Output version number
-h, --help Display helpTemplates
| Renderer | Description |
|----------|-------------|
| hono-jsx | Full-stack app with Hono JSX (default) |
| react | Full-stack app with React SSR |
| none | API-only backend, no UI rendering |
Examples
# Interactive mode (prompts for renderer)
npx @cloudwerk/create-app my-app
# Hono JSX template (default)
npx @cloudwerk/create-app my-app --renderer hono-jsx
# React template
npx @cloudwerk/create-app my-app --renderer react
# API-only template
npx @cloudwerk/create-app my-app --renderer noneWhat's Included
Each template includes:
- Pre-configured
cloudwerk.config.ts - Example routes in
app/routes/ - TypeScript configuration
- Development scripts (
dev,build)
Documentation
For full documentation, visit: https://github.com/squirrelsoft-dev/cloudwerk
Part of Cloudwerk
This package is part of the Cloudwerk monorepo.
