aboutsummaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2023-12-06 16:37:46 +0100
committerFerdinand Thiessen <opensource@fthiessen.de>2023-12-06 16:37:46 +0100
commitb6df9b703ac5740ddc3803386331363f30b4fa20 (patch)
treebfbc254e02a9dd145aaf2dc34a5a758648d6fe58 /composer.json
parente1ecf798d9ccce0b5d0c1b90d6cd93e22c2d9588 (diff)
downloadnextcloud-server-b6df9b703ac5740ddc3803386331363f30b4fa20.tar.gz
nextcloud-server-b6df9b703ac5740ddc3803386331363f30b4fa20.zip
fix: Let git ignore composer dev dependencies
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json5
1 files changed, 3 insertions, 2 deletions
diff --git a/composer.json b/composer.json
index dcbd908c026..3082f5c7a4a 100644
--- a/composer.json
+++ b/composer.json
@@ -11,6 +11,7 @@
}
},
"autoload": {
+ "exclude-from-classmap": ["**/bamarni/composer-bin-plugin/**"],
"files": [
"lib/public/Log/functions.php"
],
@@ -48,11 +49,11 @@
"scripts": {
"post-install-cmd": [
"[ $COMPOSER_DEV_MODE -eq 0 ] || composer bin all install",
- "composer dump-autoload"
+ "composer dump-autoload --no-dev"
],
"post-update-cmd": [
"[ $COMPOSER_DEV_MODE -eq 0 ] || composer bin all update --ansi",
- "composer dump-autoload"
+ "composer dump-autoload --no-dev"
],
"cs:fix": "php-cs-fixer fix",
"cs:check": "php-cs-fixer fix --dry-run --diff",