build: fix integration/bazel on OSX and update integration yarn.lock files (#28900)

PR Close #28900
This commit is contained in:
Greg Magolan
2019-02-21 12:56:41 -08:00
committed by Igor Minar
parent 3f2b51b837
commit 3cc9ba24c6
4 changed files with 254 additions and 292 deletions

7
integration/bazel/pretest.sh Executable file
View File

@ -0,0 +1,7 @@
# sedi makes sed work on both OSX & Linux
# See https://stackoverflow.com/questions/2320564/i-need-my-sed-i-command-for-in-place-editing-to-work-with-both-gnu-sed-and-bsd
sedi () {
sed --version >/dev/null 2>&1 && sed -i -- "$@" || sed -i "" "$@"
}
sedi "s#packages-dist:#file://$PWD/../../dist/packages-dist/#" src/package.json