Skip to content

busbud/heroku-buildpack-multi-node

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

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
  4. If present, copies root/${APP_SUBFOLDER}/yarn.lock to root/yarn.lock

And that's it! Super simple!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%