checkly-cli icon indicating copy to clipboard operation
checkly-cli copied to clipboard

TECH: Verdaccio local npm registry

Open sir-alex opened this issue 1 year ago • 1 comments

Verdaccio local npm registry for local env with default settings

Affected Components

  • [x] CLI
  • [ ] Create CLI
  • [ ] Test
  • [ ] Docs
  • [ ] Examples
  • [ ] Other

New Dependency Submission

"devDependencies": {
   ...
   "verdaccio": "6.0.2"
   ...
}

Verdaccio https://verdaccio.org/ A lightweight Node.js private proxy registry

As discussed in PR #994 here is proposal for local npm registry.

How to use for both e2e testing and local env :

  1. run verdaccio by npm run verdaccio. Modify verdaccio-config.yaml for advanced settings as per documentation https://verdaccio.org/docs/configuration
  2. server can be used for both e2e testing and local env

sir-alex avatar Dec 07 '24 16:12 sir-alex

@sir-alex can you explain why this new dependency is strictly necessary? We want to keep the list of (dev) dependencies as minimal as possible. So I don't think we will merge this one as there is not strict need for it AFAICS.

tnolet avatar Feb 18 '25 10:02 tnolet