chore(deps): Move tools into a Composer bin

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
Christoph Wurst 2023-02-10 15:18:19 +01:00
parent 26ea9098d6
commit e9d05ebf2d
No known key found for this signature in database
GPG Key ID: CC42AC2A7F0E56D8
9 changed files with 4424 additions and 3956 deletions

View File

@ -14,6 +14,40 @@ updates:
labels:
- 3 - to review
- dependencies
- package-ecosystem: composer
directory: "/vendor-bin/cs-fixer"
schedule:
interval: weekly
day: saturday
time: "03:00"
timezone: Europe/Paris
open-pull-requests-limit: 3
reviewers:
- "ChristophWurst"
- "st3iny"
labels:
- 3. to review
- dependencies
commit-message:
prefix: ci
include: scope
- package-ecosystem: composer
directory: "/vendor-bin/phpunit"
schedule:
interval: weekly
day: saturday
time: "03:00"
timezone: Europe/Paris
open-pull-requests-limit: 3
reviewers:
- "ChristophWurst"
- "st3iny"
labels:
- 3. to review
- dependencies
commit-message:
prefix: ci
include: scope
- package-ecosystem: npm
directory: "/"
schedule:

3
.gitignore vendored
View File

@ -62,7 +62,8 @@ build/.sass-cache/
### Composer ###
composer.phar
vendor/
/vendor/
/vendor-bin/*/vendor
# vim ex mode
.vimrc

View File

@ -30,4 +30,6 @@ src
stylelint.config.js
tests
timezones
/vendor/bin
/vendor-bin
webpack.*

View File

@ -6,7 +6,10 @@
"sort-packages": true,
"optimize-autoloader": true,
"classmap-authoritative": true,
"autoloader-suffix": "Calendar"
"autoloader-suffix": "Calendar",
"allow-plugins": {
"bamarni/composer-bin-plugin": true
}
},
"autoload": {
"psr-4": {
@ -14,17 +17,26 @@
}
},
"require": {
"php": ">=8.0 <=8.2"
},
"require-dev": {
"christophwurst/nextcloud_testing": "0.12.4",
"nextcloud/coding-standard": "^1.0.0"
"php": ">=8.0 <=8.2",
"bamarni/composer-bin-plugin": "^1.8"
},
"scripts": {
"cs:fix": "php-cs-fixer fix",
"cs:check": "php-cs-fixer fix --dry-run --diff",
"lint": "find . -name \\*.php -not -path './vendor/*' -not -path './tests/*' -print0 | xargs -0 -n1 php -l",
"test": "phpunit --configuration phpunit.unit.xml --fail-on-warning",
"test:dev": "phpunit --configuration phpunit.unit.xml --fail-on-warning --stop-on-error --stop-on-failure"
"test:dev": "phpunit --configuration phpunit.unit.xml --fail-on-warning --stop-on-error --stop-on-failure",
"post-install-cmd": [
"@composer bin all install --ansi"
],
"post-update-cmd": [
"@composer bin all update --ansi"
]
},
"extra": {
"bamarni-bin": {
"bin-links": true,
"forward-command": false
}
}
}

3981
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,11 @@
{
"config": {
"platform": {
"php": "8.0"
},
"sort-packages": true
},
"require-dev": {
"nextcloud/coding-standard": "^1.0"
}
}

2221
vendor-bin/cs-fixer/composer.lock generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,11 @@
{
"config": {
"platform": {
"php": "8.0"
},
"sort-packages": true
},
"require-dev": {
"christophwurst/nextcloud_testing": "^0.12.4"
}
}

2091
vendor-bin/phpunit/composer.lock generated Normal file

File diff suppressed because it is too large Load Diff