Skip to content

Commit 8c3710e

Browse files
committed
[TASK] updates wordpress and 3rd-party packages to their latest stable versions
1 parent bb05a5a commit 8c3710e

File tree

2 files changed

+961
-1630
lines changed

2 files changed

+961
-1630
lines changed

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "Wordpress distribution for Web Developer Meetup with console and .env support",
44
"type": "project",
55
"require": {
6-
"roots/wordpress": "^6.4",
6+
"roots/wordpress": "^6.6",
77
"roots/wp-config": "^1.0",
88

99
"wpackagist-plugin/clean-image-filenames": "^1.4",
@@ -14,7 +14,7 @@
1414
"wp-cli/wp-cli-bundle": "^2.9",
1515

1616
"oscarotero/env": "^2.1",
17-
"portrino/companienv": "^2.0",
17+
"portrino/companienv": "^4.0",
1818
"vlucas/phpdotenv": "^5.6"
1919
},
2020
"require-dev": {
@@ -53,12 +53,12 @@
5353
},
5454
"scripts": {
5555
"pre-install-cmd": [
56-
"[ -e ./bin/companienv ] && composer run-script pre-script:companienv || echo 'No portrino/companienv package found - trying to install now!'",
57-
"[ ! -e ./bin/companienv ] && composer update portrino/companienv --no-scripts && echo '!!!' && echo 'Installed only missing required portrino/companienv package first! Please re-run composer install/ update!' && echo '!!!' && exit 1 || echo ''"
56+
"[ -e ./bin/companienv ] && composer run-script pre-script:companienv || composer update portrino/companienv --no-scripts",
57+
"[ -e ./bin/companienv ] && composer run-script pre-script:companienv || echo 'No portrino/companienv package found!!!'"
5858
],
5959
"pre-update-cmd": [
60-
"[ -e ./bin/companienv ] && composer run-script pre-script:companienv || echo 'No portrino/companienv package found - trying to install now!'",
61-
"[ ! -e ./bin/companienv ] && composer update --no-scripts && echo '!!!' && echo 'Updated/ Installed all required packages first! Please re-run composer install to trigger post-install scripts!' && echo '!!!' && exit 1 || echo ''"
60+
"[ -e ./bin/companienv ] && composer run-script pre-script:companienv || composer update portrino/companienv --no-scripts",
61+
"[ -e ./bin/companienv ] && composer run-script pre-script:companienv || echo 'No portrino/companienv package found!!!'"
6262
],
6363

6464
"post-install-cmd": [

0 commit comments

Comments
 (0)