Skip to content

MantasMikal/heroku-buildpack-yarn-workspaces

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Heroku Buildpack Yarn Workspaces

This buildpack is for monorepos configured with yarn workspaces. This is an appropriation of the heroku-monorepo-buildpack.

Rationale

It deals with the issue of not having required yarn v3 directiories. It will copy .yarnrc.yml, yarn.lock and yarn/* directories.

Usage

  1. Set the APP_BASE configuration variable. It should point to the relative path of your intended workspace. e.g. packages/my-package.

  2. Ensure you have a yarn.lock on your project's root directory. This buildpack will copy the yarn.lock to the APP_BASE directory. This is helpful for Heroku to detect and automatically install yarn in our behalf.

  3. Add this buildpack to your app using the command: heroku buildpacks:add -a <app> [https://github.com/MantasMikal/heroku-buildpack-yarn-workspaces](https://github.com/MantasMikal/heroku-buildpack-yarn-workspaces)

About

Heroku buildpack designed to deal with yarn workspaces.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%