From 3c04c7f3e68cf2af29d7849552513ea176eaf115 Mon Sep 17 00:00:00 2001 From: Jonathan Yu Date: Sun, 20 Feb 2022 11:52:14 -0800 Subject: [PATCH] chore: install optional dependencies (required for swc) (#335) * chore: install optional dependencies (required for swc) * Use install script in Makefile * add trailing newline --- Makefile | 4 ++-- scripts/yarn_install.sh | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 388eb44b6f..981c9c4846 100644 --- a/Makefile +++ b/Makefile @@ -87,7 +87,7 @@ provisionersdk/proto: provisionersdk/proto/provisioner.proto .PHONY: provisionersdk/proto site/out: - cd site && yarn install + ./scripts/yarn_install.sh cd site && yarn build cd site && yarn export -.PHONY: site/out \ No newline at end of file +.PHONY: site/out diff --git a/scripts/yarn_install.sh b/scripts/yarn_install.sh index 6cccda2dd5..bb83707661 100755 --- a/scripts/yarn_install.sh +++ b/scripts/yarn_install.sh @@ -18,9 +18,6 @@ yarn_flags=( # Check if existing node_modules are valid # TODO: determine if this is necessary # --check-files - - # Do not install optional dependencies - --ignore-optional ) if [ -n "${CI:-}" ]; then