From 43144237f9fb0f87cfddce43ed4307e7821f8de2 Mon Sep 17 00:00:00 2001 From: Emily Xiong Date: Tue, 30 May 2023 14:51:30 -0400 Subject: [PATCH] fix(core): set verdaccio for authToken with location (#17318) --- packages/js/src/executors/verdaccio/verdaccio.impl.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/js/src/executors/verdaccio/verdaccio.impl.ts b/packages/js/src/executors/verdaccio/verdaccio.impl.ts index 16e76b7227faa..be1a14d4cd45e 100644 --- a/packages/js/src/executors/verdaccio/verdaccio.impl.ts +++ b/packages/js/src/executors/verdaccio/verdaccio.impl.ts @@ -129,7 +129,7 @@ function setupNpm(options: VerdaccioExecutorSchema) { `npm config set registry http://localhost:${options.port}/ --location ${options.location}` ); execSync( - `npm config set //localhost:${options.port}/:_authToken="secretVerdaccioToken"` + `npm config set //localhost:${options.port}/:_authToken="secretVerdaccioToken" --location ${options.location}` ); logger.info(`Set npm registry to http://localhost:${options.port}/`); } catch (e) {