What This Package Is
@elata-biosciences/create-elata-demo is a CLI scaffolder that generates ready-to-run Elata web apps.
Use it when you want a clean scaffolded app or a consumer-facing reference project.
When To Use It
Use this package when you want:- the fastest path to a working Elata app
- a reference project that matches the published package surface
- a known-good baseline before integrating packages into an existing app
Templates
The scaffolder exposes three user-facing app starters:
Short aliases are also supported:
Install And Invocation
This package is usually invoked without installing it permanently:List Available Templates
Recommended Usage
--template, it prompts you to pick a template. In non-interactive runs, it falls back to rppg-demo.
If you omit the project directory, the CLI also prompts for the project name.
What You Get
Each generated app includes:- a minimal Vite + React app shell
- Elata packages pinned to a compatible set of versions
- a template-specific
README.md - a
buildscript that type-checks and runsvite build
What Happens Behind The Scenes
The scaffolder binary:- Prompts for the app type first when running interactively without
--template - Prompts for
projectNamewhen missing - Validates the selected starter name
- Copies the chosen template into the target directory
- Renames
_gitignoreto.gitignore - Rewrites placeholders like
__APP_NAME__and package-version placeholders
Workspace Caveat
If you scaffold a new app inside anotherpnpm workspace and that app is not added to the workspace globs, run this from the parent directory:
Repo Verification
The package is tested from the repo with:When To Use The Scaffolder vs. Examples
Next
Build Your First App
Scaffold and run a starter app
Choose A Package
Package decision guide
Example Apps
Full reference implementations