Documentation Index
Fetch the complete documentation index at: https://docs.agentfront.dev/llms.txt
Use this file to discover all available pages before exploring further.
Executors wrap FrontMCP CLI commands as Nx targets, enabling caching, dependency ordering, and nx affected support.
Summary
| Executor | CLI Command | Cacheable | Long-Running |
|---|
build | frontmcp build | Yes | No |
build-exec | frontmcp build --target node | Yes | No |
dev | frontmcp dev | No | Yes |
serve | frontmcp start | No | Yes |
test | frontmcp test | Yes | No |
inspector | frontmcp inspector | No | Yes |
deploy | Platform-specific | No | No |
Usage in project.json
Executors are configured in each project’s project.json:
{
"name": "my-app",
"targets": {
"build": {
"executor": "@frontmcp/nx:build",
"outputs": ["{projectRoot}/dist"],
"options": {
"entry": "{projectRoot}/src/main.ts",
"outputPath": "{projectRoot}/dist"
}
},
"dev": {
"executor": "@frontmcp/nx:dev",
"options": {
"entry": "{projectRoot}/src/main.ts"
}
},
"test": {
"executor": "@frontmcp/nx:test",
"options": {
"runInBand": true
}
}
}
}
Running Executors
# Run a specific target
nx build my-app
nx dev my-app
nx test my-app
# Run across all projects
nx run-many -t build
nx run-many -t test
# Run only affected projects
nx affected -t test