<!-- Please make sure you have read the submission guidelines before posting an PR --> <!-- https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr --> <!-- Please make sure that your commit message follows our format --> <!-- Example: `fix(nx): must begin with lowercase` --> <!-- If this is a particularly complex change or feature addition, you can request a dedicated Nx release for this pull request branch. Mention someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they will confirm if the PR warrants its own release for testing purposes, and generate it for you if appropriate. --> ## Current Behavior <!-- This is the behavior we have today --> ## Expected Behavior <!-- This is the behavior we should expect with the changes in this PR --> replace localhost with options. listenAddress ## Related Issue(s) <!-- Please link the issue being fixed so it gets closed when this is merged. --> Fixes https://github.com/nrwl/nx/issues/28314
55 lines
1.6 KiB
JSON
55 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",
|
|
"default": "localhost"
|
|
},
|
|
"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"
|
|
}
|