Drop-in replacement for lstoll/heroku-buildpack-monorepo that preserves Yarn workspace infrastructure.
- Copies
APP_BASEsubdirectory to the build root (same as the original monorepo buildpack) - Preserves
packages/,yarn.lock,.yarnrc.yml, and.yarn/from the repo root - Patches the root
package.jsonwithworkspacesandpackageManagerfields so Heroku's Node.js buildpack uses Yarn 4 and resolvesworkspace:*dependencies
# Replace the existing monorepo buildpack (position 1)
heroku buildpacks:set https://github.com/numeroai/heroku-buildpack-monorepo-workspace -i 1 -a <app-name>
# Ensure APP_BASE is set
heroku config:set APP_BASE=numero_server -a <app-name>APP_BASE— the subdirectory containing the app (e.g.,numero_server)NPM_AUTH_TOKEN— GitHub Packages auth token (for@numeroaiscoped packages, if fetching from registry)