-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
139 lines (139 loc) · 6.87 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
{
"name": "aoe/aoe-dbsequenzer",
"type": "typo3-cms-extension",
"description": "With this extension you can ensure different unique keys for the configured tables.",
"homepage": "https://github.com/AOEpeople/aoe_dbsequenzer",
"support": {
"issues": "https://github.com/AOEpeople/aoe_dbsequenzer/issues"
},
"license": "GPL-3.0",
"authors": [
{
"name": "AOE GmbH",
"email": "[email protected]",
"homepage": "https://www.aoe.com/",
"role": "Developer"
}
],
"require": {
"php": "^8.0 || ^8.2 || ^8.3",
"ext-mysqli": "*",
"typo3/cms-core": "^11.5 || ^12.4",
"typo3/cms-extbase": "^11.5 || ^12.4",
"typo3/cms-sv": "^11.5 || ^12.4",
"typo3/cms-backend": "^11.5 || ^12.4",
"typo3/cms-reports": "^11.5 || ^12.4",
"typo3/cms-frontend": "^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": "13.0.0"
},
"replace": {
"typo3-ter/aoe-dbsequenzer": "self.version"
},
"autoload": {
"psr-4": {
"Aoe\\AoeDbSequenzer\\": "Classes"
}
},
"autoload-dev": {
"psr-4": {
"Aoe\\AoeDbSequenzer\\Tests\\": "Tests"
}
},
"config": {
"allow-plugins": {
"cweagans/composer-patches": true,
"typo3/cms-composer-installers": true,
"typo3/class-alias-loader": true
},
"vendor-dir": ".Build/vendor",
"bin-dir": ".Build/bin"
},
"scripts": {
"post-autoload-dump": [
"mkdir -p .Build/Web/typo3conf/ext/",
"[ -L .Build/Web/typo3conf/ext/aoe_dbsequenzer ] || ln -snvf ../../../../. .Build/Web/typo3conf/ext/aoe_dbsequenzer"
],
"test": [
"[ -e .Build/bin/phpunit ] || composer update",
"mkdir -p reports && rm -rf reports/*",
"mkdir -p .Build/Web/config/system && cp Tests/Unit/Fixtures/settings.php .Build/Web/config/system/settings.php",
"mkdir -p .Build/Web/typo3conf/ && cp Tests/Unit/Fixtures/LocalConfiguration.php .Build/Web/typo3conf/LocalConfiguration.php",
"XDEBUG_MODE=coverage TYPO3_PATH_WEB=$PWD/.Build/Web .Build/bin/phpunit -c Tests/Unit/UnitTests.xml Tests/Unit",
"XDEBUG_MODE=coverage TYPO3_PATH_WEB=$PWD/.Build/Web typo3DatabaseName=sequenzer typo3DatabaseHost=127.0.0.1 typo3DatabaseUsername=root typo3DatabasePassword=root .Build/bin/phpunit -c .Build/vendor/typo3/testing-framework/Resources/Core/Build/FunctionalTests.xml Tests/Functional",
"rm .Build/Web/config/system/settings.php",
"rm .Build/Web/typo3conf/LocalConfiguration.php"
],
"test:unit": [
"[ -e .Build/bin/phpunit ] || composer update",
"mkdir -p .Build/Web/config/system && cp Tests/Unit/Fixtures/settings.php .Build/Web/config/system/settings.php",
"mkdir -p .Build/Web/typo3conf/ && cp Tests/Unit/Fixtures/LocalConfiguration.php .Build/Web/typo3conf/LocalConfiguration.php",
"XDEBUG_MODE=coverage TYPO3_PATH_WEB=$PWD/.Build/Web .Build/bin/phpunit -c Tests/Unit/UnitTests.xml Tests/Unit",
"rm .Build/Web/config/system/settings.php",
"rm .Build/Web/typo3conf/LocalConfiguration.php"
],
"test:unit-filter": [
"[ -e .Build/bin/phpunit ] || composer update",
"mkdir -p .Build/Web/config/system && cp Tests/Unit/Fixtures/settings.php .Build/Web/config/system/settings.php",
"mkdir -p .Build/Web/typo3conf/ && cp Tests/Unit/Fixtures/LocalConfiguration.php .Build/Web/typo3conf/LocalConfiguration.php",
"XDEBUG_MODE=coverage TYPO3_PATH_WEB=$PWD/.Build/Web .Build/bin/phpunit -c Tests/Unit/UnitTests.xml Tests/Unit --filter Typo3ServiceTest",
"rm .Build/Web/config/system/settings.php",
"rm .Build/Web/typo3conf/LocalConfiguration.php"
],
"test:functional": [
"[ -e .Build/bin/phpunit ] || composer update",
"XDEBUG_MODE=coverage TYPO3_PATH_WEB=$PWD/.Build/Web typo3DatabaseName=sequenzer typo3DatabaseHost=127.0.0.1 typo3DatabaseUsername=root typo3DatabasePassword=root .Build/bin/phpunit -c Tests/Functional/FunctionalTests.xml Tests/Functional"
],
"test:functional-filter": [
"[ -e .Build/bin/phpunit ] || composer update",
"XDEBUG_MODE=coverage TYPO3_PATH_ROOT=$PWD/.Build/Web typo3DatabaseName=sequenzer typo3DatabaseHost=127.0.0.1 typo3DatabaseUsername=root typo3DatabasePassword=root .Build/bin/phpunit -c Tests/Functional/FunctionalTests.xml Tests/Functional --filter SequenzerTest"
],
"test:coverage": [
"[ -e .Build/bin/phpunit ] || composer update",
"mkdir -p reports && rm -rf reports/*",
"TYPO3_PATH_WEB=$PWD/.Build/Web typo3DatabaseName=sequenzer typo3DatabaseHost=127.0.0.1 typo3DatabaseUsername=root typo3DatabasePassword=root .Build/bin/phpunit --coverage-filter Classes --coverage-html=reports -c .Build/vendor/typo3/testing-framework/Resources/Core/Build/FunctionalTests.xml Tests"
],
"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"
],
"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/* -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/* -p . --runtime-set testVersion 8.1",
"./.Build/vendor/symplify/easy-coding-standard/vendor/squizlabs/php_codesniffer/bin/phpcs -d memory_limit=1G --standard=PHPCompatibility --colors --ignore=*/.Build/* -p . --runtime-set testVersion 8.2",
"./.Build/vendor/symplify/easy-coding-standard/vendor/squizlabs/php_codesniffer/bin/phpcs -d memory_limit=1G --standard=PHPCompatibility --colors --ignore=*/.Build/* -p . --runtime-set testVersion 8.3"
],
"code-check-pipeline": [
"@composer code-style",
"@composer code-analysis",
"@composer code-compatibility"
],
"extension-release": [
"@composer install --no-dev",
"rm -rf .github .Build code-quality Tests .gitignore scrutinizer.yml disabled.travis.yml"
]
},
"extra": {
"typo3/cms": {
"cms-package-dir": "{$vendor-dir}/typo3/cms",
"web-dir": ".Build/Web",
"extension-key": "aoe_dbsequenzer"
}
}
}