github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/packages/README.md (about)

     1  # Lerna packages
     2  
     3  
     4  # Local debugging
     5  If you are trying to debug the publish of packages locally, use `verdaccio` as the registry:
     6  
     7  
     8  ```sh
     9  npx verdaccio
    10  
    11  verdaccio
    12  npm set registry http://localhost:4873
    13  npm adduser --registry http://localhost:4873
    14  lerna publish
    15  ```
    16  
    17  Then in your `lerna publish` command pass the `registry` flag pointing to `verdaccio`,
    18  for example: `yarn lerna publish --registry=http://localhost:4873`
    19  
    20  source: https://github.com/lerna/lerna/issues/51#issuecomment-348256663