create-aiko
v0.1.6
Published
CLI to create aiko-boot scaffold project (monorepo with api, admin, mobile, shared)
Downloads
1,273
Readme
create-aiko
CLI to create a new aiko-boot scaffold project (monorepo: api, admin, mobile, shared, optionally shared-auth).
Usage
Published package usage:
pnpm dlx create-aiko my-appRepository-local usage:
pnpm run create
node packages/aiko-boot-create/dist/cli.jsOptions
| Option | Description |
|--------|-------------|
| [targetDir] | Target directory for the new project. Default: <cwd>/<projectName> |
| -n, --name <name> | Project name, used as npm scope (e.g. my-app → @my-app/*) |
| --with-base-system | Include base system: login, shared-auth, user/menu management (later) |
| --no-base-system | Bare project without login/auth (default when not specified) |
| --template-dir <dir> | Path to scaffold template. Default: bundled template in npm package; if missing, fallback to <cwd>/scaffold |
Base system vs bare
- With base system (
--with-base-system): Copies full scaffold includingshared-auth, auth controller/service/dto, user entity/mapper, init-db withsys_user, login pages and protected routes in admin/mobile. - Bare (
--no-base-system): Same monorepo structure (api, admin, mobile, shared) but noshared-auth, no auth-related files in api, no login UI or protected routes; shared has noAUTH_STORAGE_KEY.
After generation
cd <targetDir>pnpm install- If base system was included:
pnpm init-db pnpm dev
Build
pnpm build