Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/external.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-07-11 14:26:45 +0300
committerJoas Schilling <coding@schilljs.com>2022-10-10 17:56:34 +0300
commitb65501714e1a0ede9402e551ebb3bd3694d19609 (patch)
tree537f28ecffea48a27ef93a2458810a7338e6219d /composer.json
parentf626785ad8fff11baf29980fa3a966acc1c09b3c (diff)
Implement JWT tokens for external site links
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json52
1 files changed, 42 insertions, 10 deletions
diff --git a/composer.json b/composer.json
index 5c83b92..3bb77ea 100644
--- a/composer.json
+++ b/composer.json
@@ -1,10 +1,17 @@
{
+ "autoload": {
+ "psr-4": {
+ "OCA\\External\\\\": "lib/"
+ }
+ },
+ "autoload-dev": {
+ "psr-4": {
+ "OCP\\": "vendor/nextcloud/ocp/OCP"
+ }
+ },
"require-dev": {
- "nextcloud/coding-standard": "^1",
- "vimeo/psalm": "^4.24",
- "php-parallel-lint/php-parallel-lint": "^1.2",
- "phpunit/phpunit": "^9.5",
- "nextcloud/ocp": "dev-master"
+ "nextcloud/ocp": "dev-master",
+ "roave/security-advisories": "dev-latest"
},
"scripts": {
"lint": "find . -name \\*.php -not -path './vendor/*' -print0 | xargs -0 -n1 php -l",
@@ -13,19 +20,44 @@
"psalm": "psalm --threads=1",
"psalm:update-baseline": "psalm --threads=1 --update-baseline",
"psalm:clear": "psalm --clear-cache && psalm --clear-global-cache",
- "psalm:fix": "psalm --alter --issues=InvalidReturnType,InvalidNullableReturnType,MissingParamType,InvalidFalsableReturnType"
+ "psalm:fix": "psalm --alter --issues=InvalidReturnType,InvalidNullableReturnType,MissingParamType,InvalidFalsableReturnType",
+ "post-install-cmd": [
+ "@composer bin all install --ansi",
+ "\"vendor/bin/mozart\" compose",
+ "composer dump-autoload"
+ ],
+ "post-update-cmd": [
+ "@composer bin all update --ansi",
+ "\"vendor/bin/mozart\" compose",
+ "composer dump-autoload"
+ ]
},
"config": {
"allow-plugins": {
+ "bamarni/composer-bin-plugin": true,
"composer/package-versions-deprecated": true
},
+ "autoloader-suffix": "Talk",
+ "classmap-authoritative": true,
+ "optimize-autoloader": true,
"platform": {
"php": "7.4"
- }
+ },
+ "sort-packages": true
},
- "autoload-dev": {
- "psr-4": {
- "OCP\\": "vendor/nextcloud/ocp/OCP"
+ "extra": {
+ "mozart": {
+ "dep_namespace": "OCA\\External\\Vendor\\",
+ "dep_directory": "/lib/Vendor/",
+ "classmap_directory": "/lib/autoload/",
+ "classmap_prefix": "NEXTCLOUDEXTERNALSITES_",
+ "packages": [
+ "firebase/php-jwt"
+ ]
}
+ },
+ "require": {
+ "bamarni/composer-bin-plugin": "^1.8",
+ "firebase/php-jwt": "^6.3"
}
}