Skip to content

Commit

Permalink
fix(core): set verdaccio for authToken with location (#17318)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiongemi authored May 30, 2023
1 parent 631a948 commit 4314423
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/js/src/executors/verdaccio/verdaccio.impl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

1 comment on commit 4314423

@vercel
Copy link

@vercel vercel bot commented on 4314423 May 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx-dev-git-master-nrwl.vercel.app
nx.dev
nx-five.vercel.app
nx-dev-nrwl.vercel.app

Please sign in to comment.