react-native-builder-bob icon indicating copy to clipboard operation
react-native-builder-bob copied to clipboard

Alternative for `prepare` script to work around https://github.com/yarnpkg/yarn/issues/7212

Open lfalkner opened this issue 6 years ago • 1 comments

Is there an alternative to where bob build can run that does not involve using the prepare script?

There is a known issue with yarn that causes a second yarn process to spin up when a git package contains a prepare script. This makes it difficult to contribute to open source for any package which has such a script.

If there is an alternative to when and where the bob build script should run, that would be ideal.

lfalkner avatar Dec 17 '19 20:12 lfalkner

Note this work-around worked for us: https://github.com/yarnpkg/yarn/issues/7212#issuecomment-487930971

Happy to contribute back a documentation update if you'd like

lfalkner avatar Dec 17 '19 21:12 lfalkner

Closing since we use prepack script now instead.

satya164 avatar Jul 04 '23 10:07 satya164