nx-mesh
Version:
GraphQL Mesh support for Nx
70 lines (69 loc) • 2.02 kB
JSON
{
"version": 2,
"outputCapture": "direct-nodejs",
"$schema": "http://json-schema.org/schema",
"cli": "nx",
"title": "Start executor",
"description": "Serves a GraphQL server with GraphQL interface based on your generated artifacts",
"type": "object",
"properties": {
"debug": {
"type": "boolean",
"description": "Display debugging info.",
"default": false
},
"dir": {
"description": "The directory containing built GraphQL Mesh assets (.mesh).",
"type": "string"
},
"port": {
"type": "object",
"properties": {
"auto": {
"type": "boolean",
"description": "Use the first available port.",
"default": true
},
"range": {
"type": "object",
"description": "The range of ports to select from.",
"properties": {
"from": {
"type": "number",
"description": "The first port of the range. Must be in the range `1024`...`65535`."
},
"to": {
"type": "number",
"description": "The last port of the range. Must be in the range `1024`...`65535` and must be greater than `from`."
}
}
},
"number": {
"type": "integer",
"description": "The port number to run on.",
"default": 4200
},
"fallback": {
"type": "string",
"enum": ["auto", "none"],
"description": "Fallback action to take if the define port is unavailable.",
"default": "auto"
},
"host": {
"type": "string",
"description": "The host to listern on.",
"default": "localhost"
}
}
},
"require": {
"type": "array",
"description": "Loads specific require.extensions before running the codegen and reading the configuration.",
"items": {
"type": "string"
},
"default": []
}
},
"required": ["dir"]
}