-
Notifications
You must be signed in to change notification settings - Fork 16
/
composer.json
138 lines (138 loc) · 4.86 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
{
"name": "pagemachine/typo3-formlog",
"description": "Form log for TYPO3",
"license": "GPL-3.0-or-later",
"type": "typo3-cms-extension",
"keywords": [
"typo3",
"form",
"log"
],
"authors": [
{
"name": "Mathias Brodala",
"email": "[email protected]"
}
],
"require": {
"php": "^8.1",
"league/csv": "^9.1",
"nimmneun/onesheet": "^1.0",
"psr/http-factory": "^1.0",
"psr/http-message": "^1.0 || ^2.0",
"psr/log": "^1.0 || ^2.0 || ^3.0",
"typo3/cms-backend": "^11.5.4 || ^12.4",
"typo3/cms-core": "^11.5.4 || ^12.4",
"typo3/cms-extbase": "^11.5.4 || ^12.4",
"typo3/cms-fluid": "^11.5.4 || ^12.4",
"typo3/cms-form": "^11.5.4 || ^12.4",
"typo3/cms-frontend": "^11.5.4 || ^12.4",
"typo3fluid/fluid": "^2.3 || ^4.0"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.3",
"friendsofphp/php-cs-fixer": "^3.41",
"helmich/typo3-typoscript-lint": "^3.0",
"jangregor/phpstan-prophecy": "^1.0.0",
"michielroos/typo3scan": "^1.7",
"php-parallel-lint/php-console-highlighter": "^1.0.0",
"php-parallel-lint/php-parallel-lint": "^1.2",
"phpspec/prophecy-phpunit": "^2.0",
"phpstan/phpstan": "^1.0.0",
"phpunit/phpunit": "^10.0",
"rector/rector": "^1.0.0",
"saschaegerer/phpstan-typo3": "^1.0.0",
"sclable/xml-lint": "^0.8.0",
"ssch/typo3-rector": "^2.2",
"typo3/cms-scheduler": "^11.5.4 || ^12.4",
"typo3/coding-standards": "^0.7.1 || ^0.8.0",
"typo3/testing-framework": "^7.0 || ^8.0"
},
"replace": {
"typo3-ter/formlog": "self.version"
},
"suggest": {
"typo3/cms-scheduler": "Allows automatic deletion of old form log entries."
},
"autoload": {
"psr-4": {
"Pagemachine\\Formlog\\": "Classes/"
}
},
"autoload-dev": {
"psr-4": {
"Pagemachine\\Formlog\\Tests\\": "Tests/"
},
"files": [
"Tests/Functional/Domain/Form/Finishers/functions.php"
]
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"ergebnis/composer-normalize": true,
"typo3/class-alias-loader": true,
"typo3/cms-composer-installers": true
},
"sort-packages": true
},
"extra": {
"typo3/cms": {
"cms-package-dir": "{$vendor-dir}/typo3/cms",
"extension-key": "formlog",
"web-dir": "web"
}
},
"scripts": {
"analyze:php": "phpstan analyse --ansi --no-progress --memory-limit=512M --configuration=phpstan.neon",
"build": [
"@composer require --no-progress --ansi --update-with-dependencies typo3/cms-core $TYPO3_VERSION",
"@composer validate --ansi",
"@composer normalize --no-update-lock --dry-run",
"@lint",
"@test"
],
"build:cleanup": [
"git reset --hard",
"git clean -xfd"
],
"build:ter:vendors": [
"(mkdir -p /tmp/vendors && cd /tmp/vendors && composer require league/csv:^9.1 nimmneun/onesheet:^1.0 && composer global exec phar-composer build -v)",
"cp /tmp/vendors/vendors.phar .",
"echo \"require 'phar://' . \\TYPO3\\CMS\\Core\\Utility\\ExtensionManagementUtility::extPath('$(composer config extra.typo3/cms.extension-key)') . 'vendors.phar/vendor/autoload.php';\" >> ext_localconf.php"
],
"deploy:ter": [
"@build:cleanup",
"@deploy:ter:setup",
"@build:ter:vendors",
"@deploy:ter:upload"
],
"deploy:ter:setup": [
"@composer global require clue/phar-composer typo3/tailor"
],
"deploy:ter:upload": [
"composer global exec -v -- tailor ter:publish --comment \"$(git tag -l --format='%(contents)' $TAG)\" $TAG"
],
"fix:style": "php-cs-fixer fix --diff",
"lint": [
"@lint:php",
"@lint:typoscript",
"@lint:style",
"@analyze:php",
"@php:rector:lint",
"@lint:xml"
],
"lint:php": "parallel-lint --show-deprecated --exclude vendor --exclude web .",
"lint:style": "php-cs-fixer fix --dry-run --diff",
"lint:typoscript": "typoscript-lint --ansi",
"lint:xml": "xmllint --pattern '*.xlf,*.svg' Resources --ansi",
"php:rector:fix": "rector",
"php:rector:lint": "rector --dry-run --no-progress-bar",
"test": [
"@test:unit",
"@test:functional"
],
"test:functional": "phpunit --configuration phpunit-functional.xml --colors=always",
"test:unit": "phpunit --colors=always"
}
}