-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathcomposer.json
165 lines (165 loc) · 6.1 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
{
"name": "drupal/swagger_ui_formatter",
"description": "Provides a Swagger UI field formatter for File and Link fields.",
"license": "GPL-2.0-or-later",
"type": "drupal-module",
"keywords": [
"Drupal",
"OpenAPI",
"Swagger",
"API docs"
],
"homepage": "https://www.drupal.org/project/swagger_ui_formatter",
"support": {
"issues": "https://github.com/Pronovix/swagger_ui_formatter/issues",
"source": "https://github.com/Pronovix/swagger_ui_formatter",
"docs": "https://www.drupal.org/docs/8/modules/swagger-ui-field-formatter"
},
"_comment": [
"league/container version contraint is here to prevent randomy failed highest-lowest tests caused by this missing fix: https://github.com/thephpleague/container/commit/97a0c39bf37d709d3bbc31d0505cea9373d927e7"
],
"require": {
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
"drupal/core": "^10.3"
},
"require-dev": {
"bower-asset/swagger-ui": "^4.17.0",
"composer/installers": "^2.2.0",
"drupal/core-composer-scaffold": "^10.3",
"drupal/core-dev": "^10.3",
"drupal/core-recommended": "^10.3",
"drupal/devel": "^5.2.1",
"league/container": "<4.0.0 || >=4.2.2",
"pronovix/drupal-qa": "^4",
"zaporylie/composer-drupal-optimizations": "^1.2"
},
"repositories": [
{
"type": "composer",
"url": "https://packages.drupal.org/8"
},
{
"type": "composer",
"url": "https://asset-packagist.org"
}
],
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-4": {
"Drupal\\swagger_ui_formatter\\": "./src/"
}
},
"autoload-dev": {
"psr-4": {
"Drupal\\Tests\\swagger_ui_formatter\\": "./tests/src",
"Drupal\\swagger_ui_formatter_test\\": "./tests/modules/swagger_ui_formatter_test/src"
}
},
"config": {
"allow-plugins": {
"composer/installers": true,
"cweagans/composer-patches": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"drupal/core-composer-scaffold": true,
"ergebnis/composer-normalize": true,
"php-http/discovery": false,
"phpstan/extension-installer": false,
"pronovix/drupal-qa": true,
"tbachert/spi": false,
"zaporylie/composer-drupal-optimizations": true
},
"optimize-autoloader": true,
"platform": {
"php": "8.1.6"
},
"sort-packages": true,
"vendor-dir": "build/vendor"
},
"extra": {
"branch-alias": {
"dev-master": "4.x-dev"
},
"composer-exit-on-patch-failure": true,
"composer-normalize": {
"indent-size": 4,
"indent-style": "space"
},
"drupal-scaffold": {
"file-mapping": {
"[libraries]/swagger-ui/dist/oauth2-redirect.html": "build/vendor/bower-asset/swagger-ui/dist/oauth2-redirect.html",
"[libraries]/swagger-ui/dist/swagger-ui-bundle.js": "build/vendor/bower-asset/swagger-ui/dist/swagger-ui-bundle.js",
"[libraries]/swagger-ui/dist/swagger-ui-standalone-preset.js": "build/vendor/bower-asset/swagger-ui/dist/swagger-ui-standalone-preset.js",
"[libraries]/swagger-ui/dist/swagger-ui.css": "build/vendor/bower-asset/swagger-ui/dist/swagger-ui.css",
"[libraries]/swagger-ui/package.json": "build/vendor/bower-asset/swagger-ui/package.json",
"[project-root]/.gitattributes": false
},
"locations": {
"libraries": "build/web/libraries",
"web-root": "build/web"
}
},
"enable-patching": true,
"installer-paths": {
"build/web/core": [
"type:drupal-core"
],
"build/web/drush/contrib/{$name}": [
"type:drupal-drush"
],
"build/web/libraries/{$name}": [
"type:drupal-library"
],
"build/web/modules/contrib/{$name}": [
"type:drupal-module"
],
"build/web/modules/custom/{$name}": [
"type:drupal-custom-module"
],
"build/web/profiles/contrib/{$name}": [
"type:drupal-profile"
],
"build/web/themes/contrib/{$name}": [
"type:drupal-theme"
],
"build/web/themes/custom/{$name}": [
"type:drupal-custom-theme"
]
},
"patchLevel": {
"drupal/core": "-p2"
},
"patches": {
"mglaman/phpstan-drupal": {
"Exclude build directory from extension discovery [#85]:": "https://github.com/mglaman/phpstan-drupal/pull/85.diff"
}
},
"patches-ignore": {
"pronovix/drupal-qa": {
"drupal/core": {
"copy() can fail in FunctionalTestSetupTrait::prepareSettings() because of a race condition [#3191369]": "https://git.drupalcode.org/project/drupal/-/merge_requests/218.diff"
}
}
},
"simple-symlinks": {
".": "build/web/modules/drupal_module",
"phpcs.xml.dist": "build/phpcs.xml.dist",
"phpstan-baseline.neon": "build/phpstan-baseline.neon",
"phpstan.neon.dist": "build/phpstan.neon.dist"
}
},
"scripts": {
"post-install-cmd": [
"@symlink-for-local-dev-env"
],
"post-update-cmd": [
"@symlink-for-local-dev-env"
],
"symlink-for-local-dev-env": [
"@php -r \"@symlink('../../..', 'build/web/modules/drupal_module');\"",
"@php -r \"@symlink('../phpcs.xml.dist', 'build/phpcs.xml.dist');\"",
"@php -r \"@symlink('../phpstan-baseline.neon', 'build/phpstan-baseline.neon');\"",
"@php -r \"@symlink('../phpstan.neon.dist', 'build/phpstan.neon.dist');\""
]
}
}