GitHub Readme.md
Heroku buildpack for modifying the .npmrc file based on .env variables
Buildpacks
section.https://github.com/LambdaSchool/heroku-buildpack-npmrc.git
heroku/nodejs
build pack.
heroku/nodejs
, use the UI to re-order the build packs so that heroku-buildpack-npmrc
comes first.heroku/nodejs
, add it now. It should be placed after heroku-buildpack-npmrc
.While still on the settings page, add an environment variable NPM_TOKEN=00000000-0000-0000-0000-000000000000
. When this variable is present, it will be inserted into the .npmrc file like so: //registry.npmjs.org/:_authToken=00000000-0000-0000-0000-000000000000
Copy the snippet above into CLI.