|
1 | 1 | { |
2 | 2 | "name": "os2loop/os2loop", |
3 | 3 | "description": "OS2Loop", |
4 | | - "type": "project", |
5 | 4 | "license": "GPL-2.0-or-later", |
| 5 | + "type": "project", |
6 | 6 | "homepage": "https://github.com/os2loop/os2loop", |
7 | | - "repositories": { |
8 | | - "drupal": { |
9 | | - "type": "composer", |
10 | | - "url": "https://packages.drupal.org/8", |
11 | | - "canonical": false |
12 | | - }, |
13 | | - "drupal/theme_switcher": { |
14 | | - "type": "vcs", |
15 | | - "url": "https://git.drupalcode.org/project/theme_switcher" |
16 | | - }, |
17 | | - "os2loop/os2loop_fixtures": { |
18 | | - "type": "path", |
19 | | - "url": "web/profiles/custom/os2loop/modules/os2loop_fixtures" |
20 | | - }, |
21 | | - "drupal/views_flag_refresh": { |
22 | | - "type": "package", |
23 | | - "package": { |
24 | | - "name": "drupal/views_flag_refresh", |
25 | | - "version": "dev-2929394-drupal-8-port", |
26 | | - "type": "drupal-module", |
27 | | - "source": { |
28 | | - "url": "https://git.drupalcode.org/issue/views_flag_refresh-2929394.git", |
29 | | - "type": "git", |
30 | | - "reference": "origin/2929394-drupal-8-port" |
31 | | - } |
32 | | - } |
33 | | - } |
34 | | - }, |
35 | 7 | "require": { |
36 | 8 | "php": "^8.2", |
37 | 9 | "composer/installers": "^2.0", |
|
79 | 51 | "drupal/token": "^1.12", |
80 | 52 | "drupal/token_filter": "^2.0", |
81 | 53 | "drupal/twig_tweak": "^3.2", |
82 | | - "drupal/view_unpublished": "^1.1", |
| 54 | + "drupal/view_unpublished": "^1.2", |
83 | 55 | "drupal/views_autosubmit": "^1.6", |
84 | 56 | "drupal/views_data_export": "^1.3", |
85 | 57 | "drupal/views_flag_refresh": "^1.0", |
86 | 58 | "drupal/viewsreference": "^2.0@beta", |
87 | 59 | "drupal/xls_serialization": "^1.3", |
88 | 60 | "drush/drush": "^12.2" |
89 | 61 | }, |
90 | | - "scripts": { |
91 | | - "code-analysis/phpstan": [ |
92 | | - "phpstan analyse --configuration=phpstan.neon --memory-limit=2G" |
93 | | - ], |
94 | | - "code-analysis": [ |
95 | | - "@code-analysis/phpstan" |
96 | | - ], |
97 | | - "coding-standards-check/phpcs": [ |
98 | | - "php vendor/bin/phpcs --standard=phpcs.xml.dist" |
99 | | - ], |
100 | | - "coding-standards-check/twigcs": [ |
101 | | - "twigcs web/profiles/custom/os2loop/themes/os2loop_theme/templates" |
102 | | - ], |
103 | | - "coding-standards-check": [ |
104 | | - "@coding-standards-check/phpcs", |
105 | | - "@coding-standards-check/twigcs" |
106 | | - ], |
107 | | - "coding-standards-apply/phpcs": [ |
108 | | - "vendor/bin/phpcbf --standard=phpcs.xml.dist" |
109 | | - ], |
110 | | - "coding-standards-apply": [ |
111 | | - "@coding-standards-apply/phpcs" |
112 | | - ] |
| 62 | + "require-dev": { |
| 63 | + "dealerdirect/phpcodesniffer-composer-installer": "^1.0", |
| 64 | + "drupal/coder": "^8.3", |
| 65 | + "drupal/core-dev": "^10.1", |
| 66 | + "drupal/devel": "^5.1", |
| 67 | + "ergebnis/composer-normalize": "^2.42", |
| 68 | + "kint-php/kint": "^5.0", |
| 69 | + "mglaman/phpstan-drupal": "^1.2", |
| 70 | + "os2loop/os2loop_fixtures": "*", |
| 71 | + "phpspec/prophecy-phpunit": "^2.0", |
| 72 | + "phpstan/extension-installer": "^1.3", |
| 73 | + "phpstan/phpstan-deprecation-rules": "^1.1", |
| 74 | + "vincentlanglet/twig-cs-fixer": "^2.9" |
113 | 75 | }, |
114 | 76 | "conflict": { |
115 | 77 | "drupal/drupal": "*" |
116 | 78 | }, |
| 79 | + "repositories": { |
| 80 | + "drupal": { |
| 81 | + "type": "composer", |
| 82 | + "url": "https://packages.drupal.org/8", |
| 83 | + "canonical": false |
| 84 | + }, |
| 85 | + "drupal/theme_switcher": { |
| 86 | + "type": "vcs", |
| 87 | + "url": "https://git.drupalcode.org/project/theme_switcher" |
| 88 | + }, |
| 89 | + "os2loop/os2loop_fixtures": { |
| 90 | + "type": "path", |
| 91 | + "url": "web/profiles/custom/os2loop/modules/os2loop_fixtures" |
| 92 | + }, |
| 93 | + "drupal/views_flag_refresh": { |
| 94 | + "type": "package", |
| 95 | + "package": { |
| 96 | + "name": "drupal/views_flag_refresh", |
| 97 | + "type": "drupal-module", |
| 98 | + "version": "dev-2929394-drupal-8-port", |
| 99 | + "source": { |
| 100 | + "type": "git", |
| 101 | + "url": "https://git.drupalcode.org/issue/views_flag_refresh-2929394.git", |
| 102 | + "reference": "origin/2929394-drupal-8-port" |
| 103 | + } |
| 104 | + } |
| 105 | + } |
| 106 | + }, |
117 | 107 | "minimum-stability": "dev", |
118 | 108 | "prefer-stable": true, |
119 | 109 | "config": { |
120 | | - "sort-packages": true, |
121 | | - "process-timeout": 0, |
122 | 110 | "allow-plugins": { |
123 | 111 | "composer/installers": true, |
124 | 112 | "cweagans/composer-patches": true, |
125 | 113 | "dealerdirect/phpcodesniffer-composer-installer": true, |
126 | 114 | "drupal/console-extend-plugin": true, |
127 | 115 | "drupal/core-composer-scaffold": true, |
128 | 116 | "drupal/core-project-message": true, |
| 117 | + "ergebnis/composer-normalize": true, |
| 118 | + "php-http/discovery": true, |
129 | 119 | "phpstan/extension-installer": true |
130 | | - } |
| 120 | + }, |
| 121 | + "process-timeout": 0, |
| 122 | + "sort-packages": true |
131 | 123 | }, |
132 | 124 | "extra": { |
| 125 | + "drupal-core-project-message": { |
| 126 | + "include-keys": [ |
| 127 | + "homepage", |
| 128 | + "support" |
| 129 | + ], |
| 130 | + "post-create-project-cmd-message": [ |
| 131 | + "<bg=blue;fg=white> </>", |
| 132 | + "<bg=blue;fg=white> Congratulations, you’ve installed the Drupal codebase </>", |
| 133 | + "<bg=blue;fg=white> from the drupal/recommended-project template! </>", |
| 134 | + "<bg=blue;fg=white> </>", |
| 135 | + "", |
| 136 | + "<bg=yellow;fg=black>Next steps</>:", |
| 137 | + " * Install the site: https://www.drupal.org/docs/8/install", |
| 138 | + " * Read the user guide: https://www.drupal.org/docs/user_guide/en/index.html", |
| 139 | + " * Get support: https://www.drupal.org/support", |
| 140 | + " * Get involved with the Drupal community:", |
| 141 | + " https://www.drupal.org/getting-involved", |
| 142 | + " * Remove the plugin that prints this message:", |
| 143 | + " composer remove drupal/core-project-message" |
| 144 | + ] |
| 145 | + }, |
133 | 146 | "drupal-scaffold": { |
134 | | - "locations": { |
135 | | - "web-root": "web/" |
136 | | - }, |
137 | 147 | "file-mapping": { |
138 | 148 | "[web-root]/sites/development.services.yml": false |
| 149 | + }, |
| 150 | + "locations": { |
| 151 | + "web-root": "web/" |
139 | 152 | } |
140 | 153 | }, |
| 154 | + "enable-patching": true, |
141 | 155 | "installer-paths": { |
142 | 156 | "web/core": [ |
143 | 157 | "type:drupal-core" |
|
170 | 184 | "type:os2loop-custom-module" |
171 | 185 | ] |
172 | 186 | }, |
173 | | - "drupal-core-project-message": { |
174 | | - "include-keys": [ |
175 | | - "homepage", |
176 | | - "support" |
177 | | - ], |
178 | | - "post-create-project-cmd-message": [ |
179 | | - "<bg=blue;fg=white> </>", |
180 | | - "<bg=blue;fg=white> Congratulations, you’ve installed the Drupal codebase </>", |
181 | | - "<bg=blue;fg=white> from the drupal/recommended-project template! </>", |
182 | | - "<bg=blue;fg=white> </>", |
183 | | - "", |
184 | | - "<bg=yellow;fg=black>Next steps</>:", |
185 | | - " * Install the site: https://www.drupal.org/docs/8/install", |
186 | | - " * Read the user guide: https://www.drupal.org/docs/user_guide/en/index.html", |
187 | | - " * Get support: https://www.drupal.org/support", |
188 | | - " * Get involved with the Drupal community:", |
189 | | - " https://www.drupal.org/getting-involved", |
190 | | - " * Remove the plugin that prints this message:", |
191 | | - " composer remove drupal/core-project-message" |
192 | | - ] |
193 | | - }, |
194 | | - "enable-patching": true, |
195 | 187 | "patches": { |
196 | 188 | "drupal/core": { |
197 | | - "Disable forced configuration langcode (https://www.drupal.org/project/drupal/issues/3150540)": "https://www.drupal.org/files/issues/2023-05-24/3150540-36.patch", |
| 189 | + "Disable forced configuration langcode (https://www.drupal.org/project/drupal/issues/3150540)": "https://www.drupal.org/files/issues/2024-01-25/3150540-40.patch", |
198 | 190 | "Handle undefined index when using form states (https://www.drupal.org/project/drupal/issues/2700667)": "https://www.drupal.org/files/issues/2020-03-11/2700667-104.patch" |
199 | 191 | }, |
200 | | - "drupal/flag": { |
201 | | - "Implement Migration Paths for Flag 7.x (https://www.drupal.org/project/flag/issues/2409901#comment-13082245)": "https://www.drupal.org/files/issues/2019-04-25/2409901_flag_migration_paths_52.patch", |
202 | | - "Implement Migration Paths for Flag 7.x (https://www.drupal.org/project/flag/issues/2409901#comment-13281955)": "https://www.drupal.org/files/issues/2019-10-02/2409901-60.patch" |
203 | | - }, |
204 | | - "drupal/openid_connect": { |
205 | | - "Revoking group access does not reflect on applied roles (https://www.drupal.org/project/openid_connect/issues/3224128)": "https://git.drupalcode.org/project/openid_connect/-/merge_requests/31.diff" |
206 | | - }, |
207 | | - "drupal/masquerade": { |
208 | | - "https://www.drupal.org/project/masquerade/issues/2962970#comment-13391256": "https://www.drupal.org/files/issues/2019-12-13/temporary%20unmask%20workaround-2962970-8.patch" |
209 | | - }, |
210 | 192 | "drupal/devel": { |
211 | 193 | "Public methods are not visible in kint (https://www.drupal.org/project/devel/issues/3112201)": "https://www.drupal.org/files/issues/2022-04-26/devel_3112201_4.patch" |
212 | 194 | }, |
213 | | - "drupal/view_unpublished": { |
214 | | - "Grants are not cached if the user has \"view any unpublished content\" permission (https://www.drupal.org/project/view_unpublished/issues/3226756)": "https://www.drupal.org/files/issues/2021-08-04/view_unpublished-cache_ignored-3226756-2-8.x.patch" |
215 | | - }, |
216 | 195 | "drupal/entity_print": { |
217 | 196 | "Add page count https://www.drupal.org/project/entity_print/issues/2823430": "https://www.drupal.org/files/issues/2023-07-10/entity_print-dompdf_page_count-2823430-14.patch" |
218 | 197 | }, |
219 | 198 | "drupal/entity_reference_integrity": { |
220 | 199 | "https://www.drupal.org/project/entity_reference_integrity/issues/3380250": "https://www.drupal.org/files/issues/2023-08-29/entity_reference_integrity-3380250-5.patch" |
| 200 | + }, |
| 201 | + "drupal/flag": { |
| 202 | + "Implement Migration Paths for Flag 7.x (https://www.drupal.org/project/flag/issues/2409901#comment-13082245)": "https://www.drupal.org/files/issues/2019-04-25/2409901_flag_migration_paths_52.patch", |
| 203 | + "Implement Migration Paths for Flag 7.x (https://www.drupal.org/project/flag/issues/2409901#comment-13281955)": "https://www.drupal.org/files/issues/2019-10-02/2409901-60.patch" |
| 204 | + }, |
| 205 | + "drupal/masquerade": { |
| 206 | + "https://www.drupal.org/project/masquerade/issues/2962970#comment-13391256": "https://www.drupal.org/files/issues/2019-12-13/temporary%20unmask%20workaround-2962970-8.patch" |
221 | 207 | } |
222 | 208 | } |
223 | 209 | }, |
224 | | - "require-dev": { |
225 | | - "dealerdirect/phpcodesniffer-composer-installer": "^1.0", |
226 | | - "drupal/coder": "^8.3", |
227 | | - "drupal/core-dev": "^10.1", |
228 | | - "drupal/devel": "^5.1", |
229 | | - "friendsoftwig/twigcs": "^6.2", |
230 | | - "kint-php/kint": "^5.0", |
231 | | - "mglaman/phpstan-drupal": "^1.2", |
232 | | - "os2loop/os2loop_fixtures": "*", |
233 | | - "phpspec/prophecy-phpunit": "^2.0", |
234 | | - "phpstan/extension-installer": "^1.3", |
235 | | - "phpstan/phpstan-deprecation-rules": "^1.1" |
| 210 | + "scripts": { |
| 211 | + "code-analysis": [ |
| 212 | + "@code-analysis/phpstan" |
| 213 | + ], |
| 214 | + "code-analysis/phpstan": [ |
| 215 | + "phpstan analyse --configuration=phpstan.neon --memory-limit=2G" |
| 216 | + ], |
| 217 | + "coding-standards-apply": [ |
| 218 | + "@coding-standards-apply/phpcs", |
| 219 | + "@coding-standards-apply/twig-cs-fixer", |
| 220 | + "@coding-standards-apply/composer-normalize" |
| 221 | + ], |
| 222 | + "coding-standards-apply/composer-normalize": [ |
| 223 | + "composer normalize" |
| 224 | + ], |
| 225 | + "coding-standards-apply/phpcs": [ |
| 226 | + "vendor/bin/phpcbf --standard=phpcs.xml.dist" |
| 227 | + ], |
| 228 | + "coding-standards-apply/twig-cs-fixer": [ |
| 229 | + "twig-cs-fixer lint --fix web/profiles/custom/os2loop/themes/os2loop_theme/templates" |
| 230 | + ], |
| 231 | + "coding-standards-check": [ |
| 232 | + "@coding-standards-check/phpcs", |
| 233 | + "@coding-standards-check/twig-cs-fixer", |
| 234 | + "@coding-standards-check/composer-normalize" |
| 235 | + ], |
| 236 | + "coding-standards-check/composer-normalize": [ |
| 237 | + "composer normalize --dry-run" |
| 238 | + ], |
| 239 | + "coding-standards-check/phpcs": [ |
| 240 | + "php vendor/bin/phpcs --standard=phpcs.xml.dist" |
| 241 | + ], |
| 242 | + "coding-standards-check/twig-cs-fixer": [ |
| 243 | + "twig-cs-fixer lint web/profiles/custom/os2loop/themes/os2loop_theme/templates" |
| 244 | + ] |
236 | 245 | } |
237 | 246 | } |
0 commit comments