@acontext/create-sandbox-cloudflare
v0.1.2
Published
Create a new Acontext Cloudflare Sandbox Worker project
Readme
@acontext/sandbox-cloudflare
Create a new Acontext Cloudflare Sandbox Worker project with one command.
Usage
npx @acontext/sandbox-cloudflare@latest my-appOr using npm create:
npm create @acontext/sandbox-cloudflare@latest my-appOr with the --yes flag to skip prompts:
npx @acontext/sandbox-cloudflare@latest my-app --yesOptions
--yes,-y: Skip prompts and use defaults--skip-install,--no-install: Skip installing dependencies after creating the project
What it creates
This will create a new directory with:
- ✅ Cloudflare Worker setup with TypeScript
- ✅ Cloudflare Sandbox SDK integration
- ✅ Pre-configured Wrangler configuration
- ✅ Dockerfile for sandbox containers
- ✅ All necessary dependencies
Next steps
After creating your project:
cd my-app
pnpm run dev # or npm run dev / yarn dev