Skip to content

Commit

Permalink
chore(js): run docs
Browse files Browse the repository at this point in the history
  • Loading branch information
AgentEnder committed Jul 24, 2024
1 parent 382b90f commit 9f84df3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docs/generated/packages/js/executors/verdaccio.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
"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"
Expand Down
4 changes: 3 additions & 1 deletion packages/js/src/executors/verdaccio/verdaccio.impl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,9 @@ function createVerdaccioOptions(
options.port ??= 4873; // set default port if config is not provided
}
if (options.port) {
const listenAddress = options.listenAddress ? `${options.listenAddress}:${options.port.toString()}` : options.port.toString();
const listenAddress = options.listenAddress
? `${options.listenAddress}:${options.port.toString()}`
: options.port.toString();
verdaccioArgs.push('--listen', listenAddress);
}
return verdaccioArgs;
Expand Down

0 comments on commit 9f84df3

Please sign in to comment.