Wixewr 50e08aa356
feat(js): added a verdaccio listen address to configuration (#26976)
Co-authored-by: William van der Vegt <william.van.der.vegt@moba.net>
Co-authored-by: Craigory Coppola <craigorycoppola@gmail.com>
2024-07-25 14:43:33 -04:00

54 lines
1.6 KiB
JSON

{
"name": "verdaccio",
"implementation": "/packages/js/src/executors/verdaccio/verdaccio.impl.ts",
"schema": {
"$schema": "https://json-schema.org/schema",
"version": 2,
"title": "Verdaccio Local Registry",
"description": "Start a local registry with Verdaccio.",
"cli": "nx",
"type": "object",
"properties": {
"location": {
"type": "string",
"description": "Location option for npm config",
"default": "user",
"enum": ["global", "user", "project", "none"]
},
"storage": {
"type": "string",
"description": "Path to the custom storage directory for Verdaccio"
},
"port": {
"type": "number",
"description": "Port of local registry that Verdaccio should listen to"
},
"listenAddress": {
"type": "string",
"description": "Listen address that Verdaccio should listen to"
},
"config": {
"type": "string",
"description": "Path to the custom Verdaccio config file"
},
"clear": {
"type": "boolean",
"description": "Clear local registry storage before starting Verdaccio",
"default": true
},
"scopes": {
"type": "array",
"description": "Scopes to be added to the Verdaccio config",
"items": { "type": "string" }
}
},
"required": ["port"],
"presets": []
},
"description": "Start local registry with verdaccio",
"aliases": [],
"hidden": false,
"path": "/packages/js/src/executors/verdaccio/schema.json",
"type": "executor"
}