Files
bro-sdk/docs/install-private-package.md
david weil 209fc5f56c docs: improve readme file (#3)
* refactor readme

* Merged from mainstream

* docs: add `docs/install-private-package.md`

---------

Co-authored-by: ignacio.pena@coinfabrik.com <ignacio.pena@coinfabrik.com>
Co-authored-by: c4605 <bolasblack@gmail.com>
2024-08-21 06:59:03 +08:00

648 B

How to install the privately published package from GitHub Package Registry

  1. Follow the guide Authenticating to GitHub Packages to create a personal access token

  2. Add a .npmrc file to the project that needs to install this package (the `GITHUB_NPM_KEY' is an environment variable, which is the personal access token created in the previous step)

    @xlink-network:registry=https://npm.pkg.github.com
    //npm.pkg.github.com/:_authToken=${GITHUB_NPM_KEY}
    
  3. Run npm install