Context
RFC
Exploration
This buildpack should be re-written such that it supports a codepath for installing application dependencies using Yarn Berry.
Details
-
API: The buildpack should require node and yarn during build and should provide either node_modules OR yarn_pkgs.
-
The logic for installing dependencies with Yarn Classic should be kept as separate as possible from that of Yarn Berry; preferably as separate packages.
Acceptance Criteria
Given an application which uses Yarn Berry to manage its dependencies:
- when
pack build is run with the yarn-install buildpack, it should pass detection and build successfully.
- The required dependencies should be installed in the resulting container.
Context
RFC
Exploration
This buildpack should be re-written such that it supports a codepath for installing application dependencies using Yarn Berry.
Details
API: The buildpack should require
nodeandyarnduring build and should provide eithernode_modulesORyarn_pkgs.The logic for installing dependencies with Yarn Classic should be kept as separate as possible from that of Yarn Berry; preferably as separate packages.
Acceptance Criteria
Given an application which uses Yarn Berry to manage its dependencies:
pack buildis run with theyarn-installbuildpack, it should pass detection and build successfully.