create-edgebase
v0.2.6
Published
Bootstrap a new EdgeBase project
Downloads
1,344
Readme
create-edgebase is the package behind:
npm create edgebase@latestIt wraps the EdgeBase CLI and does the first-run setup for you:
- scaffold a new EdgeBase project
- install local project dependencies
- start local development unless you opt out
Beta: the bootstrap flow is usable today, but some templates and defaults may still evolve before general availability.
No Manual Install Required
You normally do not install this package directly.
Use it through npm create:
npm create edgebase@latest my-appDocumentation Map
- Quickstart First-run setup for a new EdgeBase project
- CLI Overview What the local CLI covers once the project exists
- CLI Workflows Common flows after scaffolding
For AI Coding Assistants
This package ships with an llms.txt file for AI-assisted scaffolding.
For the higher-level SDK and trust-boundary rules, start with the official Use EdgeBase With AI guide and then read this package's llms.txt for scaffold-specific details.
You can find it:
- after install:
node_modules/create-edgebase/llms.txt - in the repository: llms.txt
Use it when you want an agent to:
- choose the correct bootstrap command
- understand the
--no-devand--openflags - scaffold EdgeBase into an existing repo safely
- avoid confusing
create-edgebasewith the runtime CLI package
Quick Start
Create a dedicated EdgeBase project
npm create edgebase@latest my-appAdd EdgeBase inside an existing frontend project
cd your-frontend-project
npm create edgebase@latest edgebaseThat layout is recommended, not required. You can still keep EdgeBase in a separate repo or choose a different subdirectory name.
Flags
Skip auto-starting development
npm create edgebase@latest my-app -- --no-devOpen the browser when dev starts
npm create edgebase@latest my-app -- --openSkip dependency install in automation
EDGEBASE_CREATE_SKIP_INSTALL=1 npm create edgebase@latest my-app -- --no-devWhat Gets Created
The scaffold sets up an EdgeBase project with the local CLI already wired in.
Typical outputs include:
edgebase.config.tsfunctions/package.jsonwith local EdgeBase dev dependencies and scripts.gitignoreentries for local secrets and generated filesAGENTS.mdand.github/copilot-instructions.mdwith EdgeBase-specific AI guidance- local runtime metadata under
.edgebase/during development and deploy flows
If the target directory already contains package.json or .gitignore, the scaffold merges EdgeBase-specific entries instead of blindly replacing the file.
If the target directory already contains AGENTS.md or .github/copilot-instructions.md, the scaffold preserves existing content and refreshes the managed EdgeBase guidance block.
What Happens Next
After scaffolding, the usual next step is:
cd my-app
npm run devFrom there you can keep using the local CLI:
npx edgebase deploy
npx edgebase typegenRelated Packages
@edge-base/cliThe underlying CLI package used after project creation@edge-base/webBrowser SDK for your app code
License
MIT
