Files
nextcloud-app-api/composer.json
Alexander Piskun 9ce6fc33fa occ app_api:app:unregister rework (#127)
Fixes #121

- small actions clean up
- added basic but very useful tests for "occ app_api:app:unregister"

Changes in behaviour:

- container of app is always removed
- volume  with data is removed by default, but optionally can be kept
- app_api does not try to disable ExApp if it is already disabled
- "--silent" options now means "max silence as possible"
- added "--force" option to ignore errors if any.

---------

Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2023-11-26 12:21:31 +03:00

56 lines
1.6 KiB
JSON

{
"name": "nextcloud/app_api",
"description": "Nextcloud AppAPI provides a new API for external apps on different programming languages",
"type": "project",
"license": "AGPL-3.0-or-later",
"authors": [
{
"name": "Andrey Borysenko",
"email": "andrey18106x@gmail.com",
"homepage": "https://github.com/andrey18106"
},
{
"name": "Alexander Piskun",
"email": "bigcat88@icloud.com",
"homepage": "https://github.com/bigcat88"
}
],
"require-dev": {
"nextcloud/ocp": "dev-master",
"roave/security-advisories": "dev-latest",
"psalm/phar": "^5.15",
"nextcloud/coding-standard": "^1.1",
"friendsofphp/php-cs-fixer": "3.16"
},
"scripts": {
"lint": "find . -name \\*.php -not -path './vendor/*' -print0 | xargs -0 -n1 php -l",
"cs:check": "php-cs-fixer fix ./lib --dry-run --diff",
"cs:fix": "php-cs-fixer fix ./lib",
"psalm": "psalm.phar --threads=1",
"psalm:update-baseline": "psalm.phar --threads=1 --update-baseline",
"psalm:update-baseline:force": "psalm.phar --threads=1 --update-baseline --set-baseline=tests/psalm-baseline.xml",
"psalm:clear": "psalm.phar --clear-cache && psalm.phar --clear-global-cache",
"psalm:fix": "psalm.phar --alter --issues=InvalidReturnType,InvalidNullableReturnType,MissingParamType,InvalidFalsableReturnType"
},
"config": {
"optimize-autoloader": true,
"classmap-authoritative": true,
"platform": {
"php": "8.1"
}
},
"autoload": {
"psr-4": {
"OCA\\AppAPI\\": "lib/"
}
},
"autoload-dev": {
"psr-4": {
"OCP\\": "vendor/nextcloud/ocp/OCP"
}
},
"require": {
"ext-simplexml": "*"
}
}