Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔨 chore: Mozart integration and update Appsero for WP 6.7 compatibility #24

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 38 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"license": "GPL2",
"autoload": {
"psr-4": {
"WeDevs\\DokanMigrator\\": "includes/"
"WeDevs\\DokanMigrator\\": "includes/",
"WeDevs\\DokanMigrator\\Dependencies\\": "dependencies/"
}
},
"authors": [
Expand All @@ -17,20 +18,29 @@
"minimum-stability": "stable",
"require": {
"php": ">=7.4",
"appsero/client": "dev-develop"
"appsero/client": "^2.0.4"
},
"require-dev": {
"wp-coding-standards/wpcs": "*",
"dealerdirect/phpcodesniffer-composer-installer": "*",
"tareq1988/wp-php-cs-fixer": "*",
"coenjacobs/mozart": "^0.7.1",
"phpcompatibility/phpcompatibility-wp": "*"
},
"scripts": {
"phpcs": [
"phpcs -p -s"
"phpcs -p -s"
],
"phpcbf": [
"phpcbf -p"
"phpcbf -p"
],
"post-install-cmd": [
"[ $COMPOSER_DEV_MODE -eq 0 ] || \"vendor/bin/mozart\" compose",
"composer dump-autoload"
],
"post-update-cmd": [
"[ $COMPOSER_DEV_MODE -eq 0 ] || \"vendor/bin/mozart\" compose",
"composer dump-autoload"
]
},
"config": {
Expand All @@ -40,5 +50,28 @@
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"extra": {
"mozart": {
"dep_namespace": "WeDevs\\DokanMigrator\\Dependencies\\",
"dep_directory": "/dependencies/",
"classmap_directory": "/dependencies/classes/",
"classmap_prefix": "Dokan_Migrator_",
"packages": [
"appsero/updater",
"appsero/client"
],
"excluded_packages": [
"psr/container"
],
"override_autoload": {
"google/apiclient": {
"classmap": [
"src/"
]
}
},
"delete_vendor_directories": true
}
}
}
}
Loading
Loading