Pre-release packages are published to GitHub Packages every time code is pushed to the main
branch. To use, you
will need a GitHub access
token
with the read:packages
scope.
- Create an
.npmrc
with
//npm.pkg.github.com/:_authToken=YOUR_TOKEN_GOES_HERE
@trussworks:registry=https://npm.pkg.github.com
or
Create a .yarnrc
file with
"@trussworks:registry" "https://npm.pkg.github.com"
- In your
package.json
, use"@trussworks/react-uswds": "next"
See GitHub Packages with npm docs for more detailed information.