Emily Xiong 471f82c991
fix(js): remove default port for verdaccio (#26502)
<!-- 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` -->

## Current Behavior
<!-- This is the behavior we have today -->

## Expected Behavior
<!-- This is the behavior we should expect with the changes in this PR
-->
- remove default port for verdaccio so it can take port from config file

## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->

Fixes https://github.com/nrwl/nx/issues/23007
2024-06-12 10:06:49 -04:00

45 lines
1.3 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"
},
"config": {
"type": "string",
"description": "Path to the custom Verdaccio config file"
},
"clear": {
"type": "boolean",
"description": "Clear local registry storage before starting Verdaccio",
"default": true
}
},
"required": ["port"],
"presets": []
},
"description": "Start local registry with verdaccio",
"aliases": [],
"hidden": false,
"path": "/packages/js/src/executors/verdaccio/schema.json",
"type": "executor"
}