mirror of https://github.com/nextcloud/calendar
chore(deps): Move tools into a Composer bin
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
parent
26ea9098d6
commit
e9d05ebf2d
|
@ -14,6 +14,40 @@ updates:
|
||||||
labels:
|
labels:
|
||||||
- 3 - to review
|
- 3 - to review
|
||||||
- dependencies
|
- 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
|
- package-ecosystem: npm
|
||||||
directory: "/"
|
directory: "/"
|
||||||
schedule:
|
schedule:
|
||||||
|
|
|
@ -62,7 +62,8 @@ build/.sass-cache/
|
||||||
|
|
||||||
### Composer ###
|
### Composer ###
|
||||||
composer.phar
|
composer.phar
|
||||||
vendor/
|
/vendor/
|
||||||
|
/vendor-bin/*/vendor
|
||||||
|
|
||||||
# vim ex mode
|
# vim ex mode
|
||||||
.vimrc
|
.vimrc
|
||||||
|
|
|
@ -30,4 +30,6 @@ src
|
||||||
stylelint.config.js
|
stylelint.config.js
|
||||||
tests
|
tests
|
||||||
timezones
|
timezones
|
||||||
|
/vendor/bin
|
||||||
|
/vendor-bin
|
||||||
webpack.*
|
webpack.*
|
||||||
|
|
|
@ -6,7 +6,10 @@
|
||||||
"sort-packages": true,
|
"sort-packages": true,
|
||||||
"optimize-autoloader": true,
|
"optimize-autoloader": true,
|
||||||
"classmap-authoritative": true,
|
"classmap-authoritative": true,
|
||||||
"autoloader-suffix": "Calendar"
|
"autoloader-suffix": "Calendar",
|
||||||
|
"allow-plugins": {
|
||||||
|
"bamarni/composer-bin-plugin": true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
|
@ -14,17 +17,26 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=8.0 <=8.2"
|
"php": ">=8.0 <=8.2",
|
||||||
},
|
"bamarni/composer-bin-plugin": "^1.8"
|
||||||
"require-dev": {
|
|
||||||
"christophwurst/nextcloud_testing": "0.12.4",
|
|
||||||
"nextcloud/coding-standard": "^1.0.0"
|
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"cs:fix": "php-cs-fixer fix",
|
"cs:fix": "php-cs-fixer fix",
|
||||||
"cs:check": "php-cs-fixer fix --dry-run --diff",
|
"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",
|
"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": "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
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,11 @@
|
||||||
|
{
|
||||||
|
"config": {
|
||||||
|
"platform": {
|
||||||
|
"php": "8.0"
|
||||||
|
},
|
||||||
|
"sort-packages": true
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"nextcloud/coding-standard": "^1.0"
|
||||||
|
}
|
||||||
|
}
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,11 @@
|
||||||
|
{
|
||||||
|
"config": {
|
||||||
|
"platform": {
|
||||||
|
"php": "8.0"
|
||||||
|
},
|
||||||
|
"sort-packages": true
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"christophwurst/nextcloud_testing": "^0.12.4"
|
||||||
|
}
|
||||||
|
}
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue