-
Notifications
You must be signed in to change notification settings - Fork 11
/
composer.json
215 lines (207 loc) · 10.9 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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
{
"name": "dkd/apache-solr-for-typo3-dev-distribution",
"description": "TYPO3 CMS Base Distribution for EXT:solr* development and testing.",
"license": "GPL-2.0-or-later",
"type": "project",
"repositories": {
"local-project": {
"type": "path",
"url": "packages/*",
"options": {
"reference": "none",
"versions": {
"apache-solr-for-typo3/introduction-news": "13.0",
"apache-solr-for-typo3/introduction-solrconsole": "13.0",
"apache-solr-for-typo3/introduction-solrdebugtools": "13.0",
"apache-solr-for-typo3/introduction-solrfal": "13.0",
"apache-solr-for-typo3/php-solr-explain": "2.0.0",
"apache-solr-for-typo3/solr": "13.0",
"apache-solr-for-typo3/solrconsole": "13.0",
"apache-solr-for-typo3/solrdebugtools": "13.0",
"apache-solr-for-typo3/solrfal": "13.0",
"apache-solr-for-typo3/solrfheadless": "13.0",
"apache-solr-for-typo3/solrmlt": "13.0",
"apache-solr-for-typo3/tika": "13.0",
"dkd/apache-solr-for-typo3-sitepackage": "13.0"
}
}
}
},
"config": {
"allow-plugins": true,
"platform": {
"php": "8.2"
},
"sort-packages": true,
"preferred-install": {
"typo3/cms-core": "source",
"*": "dist"
}
},
"require": {
"ext-dom": "*",
"ext-json": "*",
"ext-libxml": "*",
"ext-pdo": "*",
"ext-simplexml": "*",
"apache-solr-for-typo3/solr": "13.0",
"bk2k/bootstrap-package": "^15.0.0",
"dkd/apache-solr-for-typo3-sitepackage": "13.0",
"helhum/typo3-console": "dev-main",
"typo3/cms-about": "13.4.x-dev",
"typo3/cms-adminpanel": "13.4.x-dev",
"typo3/cms-backend": "13.4.x-dev",
"typo3/cms-belog": "13.4.x-dev",
"typo3/cms-beuser": "13.4.x-dev",
"typo3/cms-core": "13.4.x-dev",
"typo3/cms-extbase": "13.4.x-dev",
"typo3/cms-extensionmanager": "13.4.x-dev",
"typo3/cms-felogin": "13.4.x-dev",
"typo3/cms-filelist": "13.4.x-dev",
"typo3/cms-filemetadata": "13.4.x-dev",
"typo3/cms-fluid": "13.4.x-dev",
"typo3/cms-fluid-styled-content": "13.4.x-dev",
"typo3/cms-form": "13.4.x-dev",
"typo3/cms-frontend": "13.4.x-dev",
"typo3/cms-impexp": "13.4.x-dev",
"typo3/cms-info": "13.4.x-dev",
"typo3/cms-install": "13.4.x-dev",
"typo3/cms-lowlevel": "13.4.x-dev",
"typo3/cms-recordlist": "13.4.x-dev",
"typo3/cms-redirects": "13.4.x-dev",
"typo3/cms-reports": "13.4.x-dev",
"typo3/cms-rte-ckeditor": "13.4.x-dev",
"typo3/cms-scheduler": "13.4.x-dev",
"typo3/cms-seo": "13.4.x-dev",
"typo3/cms-setup": "13.4.x-dev",
"typo3/cms-sys-note": "13.4.x-dev",
"typo3/cms-t3editor": "13.4.x-dev",
"typo3/cms-tstemplate": "13.4.x-dev",
"typo3/cms-viewpage": "13.4.x-dev"
},
"require-dev": {
"dg/bypass-finals": "^1.6",
"phpstan/phpstan": "^1.10",
"phpstan/phpstan-phpunit": "^1.3",
"phpunit/phpunit": "^11.4",
"typo3/coding-standards": "v0.8.0",
"typo3/testing-framework": "^9.0.1"
},
"autoload-dev": {
"psr-4": {
"TYPO3\\CMS\\Core\\Tests\\": "vendor/typo3/cms-core/Tests",
"ApacheSolrForTypo3\\Solr\\Tests\\": "packages/ext-solr/Tests/",
"ApacheSolrForTypo3\\Solrconsole\\Tests\\": "packages/ext-solrconsole/Tests/",
"ApacheSolrForTypo3\\Solrdebugtools\\Tests\\": "packages/ext-solrdebugtools/Tests/",
"ApacheSolrForTypo3\\SolrExplain\\Tests\\": "packages/php-solr-explain/Tests/",
"ApacheSolrForTypo3\\FakeExtension\\": "packages/ext-solr/Tests/Integration/Fixtures/Extensions/fake_extension/Classes/",
"ApacheSolrForTypo3\\SolrFakeExtension2\\": "packages/ext-solr/Tests/Integration/Fixtures/Extensions/fake_extension2/Classes/",
"ApacheSolrForTypo3\\SolrFakeExtension3\\": "packages/ext-solr/Tests/Integration/Fixtures/Extensions/fake_extension3/Classes/",
"ApacheSolrForTypo3\\Solrfal\\Tests\\": "packages/ext-solrfal/Tests/",
"ApacheSolrForTypo3\\SolrfalFakeExtensionPageContextDetection\\": "packages/ext-solrfal/Tests/Integration/Fixtures/Extensions/fake_extension_pagecontextdetection/Classes/",
"ApacheSolrForTypo3\\Solrfluidgrouping\\Tests\\": "packages/ext-solrfluidgrouping/Tests/",
"ApacheSolrForTypo3\\Solrheadless\\Tests\\": "packages/ext-solrheadless/Tests/",
"ApacheSolrForTypo3\\Solrmlt\\Tests\\": "packages/ext-solrmlt/Tests/",
"ApacheSolrForTypo3\\Tika\\Tests\\": "packages/ext-tika/Tests/"
}
},
"scripts-descriptions": {
"tests:cleanup-artefacts": "Removes all artefacts caused by tests:* commands inside packages.",
"tests:env": "Checks the requierements in environment for tests. (Internal check for tests:setup)",
"tests:setup": "Installs composer dependencies, requiered for tests.",
"tests:setup:global-require": "Installs global composer dependencies. Those are moved to global, to avoid collisions and downgrades on libs.",
"tests:solr:integration": "Runs integration tests on EXT:solr",
"tests:solr:phpstan": "Runs PHPStan analys on EXT:solr",
"tests:solr:rector": "Fixes/refactors the code from EXT:solr with rector",
"tests:solr:rector-check": "Checks if something can be refatored with rector on EXT:solr",
"tests:solr:unit": "Runs unit tests on EXT:solr",
"tests:solrfal:integration": "Runs integration tests on EXT:solrfal",
"tests:solrfal:phpstan": "Runs PHPStan analys on EXT:solrfal",
"tests:solrfal:rector": "Fixes/refactors the code from EXT:solrfal with rector",
"tests:solrfal:rector-check": "Checks if something can be refatored with rector on EXT:solrfal",
"tests:solrfal:unit": "Runs unit tests on EXT:solrfal",
"tests:tika:integration": "Runs integration tests on EXT:tika",
"tests:tika:phpstan": "Runs PHPStan analys on EXT:tika",
"tests:tika:rector": "Fixes/refactors the code from EXT:tika with rector",
"tests:tika:rector-check": "Checks if something can be refatored with rector on EXT:tika",
"tests:tika:unit": "Runs unit tests on EXT:tika"
},
"scripts": {
"typo3-cms-scripts": [
"[ -f ./config/system/settings.php ] || typo3 setup --no-interaction --driver=${TYPO3_INSTALL_DB_DRIVER} --username=${TYPO3_INSTALL_DB_USER} --password=${TYPO3_INSTALL_DB_PASSWORD} --host=${TYPO3_INSTALL_DB_HOST} --port=${TYPO3_INSTALL_DB_PORT} --dbname=${TYPO3_INSTALL_DB_DBNAME} --admin-username=${TYPO3_INSTALL_ADMIN_USER} --admin-email=\"[email protected]\" --admin-user-password=${TYPO3_INSTALL_ADMIN_PASSWORD} --project-name=\"EXT:solr dev environment\" --server-type=\"other\"",
"typo3 extension:setup",
"typo3 cache:flush"
],
"t3:import-not-exportable-by-impexp-once": [
"./packages/apache_solr_for_typo3_sitepackage/Initialisation/not_covered_by_impexp.sh"
],
"sitepackage-scripts": [
"composer run setup -d ./packages/apache_solr_for_typo3_sitepackage"
],
"post-autoload-dump": [
"@typo3-cms-scripts",
"@t3:import-not-exportable-by-impexp-once",
"@sitepackage-scripts"
],
"t3:standards:fix": "php-cs-fixer fix",
"tests:env": [
"if [ -z ${TYPO3_VERSION+x} ]; then >&2 echo \"Can not proceed, because env var TYPO3_VERSION is not set\"; exit 1; else echo \"Setup test environment for TYPO3 ${TYPO3_VERSION}\"; fi",
"if [ -z ${TIKA_PATH+x} ]; then echo \"Can not proceed, because env var TIKA_PATH is not set\"; exit 1; fi",
"if echo $TYPO3_VERSION | grep -q \"dev\"; then $COMPOSER_BINARY config minimum-stability dev; fi"
],
"tests:cleanup-artefacts": [
"/bin/bash -c 'rm -Rf packages/*/{.Build,.*.cache,*.cache,composer.lock,var}'"
],
"tests:setup": [
"@composer install"
],
"tests:solr:unit": [
"phpunit --configuration packages/ext-solr/Build/Test/UnitTests.xml --bootstrap=vendor/typo3/testing-framework/Resources/Core/Build/UnitTestsBootstrap.php --colors"
],
"tests:solr:integration": [
"Composer\\Config::disableProcessTimeout",
"phpunit --configuration packages/ext-solr/Build/Test/IntegrationTests.xml --bootstrap=vendor/typo3/testing-framework/Resources/Core/Build/FunctionalTestsBootstrap.php --colors"
],
"tests:solr:phpstan": [
"phpstan analyze -c packages/ext-solr/Build/Test/phpstan.neon -- packages/ext-solr/Classes packages/ext-solr/Tests"
],
"tests:solr:rector": [
"rector process --config=rector.php --autoload-file=vendor/autoload.php --clear-cache packages/ext-solr"
],
"tests:solr:rector-check": [
"rector process --config=rector.php --autoload-file=vendor/autoload.php --clear-cache --dry-run packages/ext-solr"
],
"tests:solrfal:unit": [
"phpunit --configuration=packages/ext-solrfal/Build/Test/UnitTests.xml --bootstrap=vendor/typo3/testing-framework/Resources/Core/Build/UnitTestsBootstrap.php --colors"
],
"tests:solrfal:integration": [
"Composer\\Config::disableProcessTimeout",
"phpunit --configuration packages/ext-solrfal/Build/Test/IntegrationTests.xml --bootstrap=vendor/typo3/testing-framework/Resources/Core/Build/FunctionalTestsBootstrap.php --colors"
],
"tests:solrfal:phpstan": [
"phpstan analyze -c packages/ext-solrfal/Build/Test/phpstan.neon -- packages/ext-solrfal/Classes packages/ext-solrfal/Tests"
],
"tests:solrfal:rector": [
"rector process --config=rector.php --autoload-file=vendor/autoload.php --clear-cache packages/ext-solrfal"
],
"tests:solrfal:rector-check": [
"rector process --config=rector.php --autoload-file=vendor/autoload.php --clear-cache --dry-run packages/ext-solrfal"
],
"tests:tika:unit": [
"phpunit --configuration packages/ext-tika/Build/Test/UnitTests.xml --bootstrap=vendor/typo3/testing-framework/Resources/Core/Build/UnitTestsBootstrap.php --colors"
],
"tests:tika:integration": [
"Composer\\Config::disableProcessTimeout",
"phpunit --configuration packages/ext-tika/Build/Test/IntegrationTests.xml --bootstrap=vendor/typo3/testing-framework/Resources/Core/Build/FunctionalTestsBootstrap.php --colors"
],
"tests:tika:phpstan": [
"phpstan analyze -c packages/ext-tika/Build/Test/phpstan.neon -- packages/ext-tika/Classes packages/ext-tika/Tests"
],
"tests:tika:rector": [
"rector process --config=rector.php --autoload-file=vendor/autoload.php --clear-cache packages/ext-tika"
],
"tests:tika:rector-check": [
"rector process --config=rector.php --autoload-file=vendor/autoload.php --clear-cache --dry-run packages/ext-tika"
]
}
}