-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcomposer.json
More file actions
139 lines (139 loc) · 7.05 KB
/
Copy pathcomposer.json
File metadata and controls
139 lines (139 loc) · 7.05 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
{
"name": "netresearch/nr-llm",
"description": "Shared AI/LLM foundation for TYPO3 — centralized provider management, encrypted API keys, and ready-to-use services for chat, translation, vision, and embeddings",
"license": "GPL-2.0-or-later",
"type": "typo3-cms-extension",
"keywords": [
"TYPO3",
"extension",
"LLM",
"AI",
"OpenAI",
"Claude",
"Gemini",
"Ollama",
"embeddings",
"translation",
"streaming",
"provider-abstraction",
"chatbot"
],
"authors": [
{
"name": "Netresearch DTT GmbH",
"homepage": "https://www.netresearch.de/",
"role": "Developer"
}
],
"homepage": "https://github.com/netresearch/t3x-nr-llm",
"support": {
"issues": "https://github.com/netresearch/t3x-nr-llm/issues",
"source": "https://github.com/netresearch/t3x-nr-llm"
},
"require": {
"php": "^8.2",
"netresearch/nr-vault": "^0.15.0",
"psr/http-client": "^1.0",
"psr/http-factory": "^1.0",
"psr/log": "^2.0 || ^3.0",
"symfony/yaml": "^6.4 || ^7.0 || ^8.0",
"typo3/cms-core": "^13.4 || ^14.3"
},
"require-dev": {
"fakerphp/faker": "^1.24",
"netresearch/typo3-ci-workflows": "^1.5",
"tpwd/ke_search": "^7.0",
"typo3/cms-dashboard": "^13.4 || ^14.3",
"typo3/cms-indexed-search": "^13.4 || ^14.3",
"typo3/cms-install": "^13.4 || ^14.3"
},
"suggest": {
"apache-solr-for-typo3/solr": "Site-search RAG tools retrieve evidence from the Solr index when installed",
"poppler-utils": "System package (not a Composer package) providing pdftoppm/pdfimages — enables DocumentAnalysisService's rasterization fallback for providers without native PDF ingestion",
"tpwd/ke_search": "Site-search RAG tools retrieve evidence from the ke_search index when installed",
"typo3/cms-dashboard": "Adds AI usage / cost widgets to the TYPO3 dashboard",
"typo3/cms-indexed-search": "Site-search RAG tools retrieve evidence from the indexed_search index when installed"
},
"autoload": {
"psr-4": {
"Netresearch\\NrLlm\\": "Classes/"
}
},
"autoload-dev": {
"psr-4": {
"Netresearch\\NrLlm\\Tests\\": "Tests/"
}
},
"config": {
"allow-plugins": {
"a9f/fractor-extension-installer": true,
"captainhook/hook-installer": true,
"ergebnis/composer-normalize": true,
"infection/extension-installer": true,
"phpstan/extension-installer": true,
"typo3/class-alias-loader": true,
"typo3/cms-composer-installers": true
},
"bin-dir": ".Build/bin",
"sort-packages": true,
"vendor-dir": ".Build/vendor"
},
"extra": {
"captainhook": {
"config": "Build/captainhook.json"
},
"typo3/cms": {
"Package": {
"providesPackages": {}
},
"extension-key": "nr_llm",
"version": "0.33.0",
"web-dir": ".Build/Web"
}
},
"scripts": {
"ci": [
"@ci:test:php:cgl",
"@ci:test:php:phpstan",
"@ci:test:php:unit",
"@ci:test:php:integration",
"@ci:test:php:fuzzy"
],
"ci:cgl": "sh -c 'if [ -f /.dockerenv ] || [ -n \"${CI:-}\" ]; then php-cs-fixer fix \"$@\"; else ./Build/Scripts/runTests.sh -s cgl \"$@\"; fi' --",
"ci:full": [
"@ci",
"@ci:test:php:functional"
],
"ci:test:agent-docs": "php Build/Scripts/check-agent-doc-symlinks.php",
"ci:test:badges": "php Build/Scripts/check-badge-contrast.php",
"ci:test:changelog": "php Build/Scripts/check-changelog-unreleased.php",
"ci:test:php:cgl": "sh -c 'if [ -f /.dockerenv ] || [ -n \"${CI:-}\" ]; then php-cs-fixer fix --dry-run --diff \"$@\"; else ./Build/Scripts/runTests.sh -s cgl -n \"$@\"; fi' --",
"ci:test:php:functional": "sh -c 'if [ -f /.dockerenv ] || [ -n \"${CI:-}\" ]; then phpunit -c Build/FunctionalTests.xml \"$@\"; else ./Build/Scripts/runTests.sh -s functional \"$@\"; fi' --",
"ci:test:php:fuzzy": "sh -c 'if [ -f /.dockerenv ] || [ -n \"${CI:-}\" ]; then phpunit -c Build/phpunit.xml --testsuite fuzzy \"$@\"; else ./Build/Scripts/runTests.sh -s fuzzy \"$@\"; fi' --",
"ci:test:php:integration": "sh -c 'if [ -f /.dockerenv ] || [ -n \"${CI:-}\" ]; then phpunit -c Build/phpunit.xml --testsuite integration \"$@\"; else ./Build/Scripts/runTests.sh -s integration \"$@\"; fi' --",
"ci:test:php:lint": "sh -c 'if [ -f /.dockerenv ] || [ -n \"${CI:-}\" ]; then find Classes Configuration Tests -name \"*.php\" -print0 | xargs -0 -n1 -P$(nproc 2>/dev/null || echo 4) php -l >/dev/null; else ./Build/Scripts/runTests.sh -s lint; fi'",
"ci:test:php:mutation": "sh -c 'if [ -f /.dockerenv ] || [ -n \"${CI:-}\" ]; then infection --configuration=infection.json.dist --threads=4 -s --no-progress \"$@\"; else ./Build/Scripts/runTests.sh -s mutation \"$@\"; fi' --",
"ci:test:php:mutation:ci": "sh -c 'if [ -f /.dockerenv ] || [ -n \"${CI:-}\" ]; then infection --configuration=infection.json.dist --threads=4 --no-progress \"$@\"; else ./Build/Scripts/runTests.sh -s mutation \"$@\"; fi' --",
"ci:test:php:phpstan": "sh -c 'if [ -f /.dockerenv ] || [ -n \"${CI:-}\" ]; then phpstan analyse -c Build/phpstan/phpstan.neon \"$@\"; else ./Build/Scripts/runTests.sh -s phpstan \"$@\"; fi' --",
"ci:test:php:phpstan:baseline": "phpstan analyse -c Build/phpstan/phpstan.neon --generate-baseline Build/phpstan-baseline.neon",
"ci:test:php:rector": "sh -c 'if [ -f /.dockerenv ] || [ -n \"${CI:-}\" ]; then rector process --config Build/rector/rector.php --dry-run \"$@\"; else ./Build/Scripts/runTests.sh -s rector -n \"$@\"; fi' --",
"ci:test:php:unit": "sh -c 'if [ -f /.dockerenv ] || [ -n \"${CI:-}\" ]; then phpunit -c Build/phpunit.xml --testsuite unit \"$@\"; else ./Build/Scripts/runTests.sh -s unit \"$@\"; fi' --",
"ci:test:repo": [
"@ci:test:agent-docs",
"@ci:test:badges",
"@ci:test:changelog",
"@ci:test:workflows"
],
"ci:test:workflows": "php Build/Scripts/check-workflow-ownership.php",
"cs:fix": "@ci:cgl",
"ddev:ci:full": "ddev exec 'cd /var/www/html/v14/vendor/netresearch/nr-llm && composer ci:full'",
"ddev:test": "ddev exec 'cd /var/www/html/v14/vendor/netresearch/nr-llm && composer test'",
"ddev:test:functional": "ddev exec 'cd /var/www/html/v14/vendor/netresearch/nr-llm && composer ci:test:php:functional'",
"fractor": "fractor process --config Build/fractor/fractor.php",
"fractor:dry": "fractor process --config Build/fractor/fractor.php --dry-run",
"phpstan": "@ci:test:php:phpstan",
"rector": "rector process --config Build/rector/rector.php",
"test": "phpunit -c Build/phpunit.xml",
"test:e2e": "npm run test:e2e"
}
}