Skip to content

SebastiaanDeJonge/heroku-buildpack-lerna

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Heroku Lerna Buildpack

Based on:

This is a simplified version of the Heroku Lerna Storybook buildpack (simply stripped off anything related to storybook).

Requirements

  • The package.json inside the root of your project included lerna as devDependency
  • YARN_PRODUCTION is set to false inside your Heroku config
  • APP_BASE inside your Heroku config points to the relative path of your application
  • The NodeJS buildpack must be defined before this one

Example

my-monorepo
    |-- packages
        |-- my-components
        |-- my-utilities
    |-- services
        |-- my-app
            |-- package.json
        |-- my-api
            |-- package.json
    |-- lerna.json
    |-- package.json

Configuration

Set YARN_PRODUCTION

heroku config:set YARN_PRODUCTION=false -a <heroku-app-name>

Set APP_BASE

heroku config:set APP_BASE=false -a <relative-path-to-app>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages