Skip to content
Snippets Groups Projects
Commit a9fc2a0e authored by Benoît Harrault's avatar Benoît Harrault
Browse files

Update composer and yarn dependencies

parent b5605990
No related branches found
No related tags found
1 merge request!49Resolve "Update composer and yarn dependencies"
#!/usr/bin/env bash #!/usr/bin/env bash
if [ -f .env.local ]; then CURRENT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
sed -i "s/^APP_ENV=prod$/APP_ENV=dev/g" .env.local
if [[ -f "${CURRENT_DIR}/.env.local" ]]; then
sed -i "s|^APP_ENV=prod$|APP_ENV=dev|g" "${CURRENT_DIR}/.env.local"
fi fi
composer install composer install
yarn install yarn install
yarn encore dev --watch yarn encore dev --watch
#!/usr/bin/env bash #!/usr/bin/env bash
if [ -f .env.local ]; then CURRENT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
sed -i "s/^APP_ENV=dev$/APP_ENV=prod/g" .env.local
if [[ -f "${CURRENT_DIR}/.env.local" ]]; then
sed -i "s|^APP_ENV=dev$|APP_ENV=prod|g" "${CURRENT_DIR}/.env.local"
fi fi
composer install --no-ansi --no-interaction --no-plugins --no-progress --no-scripts --optimize-autoloader composer install --no-ansi --no-interaction --no-plugins --no-progress --no-scripts --optimize-autoloader
php bin/console cache:clear --env=dev
php bin/console cache:clear --env=prod php bin/console cache:clear --env=prod
yarn install yarn install
......
This diff is collapsed.
...@@ -90,12 +90,6 @@ ...@@ -90,12 +90,6 @@
"laminas/laminas-code": { "laminas/laminas-code": {
"version": "3.4.1" "version": "3.4.1"
}, },
"laminas/laminas-eventmanager": {
"version": "3.2.1"
},
"laminas/laminas-zendframework-bridge": {
"version": "1.1.1"
},
"monolog/monolog": { "monolog/monolog": {
"version": "2.1.1" "version": "2.1.1"
}, },
......
#!/usr/bin/env bash
composer update
yarn upgrade
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment