39 lines
1.2 KiB
JSON
39 lines
1.2 KiB
JSON
{
|
|
"name": "setup-docker",
|
|
"factory": "./src/generators/setup-docker/setup-docker",
|
|
"schema": {
|
|
"$schema": "http://json-schema.org/schema",
|
|
"cli": "nx",
|
|
"$id": "SchematicsNxSetupDocker",
|
|
"title": "Nx Node Docker Options Schema",
|
|
"description": "Nx Node Docker Options Schema.",
|
|
"type": "object",
|
|
"properties": {
|
|
"project": {
|
|
"description": "The name of the project",
|
|
"$default": { "$source": "projectName" },
|
|
"type": "string",
|
|
"x-prompt": "What project would you like to add a Dockerfile to?",
|
|
"x-priority": "important"
|
|
},
|
|
"targetName": {
|
|
"description": "The name of the target to create",
|
|
"type": "string",
|
|
"default": "docker-build"
|
|
},
|
|
"buildTargetName": {
|
|
"description": "The name of the build target",
|
|
"type": "string",
|
|
"default": "build"
|
|
}
|
|
},
|
|
"presets": []
|
|
},
|
|
"description": "Set up Docker configuration for a project.",
|
|
"hidden": false,
|
|
"implementation": "/packages/node/src/generators/setup-docker/setup-docker.ts",
|
|
"aliases": [],
|
|
"path": "/packages/node/src/generators/setup-docker/schema.json",
|
|
"type": "generator"
|
|
}
|