Usage
Configuration
project.json
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Deploy to a target platform (node/vercel/lambda/cloudflare)
nx deploy production
{
"targets": {
"deploy": {
"executor": "@frontmcp/nx:deploy",
"dependsOn": ["build"],
"options": {
"target": "vercel"
}
}
}
}
| Option | Type | Description |
|---|---|---|
target | node | vercel | lambda | cloudflare | Required. Deployment target platform |
| Target | What Happens |
|---|---|
node | Builds the Docker image and runs docker compose up --build -d |
vercel | Runs npx vercel --prod using vercel.json config |
lambda | Runs sam build && sam deploy using template.yaml SAM template |
cloudflare | Runs npx wrangler deploy using wrangler.toml config |
# Build first, then deploy
nx build production
nx deploy production
# Or use dependsOn to chain automatically
nx deploy production # triggers build first if configured