-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
105 lines (105 loc) · 3.83 KB
/
composer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"name": "aoe/varnish",
"type": "typo3-cms-extension",
"description": "Enable varnish support with tags",
"homepage": "https://github.com/AOEpeople/TYPO3-varnish",
"support": {
"issues": "https://github.com/AOEpeople/TYPO3-varnish/issues"
},
"license": "GPL-3.0",
"authors": [
{
"name": "AOE GmbH",
"email": "[email protected]",
"homepage": "https://www.aoe.com/",
"role": "Developer"
}
],
"require": {
"php": "^8.0",
"guzzlehttp/guzzle": "^7.2",
"typo3/cms-core": "^11.5 || ^12.4",
"typo3/cms-frontend": "^11.5 || ^12.4",
"typo3/cms-backend": "^11.5 || ^12.4",
"typo3/cms-extbase": "^11.5 || ^12.4"
},
"require-dev": {
"typo3/testing-framework": "^7.0 || ^8.0",
"phpcompatibility/php-compatibility": "^9.3",
"phpstan/phpstan": "^1.10",
"rector/rector": "^1.0",
"symplify/easy-coding-standard": "12.1.14",
"symplify/phpstan-rules": "12.4.8"
},
"autoload": {
"psr-4": {
"Aoe\\Varnish\\": "Classes/"
}
},
"autoload-dev": {
"psr-4": {
"Aoe\\Varnish\\Tests\\": "Tests"
}
},
"config": {
"vendor-dir": ".Build/vendor",
"bin-dir": ".Build/bin",
"allow-plugins": {
"typo3/cms-composer-installers": true,
"typo3/class-alias-loader": true
}
},
"scripts": {
"post-autoload-dump": [
"mkdir -p .Build/Web/typo3conf/ext/",
"[ -L .Build/Web/typo3conf/ext/varnish ] || ln -snvf ../../../../. .Build/Web/typo3conf/ext/varnish"
],
"test:unit": [
"[ -e .Build/bin/phpunit ] || composer update",
"XDEBUG_MODE=coverage TYPO3_PATH_WEB=$PWD/.Build/Web .Build/bin/phpunit -c Tests/Unit/UnitTests.xml Tests/Unit"
],
"code-style": [
"[ -e ./.Build/bin/rector ] || composer install",
"./.Build/bin/ecs check --config code-quality/ecs.php",
"./.Build/bin/rector process --dry-run --config code-quality/rector.php"
],
"code-analysis": [
"./.Build/bin/phpstan analyse -c code-quality/phpstan.neon --memory-limit=1G"
],
"code-analysis--baseline": [
"./.Build/bin/phpstan analyse -c code-quality/phpstan.neon --memory-limit=1G --generate-baseline --allow-empty-baseline"
],
"code-compatibility": [
"[ -e ./.Build/vendor/symplify/easy-coding-standard/vendor/squizlabs/php_codesniffer/bin/phpcs ] || composer update",
"[ -d ./reports/php_checkstyle ] || mkdir -p reports/php_checkstyle/",
"./code-quality/configure-checkstyle.sh",
"./.Build/vendor/symplify/easy-coding-standard/vendor/squizlabs/php_codesniffer/bin/phpcs -d memory_limit=1G --standard=PHPCompatibility --colors --ignore=*/.Build/*,*.min.js -p . --runtime-set testVersion 8.0",
"./.Build/vendor/symplify/easy-coding-standard/vendor/squizlabs/php_codesniffer/bin/phpcs -d memory_limit=1G --standard=PHPCompatibility --colors --ignore=*/.Build/*,*.min.js -p . --runtime-set testVersion 8.3"
],
"code-check-pipeline": [
"@composer code-style",
"@composer code-analysis",
"@composer code-compatibility"
],
"extension-release": [
"rm -rf .Build",
"rm -rf code-quality",
"rm -rf Tests/",
"rm .gitignore",
"rm .scrutinizer.yml"
]
},
"extra": {
"branch-alias": {
"dev-main": "10-dev"
},
"typo3/cms": {
"cms-package-dir": "{$vendor-dir}/typo3/cms",
"web-dir": ".Build/Web",
"extension-key": "varnish"
}
},
"conflict": {
"opsone-ch/varnish": "*"
}
}