Skip to content

Commit

Permalink
馃悰 FIX: #140
Browse files Browse the repository at this point in the history
  • Loading branch information
apolopena committed May 21, 2021
1 parent 4e116bd commit 8993f1e
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .gp/bash/init-optional-scaffolding.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@
# Load spinner
. .gp/bash/spinner.sh

# Workaround third party sass bug: https://github.com/apolopena/gitpod-laravel-starter/issues/140
hotfix130 () {
yes | npx add-dependencies sass@1.32.12 --dev
}

parse="bash .gp/bash/utils.sh parse_ini_value starter.ini"

install_react=$(eval "$parse" react install)
Expand Down Expand Up @@ -171,6 +176,7 @@ if [ $install_react == 1 ]; then
log -e "ERROR: $sub_msg"
fi
fi
hotfix130
log " --> Installing node modules and running Laravel Mix"
yarn install && npm run dev
npm run dev
Expand Down Expand Up @@ -204,6 +210,7 @@ if [[ $install_vue == 1 && $install_react != 1 ]]; then
fi
err_code=$?
if [[ $err_code == 0 ]]; then
hotfix130
log "SUCCESS: Vue$auth_msg has been installed"
log " --> Installing node modules and running Laravel Mix"
yarn install && npm run dev
Expand All @@ -229,6 +236,7 @@ if [[ $install_bootstrap == 1 && $install_react != 1 && $install_vue != 1 ]]; th
fi
err_code=$?
if [[ $err_code == 0 ]]; then
hotfix130
log "SUCCESS: Bootstrap$version_msg$auth_msg has been installed"
log " --> Installing node modules and running Laravel Mix"
yarn install && npm run dev
Expand All @@ -251,11 +259,6 @@ fi
# END: Optional bootstrap install
# END: optional frontend scaffolding installations

# workaround for third party bug https://github.com/apolopena/gitpod-laravel-starter/issues/140
# force latest sass 1.32.*
#yes | npx add-dependencies sass@1.32.12 --dev
yarn upgrade sass@1.32.12

# BEGIN: optional example setup
# Initialize optional react example project
if [[ -n $init_react_example ]];then
Expand Down

0 comments on commit 8993f1e

Please sign in to comment.