Skip to content

Latest commit

 

History

23 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Heroku Buildpack for Node.js Build

Buildpack for Node.js apps with a build step defined on the package.json

GitHub license GitHub release

How it works?

Inspect for a package.json file and a build task defined within the scripts section.

Configure from CLI

Use after nodejs buildpack:

# create the app with nodejs buildpack
heroku create my-app --buildpack heroku/nodejs

# add heroku-bp-node-build
heroku buildpacks:add --index 2 https://github.com/carloluis/heroku-bp-node-build

Configure from app.json manifest:

{
    "buildpacks": [
        {
            "url": "heroku/nodejs"
        },
        {
            "url": "https://github.com/carloluis/heroku-bp-node-build"
        }
    ]
}

Locking to a buildpack version

Lock your buildpack to one specific version:

  • First, find the version you want from buildpack versions.
  • Then, specify that version with buildpacks:set
heroku buildpacks:set https://github.com/carloluis/heroku-bp-node-build#v0.1.0 -a my-app

More

Read related info with buildpacks here.

Buildpack Registry

This buildpack is available as carloluis/node-build on the Heroku Buildpack Registry.

License

MIT © Carloluis

Releases

Packages

Contributors

Languages