From 13c63aced1315a9416c43b61f9ad4c6e5850f3e2 Mon Sep 17 00:00:00 2001 From: Joe Lillibridge Date: Wed, 30 Oct 2024 17:04:25 -0500 Subject: [PATCH] wip --- .config/yadm/bootstrap | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.config/yadm/bootstrap b/.config/yadm/bootstrap index 8955641..ce62d9e 100755 --- a/.config/yadm/bootstrap +++ b/.config/yadm/bootstrap @@ -22,3 +22,16 @@ find -L "$BOOTSTRAP_D" -type f | sort | while IFS= read -r bootstrap; do fi fi done + +hash -r +YARN=$(brew --prefix yarn)/bin/yarn + +if (command -v "$YARN" >/dev/null 2>&1); then + # Install yalc. Needed for local-publish + echo "Installing yalc..." + if ! $YARN global add yalc; then + echo "Failed to install yalc" >&2 + else + echo "Successfully installed yalc" + fi +fi \ No newline at end of file