Skip to main content

Yarn is a package manager for Javascript applications

import ""


A Yarn package

yarn.#Package Inputs

sourcedagger.#ArtifactApplication source code
packagestructExtra alpine packages to install
cwd*"." \| stringworking directory to use
envstructEnvironment variables
writeEnvFile*"" \| stringWrite the contents of environment to this file, in the "envfile" format
buildDir*"build" \| stringRead build output from this directory (path must be relative to working directory)
script*"build" \| stringRun this yarn script
args*[] \| [...string]Optional arguments for the script

yarn.#Package Outputs

buildstructBuild output directory