Repository navigation
Expand file tree
/
Copy pathcomposer.json
More file actions
182 lines (182 loc) · 8.25 KB
/
Copy pathcomposer.json
File metadata and controls
182 lines (182 loc) · 8.25 KB
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
{
"name": "ibexa/documentation-developer",
"description": "Ibexa DXP developer documentation as Markdown files, for offline reading and AI coding assistants working inside your project.",
"type": "library",
"keywords": ["ibexa", "ibexa-dxp", "documentation", "markdown", "llm", "ai", "agents"],
"license": "GNU General Public License v2.0",
"autoload-dev": {
"psr-4": {
"Ibexa\\Tests\\Documentation\\": "tests/"
}
},
"repositories": [
{
"type": "composer",
"url": "https://updates.ibexa.co"
}
],
"require": {
"php": "^8.3"
},
"require-dev": {
"phpunit/phpunit": "^11.0",
"symfony/yaml": "^7.0",
"ibexa/connector-gemini": "5.0.x-dev",
"ibexa/automated-translation": "5.0.x-dev",
"ibexa/code-style": "~2.0.0",
"friendsofphp/php-cs-fixer": "^3.30",
"phpstan/phpstan": "^2.0",
"phpstan/phpstan-symfony": "^2.0",
"ibexa/doctrine-schema": "5.0.x-dev",
"ibexa/search": "5.0.x-dev",
"ibexa/content-forms": "5.0.x-dev",
"ibexa/design-engine": "5.0.x-dev",
"ibexa/user": "5.0.x-dev",
"ibexa/notifications": "5.0.x-dev",
"ibexa/product-catalog-date-time-attribute": "5.0.x-dev",
"ibexa/fieldtype-richtext": "5.0.x-dev",
"ibexa/rector": "5.0.x-dev",
"ibexa/rest": "5.0.x-dev",
"ibexa/http-cache": "5.0.x-dev",
"ibexa/core-persistence": "5.0.x-dev",
"ibexa/connector-ai": "5.0.x-dev",
"ibexa/connector-openai": "5.0.x-dev",
"ibexa/mcp": "5.0.x-dev",
"ibexa/migrations": "5.0.x-dev",
"ibexa/cart": "5.0.x-dev",
"ibexa/installer": "5.0.x-dev",
"ibexa/product-catalog": "5.0.x-dev",
"ibexa/graphql": "5.0.x-dev",
"ibexa/personalization": "5.0.x-dev",
"ibexa/taxonomy": "5.0.x-dev",
"ibexa/scheduler": "5.0.x-dev",
"ibexa/cron": "5.0.x-dev",
"ibexa/dashboard": "5.0.x-dev",
"ibexa/corporate-account": "5.0.x-dev",
"ibexa/fieldtype-address": "5.0.x-dev",
"ibexa/segmentation": "5.0.x-dev",
"ibexa/fieldtype-page": "5.0.x-dev",
"ibexa/page-builder": "5.0.x-dev",
"ibexa/order-management": "5.0.x-dev",
"ibexa/calendar": "5.0.x-dev",
"ibexa/payment": "~5.0.x-dev",
"ibexa/shipping": "5.0.x-dev",
"ibexa/fieldtype-matrix": "5.0.x-dev",
"ibexa/storefront": "5.0.x-dev",
"ibexa/seo": "5.0.x-dev",
"ibexa/core": "5.0.x-dev",
"ibexa/admin-ui": "5.0.x-dev",
"ibexa/activity-log": "5.0.x-dev",
"ibexa/workflow": "5.0.x-dev",
"ibexa/checkout": "5.0.x-dev",
"ibexa/elasticsearch": "5.0.x-dev",
"ibexa/oauth2-client": "5.0.x-dev",
"ibexa/oauth2-server": "5.0.x-dev",
"ibexa/form-builder": "5.0.x-dev",
"ibexa/solr": "5.0.x-dev",
"ibexa/version-comparison": "5.0.x-dev",
"league/oauth2-google": "^4.0",
"ibexa/connector-dam": "~5.0.x-dev",
"ibexa/twig-components": "~5.0.x-dev",
"ibexa/tree-builder": "~5.0.x-dev",
"ibexa/discounts": "~5.0.x-dev",
"ibexa/discounts-codes": "~5.0.x-dev",
"ibexa/core-search": "~5.0.x-dev",
"ibexa/product-catalog-symbol-attribute": "~5.0.x-dev",
"ibexa/messenger": "~5.0.x-dev",
"ibexa/collaboration": "~5.0.x-dev",
"ibexa/share": "~5.0.x-dev",
"ibexa/phpstan": "~5.0.-dev",
"ibexa/connector-quable": "5.0.x-dev",
"ibexa/shopping-list": "~5.0.x-dev",
"deptrac/deptrac": "^3.0",
"ibexa/cdp": "~5.0.x-dev",
"ibexa/connector-raptor": "~5.0.x-dev",
"ibexa/image-editor": "~5.0.x-dev",
"ibexa/integrated-help": "~5.0.x-dev",
"ibexa/translations-management": "~5.0.x-dev",
"ibexa/site-context": "~5.0.x-dev",
"ibexa/fieldtype-richtext-rte": "~5.0.x-dev",
"ibexa/site-factory": "~5.0.x-dev",
"ibexa/ckeditor-premium": "~5.0.x-dev",
"ibexa/measurement": "~5.0.x-dev",
"ibexa/connector-actito": "~5.0.x-dev",
"ibexa/fastly": "~5.0.x-dev",
"ibexa/connect": "~5.0.x-dev",
"ibexa/connector-qualifio": "~5.0.x-dev"
},
"scripts": {
"fix-cs": [
"php tools/extract-inline-php.php",
"php-cs-fixer fix --config=.php-cs-fixer.php -v --show-progress=dots",
"php-cs-fixer fix --config=.php-cs-fixer-inline.php -v --show-progress=dots",
"php tools/sync-inline-php-to-markdown.php"
],
"check-cs": [
"php tools/extract-inline-php.php",
"php-cs-fixer fix --config=.php-cs-fixer.php -v --show-progress=dots --dry-run",
"php-cs-fixer fix --config=.php-cs-fixer-inline.php -v --show-progress=dots --dry-run"
],
"phpstan": "php tools/extract-inline-php.php && phpstan analyse",
"deptrac": "php tools/extract-inline-php.php && deptrac analyse",
"fix-rector": [
"php tools/extract-inline-php.php",
"rector process --ansi",
"php tools/sync-inline-php-to-markdown.php"
],
"check-rector": "php tools/extract-inline-php.php && rector process --dry-run --ansi",
"check-yaml": "phpunit --group yaml",
"phpunit": "phpunit --exclude-group=yaml",
"yaml-update-baseline": "php tests/generate-yaml-baseline.php",
"phpstan-update-baseline": "@phpstan --generate-baseline",
"deptrac-update-baseline": "@deptrac --formatter=baseline",
"composer-update": "[ -d vendor ] || composer update",
"yarn-install": "[ -d node_modules ] || yarn install",
"markdownlint": [
"@yarn-install",
"yarn markdownlint"
],
"fix-markdownlint": [
"@yarn-install",
"yarn markdownlint --fix"
],
"test": [
"@composer-update",
"EXIT=0; FAILED=''; { composer check-cs; } || { EXIT=1; FAILED=\"$FAILED check-cs\"; }; { composer phpstan; } || { EXIT=1; FAILED=\"$FAILED phpstan\"; }; { composer deptrac; } || { EXIT=1; FAILED=\"$FAILED deptrac\"; }; { composer check-rector; } || { EXIT=1; FAILED=\"$FAILED check-rector\"; }; { composer markdownlint; } || { EXIT=1; FAILED=\"$FAILED markdownlint\"; }; { composer check-yaml; } || { EXIT=1; FAILED=\"$FAILED check-yaml\"; }; if [ 1 -eq $EXIT ]; then echo \"Failed:$FAILED\"; fi; exit $EXIT;"
],
"fix": [
"@composer-update",
"@composer fix-rector",
"@composer fix-cs",
"@composer fix-markdownlint"
],
"baseline": [
"@composer-update",
"@composer phpstan-update-baseline",
"@composer deptrac-update-baseline",
"@composer yaml-update-baseline"
]
},
"scripts-descriptions": {
"fix-cs": "Automatically fixes code style in all files",
"check-cs": "Run code style checker for all files",
"phpstan": "Run static code analysis",
"deptrac": "Run Deptrac architecture testing",
"fix-rector": "Automatically applies Rector refactoring to code samples and syncs back to Markdown",
"check-rector": "Check for code refactoring opportunities",
"check-yaml": "Run PHPUnit tests (YAML validation)",
"yaml-update-baseline": "Regenerate tests/yaml-validation-baseline.yaml from current failures",
"phpstan-update-baseline": "Regenerate PHPStan baseline from current failures",
"deptrac-update-baseline": "Regenerate Deptrac baseline from current failures",
"composer-update": "Install composer dependencies if not already installed",
"yarn-install": "Install yarn dependencies if not already installed",
"markdownlint": "Run Markdownlint on all documentation files",
"fix-markdownlint": "Automatically fixes Markdownlint issues in all documentation files",
"test": "Run all checks (CS-Fixer, PHPStan, Deptrac, Rector, Markdownlint, YAML checks), continuing past failures and reporting failure overall if any check failed",
"fix": "Run all automatic fixes (Rector, CS-Fixer, Markdownlint)",
"baseline": "Regenerate all baselines (PHPStan, Deptrac, YAML) from current failures"
},
"config": {
"allow-plugins": false
}
}