From 9f84df3e197e30e9a93d0e5efe3eea9fe5d6b3f3 Mon Sep 17 00:00:00 2001 From: Craigory Coppola Date: Mon, 22 Jul 2024 17:32:05 -0400 Subject: [PATCH] chore(js): run docs --- docs/generated/packages/js/executors/verdaccio.json | 4 ++++ packages/js/src/executors/verdaccio/verdaccio.impl.ts | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/generated/packages/js/executors/verdaccio.json b/docs/generated/packages/js/executors/verdaccio.json index ad707dfaf3a68..5e53e945ca8f4 100644 --- a/docs/generated/packages/js/executors/verdaccio.json +++ b/docs/generated/packages/js/executors/verdaccio.json @@ -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" diff --git a/packages/js/src/executors/verdaccio/verdaccio.impl.ts b/packages/js/src/executors/verdaccio/verdaccio.impl.ts index 107aa6ac891c0..8aa77bb5db2c9 100644 --- a/packages/js/src/executors/verdaccio/verdaccio.impl.ts +++ b/packages/js/src/executors/verdaccio/verdaccio.impl.ts @@ -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;