Skip to content

Conversation

arcanis
Copy link
Member

@arcanis arcanis commented May 12, 2019

This diff adds a new option to yarn install: --inline-builds instructs Yarn to print the build output to the standard output instead of creating temporary files.

cc @deini who wanted to use the new createStreamReporter function.

@arcanis arcanis force-pushed the create-stream-reporter branch from 50ba769 to 190528c Compare May 12, 2019 19:36
@arcanis arcanis force-pushed the create-stream-reporter branch from 190528c to f2a48dd Compare May 13, 2019 08:59
@deini
Copy link
Member

deini commented May 13, 2019

createStreamReporter looks good ✅

@arcanis arcanis merged commit 3c57653 into master May 13, 2019
@arcanis arcanis deleted the create-stream-reporter branch May 13, 2019 12:32
sjchmiela added a commit to expo/eas-build that referenced this pull request Nov 10, 2023
# Why

`--inline-builds` is an interesting option that may help users and us debug Yarn Install errors. ([source](yarnpkg/berry#3764 (comment)), [related](https://exponent-internal.slack.com/archives/C031ZK9UWAC/p1698663231179249?thread_ts=1698430427.434299&cid=C031ZK9UWAC))

<img width="901" alt="Zrzut ekranu 2023-10-30 o 11 56 51" src="https://github.com/expo/eas-build/assets/1151041/253dcb86-2ae1-4583-bf52-9d4694916eef">

The option [first](yarnpkg/berry#160) appeared in Yarn v2.

# How

Added `--inline-builds` to `yarn install` options.

# Test Plan

Ran `yarn install --inline-builds` in an example project of mine on Yarn 4 and Node 18.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants