forked from tomasnorre/crawler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
216 lines (216 loc) · 7.99 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
216
{
"name": "tomasnorre/crawler",
"description": "Crawler extension for TYPO3",
"license": "GPL-3.0",
"type": "typo3-cms-extension",
"authors": [
{
"name": "Tomas Norre Mikkelsen",
"email": "[email protected]",
"role": "Developer"
}
],
"homepage": "https://github.com/tomasnorre/crawler",
"support": {
"docs": "https://docs.typo3.org/p/tomasnorre/crawler/main/en-us/",
"issues": "https://github.com/tomasnorre/crawler/issues",
"source": "https://github.com/tomasnorre/crawler/",
"chat": "https://typo3.slack.com/archives/C087NGBKM"
},
"require": {
"php": "~8.1.0 || ~8.2.0",
"ext-json": "*",
"ext-pdo": "*",
"beberlei/assert": "^3.3",
"guzzlehttp/guzzle": "^6.4.1 || ^7.2",
"psr/http-message": "^1.0",
"psr/log": "^1.0 || ^2.0 || ^3.0",
"symfony/console": "^5.0 || ^6.1",
"typo3/cms-backend": "^12.4",
"typo3/cms-core": "^12.4",
"typo3/cms-frontend": "^12.4",
"typo3/cms-info": "^12.4",
"typo3/cms-seo": "^12.4"
},
"require-dev": {
"codeception/codeception": "^5.0",
"codeception/module-asserts": "^3.0",
"codeception/module-filesystem": "^3.0",
"codeception/module-phpbrowser": "^3.0",
"codeception/module-webdriver": "^3.0",
"infection/infection": "^0.26",
"nikic/php-parser": "^4.13",
"phpspec/prophecy-phpunit": "^2.0",
"phpstan/extension-installer": "^1.2",
"phpstan/phpstan": "^1.9",
"phpstan/phpstan-deprecation-rules": "^1.0",
"phpunit/phpunit": "^10.0",
"roave/security-advisories": "dev-latest",
"saschaegerer/phpstan-typo3": "^1.8",
"sbuerk/typo3-cmscomposerinstallers-testingframework-bridge": "^0.0.1",
"slam/phpstan-extensions": "^6.0",
"ssch/typo3-rector": "^1.1",
"symfony/yaml": "^4.4 || ^5.0 || ^6.1",
"symplify/easy-coding-standard": "11.1.16",
"symplify/phpstan-rules": "^11.1",
"tomasvotruba/cognitive-complexity": "^0.0.5",
"tomasvotruba/type-coverage": "^0.0.9",
"typo3/testing-framework": "^8.0"
},
"replace": {
"aoepeople/crawler": "self.version",
"typo3-ter/crawler": "self.version"
},
"suggest": {
"typo3/cms-seo": "Enables the posibility to priorities your Crawler Queue + You have seo features in the CMS it self."
},
"repositories": [
{
"type": "git",
"url": "https://github.com/symplify/phpstan-rules"
}
],
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-4": {
"AOE\\Crawler\\": "Classes"
}
},
"autoload-dev": {
"psr-4": {
"AOE\\Crawler\\Tests\\": "Tests",
"TYPO3\\CMS\\Core\\Tests\\": ".Build/Web/typo3/sysext/core/Tests"
}
},
"config": {
"allow-plugins": {
"composer/package-versions-deprecated": true,
"infection/extension-installer": true,
"phpstan/extension-installer": true,
"typo3/class-alias-loader": true,
"typo3/cms-composer-installers": true,
"sbuerk/typo3-cmscomposerinstallers-testingframework-bridge": true,
"cweagans/composer-patches": false
},
"bin-dir": ".Build/bin",
"preferred-install": {
"*": "dist",
"typo3/cms-core": "source"
},
"process-timeout": 0,
"sort-packages": true,
"vendor-dir": ".Build/vendor"
},
"extra": {
"branch-alias": {
"dev-main": "12.0.x-dev"
},
"typo3/cms": {
"extension-key": "crawler",
"web-dir": ".Build/Web"
}
},
"scripts": {
"post-autoload-dump": [
"mkdir -p .Build/Web/typo3conf/ext/",
"[ -L .Build/Web/typo3conf/ext/crawler ] || ln -snvf ../../../../. .Build/Web/typo3conf/ext/crawler",
"export TYPO3_PATH_WEB=$PWD/.Build/Web",
"@extension-create-libs"
],
"analyse": [
"[ -e .Build/bin/phpstan ] || composer update",
".Build/bin/phpstan analyse"
],
"cs-fix": [
"[ -e .Build/bin/ecs ] || composer update",
".Build/bin/ecs check"
],
"extension-create-libs": [
"@composer install -d Resources/Private/Php/Libraries"
],
"extension-release": [
"@extension-create-libs",
"rm -rf .devbox",
"rm -rf Build",
"rm -rf Tests/",
"rm -f .gitignore",
"rm -f .scrutinizer.yml",
"rm -f infection.json.dist",
"rm -f phpstan.neon",
"rm -f phpstan-baseline.neon",
"rm -f ecs.php",
"rm -f rector-ci.php",
"rm -f sonar-project.properties",
"rm -f psalm.xml",
"rm -f psalm-baseline.xml",
"rm -f codeception.yml",
"rm -f crowdin.yml"
],
"phpstan-baseline": [
"[ -e .Build/bin/phpstan ] || composer update",
".Build/bin/phpstan analyse --generate-baseline"
],
"psalm": [
"[ -e tools/psalm ] || phive install",
"tools/psalm"
],
"rector": [
"[ -e .Build/bin/rector ] || composer update",
".Build/bin/rector process --dry-run --config rector-ci.php"
],
"roave-bcb": [
"docker run --rm -v `pwd`:/app nyholm/roave-bc-check --from=HEAD~1"
],
"static": [
"@analyse",
"@psalm",
"@cs-fix",
"@rector"
],
"test:acceptance": [
"[ -e .Build/bin/codecept ] || composer update",
".Build/bin/codecept clean",
".Build/bin/codecept run --env=local"
],
"test:all": [
"@test:unit",
"@test:functional",
"@test:functional-sqlite",
"@test:acceptance"
],
"test:functional": [
"@test:reset-vars",
"@extension-create-libs",
"[ -e .Build/bin/phpunit ] || composer update",
"TYPO3_PATH_WEB=$PWD/.Build/Web typo3DatabaseName=crawler 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"
],
"test:functional-postgre": [
"@test:reset-vars",
"@extension-create-libs",
"[ -e .Build/bin/phpunit ] || composer update",
"TYPO3_PATH_WEB=$PWD/.Build/Web typo3DatabaseDriver=pdo_pgsql typo3DatabaseName=crawler 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"
],
"test:functional-sqlite": [
"@test:reset-vars",
"@extension-create-libs",
"[ -e .Build/bin/phpunit ] || composer update",
"TYPO3_PATH_WEB=$PWD/.Build/Web typo3DatabaseDriver=pdo_sqlite typo3DatabaseName=test .Build/bin/phpunit -c .Build/vendor/typo3/testing-framework/Resources/Core/Build/FunctionalTests.xml Tests/Functional"
],
"test:mutation": [
"[ -e .Build/bin/infection ] || composer update",
"XDEBUG_MODE=coverage .Build/bin/infection --threads=8"
],
"test:reset-vars": [
"export typo3DatabaseName=''",
"export typo3DatabaseHost=''",
"export typo3DatabaseUsername=''",
"export typo3DatabasePassword=''",
"export typo3DatabaseDriver=''"
],
"test:unit": [
"[ -e .Build/bin/phpunit ] || composer update",
"TYPO3_PATH_WEB=.Build/Web .Build/bin/phpunit --colors -c .Build/vendor/typo3/testing-framework/Resources/Core/Build/UnitTests.xml Tests/Unit"
]
}
}