Update dependencies and don't check to see if the .env file exists before generating a key as we've already stopped the script if this is the case

This commit is contained in:
Kevin MacMartin 2019-11-15 14:21:23 -05:00
parent e3dcafc623
commit 03d220fb1b
5 changed files with 971 additions and 675 deletions

590
composer.lock generated

File diff suppressed because it is too large Load diff

View file

@ -50,8 +50,7 @@ done
} }
# Exit with an error if the .env file does not exist # Exit with an error if the .env file does not exist
[[ -f '.env' ]] \ [[ -f '.env' ]] || error 'The .env file does not exist'
|| error 'The .env file does not exist'
# Exit with an error on ctrl-c # Exit with an error on ctrl-c
trap 'error "script killed"' SIGINT SIGQUIT trap 'error "script killed"' SIGINT SIGQUIT
@ -69,14 +68,12 @@ trap 'error "script killed"' SIGINT SIGQUIT
msg "Running: ${c_m}composer installl --no-dev" msg "Running: ${c_m}composer installl --no-dev"
composer install --no-interaction --no-dev || error "${c_m}composer install --no-interaction --no-dev$c_w exited with an error status" composer install --no-interaction --no-dev || error "${c_m}composer install --no-interaction --no-dev$c_w exited with an error status"
[[ -f .env ]] && {
while read -r; do while read -r; do
[[ "$REPLY" =~ ^APP_KEY=(.*)$ && -z "${BASH_REMATCH[1]}" ]] && { [[ "$REPLY" =~ ^APP_KEY=(.*)$ && -z "${BASH_REMATCH[1]}" ]] && {
msg 'Generating Encryption Key' 'php artisan key:generate' msg 'Generating Encryption Key' 'php artisan key:generate'
php artisan key:generate php artisan key:generate
} }
done < .env done < .env
}
msg "Running: ${c_m}php artisan route:clear" msg "Running: ${c_m}php artisan route:clear"
php artisan route:clear php artisan route:clear

1007
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -8,15 +8,15 @@
"browser-sync": "2.26.7" "browser-sync": "2.26.7"
}, },
"dependencies": { "dependencies": {
"@babel/core": "^7.5.5", "@babel/core": "^7.7.2",
"@babel/preset-env": "^7.5.5", "@babel/preset-env": "^7.7.1",
"autoprefixer": "^9.6.1", "autoprefixer": "^9.7.1",
"babelify": "^10.0.0", "babelify": "^10.0.0",
"bootstrap": "4.3.1", "bootstrap": "4.3.1",
"browserify": "^16.5.0", "browserify": "^16.5.0",
"fancy-log": "^1.3.3", "fancy-log": "^1.3.3",
"flatpickr": "^4.6.2", "flatpickr": "^4.6.3",
"gsap": "^2.1.3", "gsap": "^3.0.1",
"gulp": "^4.0.2", "gulp": "^4.0.2",
"gulp-babel": "^8.0.0", "gulp-babel": "^8.0.0",
"gulp-clean-css": "^4.2.0", "gulp-clean-css": "^4.2.0",
@ -30,7 +30,7 @@
"gulp-uglify": "^3.0.2", "gulp-uglify": "^3.0.2",
"jquery": "^3.4.1", "jquery": "^3.4.1",
"minimist": "^1.2.0", "minimist": "^1.2.0",
"popper.js": "^1.15.0", "popper.js": "^1.16.0",
"sortablejs": "^1.10.1", "sortablejs": "^1.10.1",
"vinyl-buffer": "^1.0.1", "vinyl-buffer": "^1.0.1",
"vinyl-source-stream": "^2.0.0", "vinyl-source-stream": "^2.0.0",
@ -39,8 +39,8 @@
"vue-router": "^3.1.3", "vue-router": "^3.1.3",
"vue-template-compiler": "^2.6.10", "vue-template-compiler": "^2.6.10",
"vueify-next": "^9.5.3", "vueify-next": "^9.5.3",
"vuex": "^3.1.1", "vuex": "^3.1.2",
"vuex-router-sync": "^5.0.0", "vuex-router-sync": "^5.0.0",
"what-input": "^5.2.3" "what-input": "^5.2.6"
} }
} }

View file

@ -8,14 +8,14 @@
"browser-sync": "2.26.7" "browser-sync": "2.26.7"
}, },
"dependencies": { "dependencies": {
"@babel/core": "^7.5.5", "@babel/core": "^7.7.2",
"@babel/preset-env": "^7.5.5", "@babel/preset-env": "^7.7.1",
"autoprefixer": "^9.6.1", "autoprefixer": "^9.7.1",
"babelify": "^10.0.0", "babelify": "^10.0.0",
"bootstrap": "4.3.1", "bootstrap": "4.3.1",
"fancy-log": "^1.3.3", "fancy-log": "^1.3.3",
"flatpickr": "^4.6.2", "flatpickr": "^4.6.3",
"gsap": "^2.1.3", "gsap": "^3.0.1",
"gulp": "^4.0.2", "gulp": "^4.0.2",
"gulp-babel": "^8.0.0", "gulp-babel": "^8.0.0",
"gulp-clean-css": "^4.2.0", "gulp-clean-css": "^4.2.0",
@ -28,8 +28,8 @@
"gulp-uglify": "^3.0.2", "gulp-uglify": "^3.0.2",
"jquery": "^3.4.1", "jquery": "^3.4.1",
"minimist": "^1.2.0", "minimist": "^1.2.0",
"popper.js": "^1.15.0", "popper.js": "^1.16.0",
"sortablejs": "^1.10.1", "sortablejs": "^1.10.1",
"what-input": "^5.2.3" "what-input": "^5.2.6"
} }
} }