yarn
Available Commands
| Command | Description |
|---|---|
| dispatch | Runs an arbitrary yarn command (Terrabuild action name is forwarded to yarn). |
| install | Installs packages with yarn install, optionally updating the lockfile or ignoring engines. |
| build | Runs the build script via yarn build. |
| test | Runs the test script via yarn test. |
| run | Runs an arbitrary yarn script (yarn <command>). |
Project Initializer
Computes default outputs and dependencies from package.json.
project {
@yarn { }
}
Equivalent to:
project {
ignores = [ "node_modules/**" ]
outputs = [ "dist/**" ]
}