Skip to content

Installing Github Packages

Tom edited this page Aug 25, 2020 · 4 revisions

To install typeorm-seeding hosted on github packages you need to setup yarn to install the packages using your Github login.

  1. First, generate a personal access token here. Make sure at least the repo and read:packages permissions are enabled.
  2. Edit your ~/.npmrc to the following, replacing GITHUB_USERNAME and AUTH_TOKEN
@GITHUB_USERNAME:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=AUTH_TOKEN
always-auth=true
  1. Run yarn in the server branch and it will just work tm
Clone this wiki locally