DevTips -- GitHub

moon indicating dark mode
sun indicating light mode
GitHub is a git hosting SaaS service with additional features. It's free for open source use cases.

Consuming private gpr packages with Yarn

To install an npm package from the @github package registry using yarn, create the following .npmrc file with a personal github access token that has the read:packages and repo scopes

@christopherbiscardi:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=PERSONAL_ACCESS_TOKEN