Skip to main content

Command reference

Run these from a generated project as deno task <name>.

TaskPurpose
devValidate configuration and run the Astro development server
doctorValidate source PWA metadata and print secret-free readiness
testRun the deterministic generated-project test suite
buildBuild and validate the static PWA, fingerprint it, and scan secrets
previewServe an existing production build locally
jazz:provisionCreate a managed Jazz app and write its configuration to .env
schema:validateValidate the Jazz schema and permission declarations
schema:deployPublish the schema, migrations, and permissions
migrations:createCreate a migration under src/migrations/
migrations:pushPush migrations using the managed Jazz configuration
deploy:createBuild and create a static Deno Deploy application
deployBuild and deploy a new production version to the configured app

Arguments

deno task dev -- --host 0.0.0.0
deno task preview --port 4173
deno task jazz:provision --env .env --force
deno task deploy:create --org <org> --app <app>

dev accepts Astro arguments after --. preview accepts --port. Provisioning accepts an alternate environment path and requires --force before replacing existing values.