heroku-buildpack-multi-node

by busbud

GitHub Readme.md

Heroku Multi Node buildpack

If you want to go the google route and have a mono repo for all your Node.js apps, but want to deploy to heroku, it will not work as the Node.js buildpack expects package.json to live in the root folder. Enter the multi node buildpack! It allows you to run a specific app in a repository of multiple apps!

It:

  1. Looks at APP_SUBFOLDER in your env.
  2. Copies root/${APP_SUBFOLDER}/Procfile to root/Procfile
  3. Copies root/${APP_SUBFOLDER}/package.json to root/package.json

And that's it! Super simple!