-
Notifications
You must be signed in to change notification settings - Fork 4
/
composer.json
157 lines (157 loc) · 5.7 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
{
"name": "bluehorndigital/mojo",
"description": "An opinionated Drupal build designed to run in a cloud native environment.",
"type": "project",
"license": "GPL-2.0-or-later",
"homepage": "https://github.com/bluehorndigital/mojo",
"support": {
"docs": "https://github.com/bluehorndigital/mojo/wiki"
},
"repositories": [
{
"type": "composer",
"url": "https://packages.drupal.org/8"
}
],
"require": {
"php": "^7.4|^8.0",
"ext-json": "*",
"bluehorndigital/mojo-drupal-scaffold": "^1.0.0",
"composer/installers": "^1.9",
"cweagans/composer-patches": "^1.7.1",
"drupal/admin_toolbar": "^3.0",
"drupal/advancedqueue": "^1.0@RC",
"drupal/core-composer-scaffold": "^9.2",
"drupal/core-project-message": "^9.2",
"drupal/core-recommended": "^9.2",
"drupal/flysystem": "^2@beta",
"drupal/flysystem_s3": "^2.0@RC",
"drupal/gin": "^3.0@alpha",
"drupal/gin_login": "^1.0@RC",
"drupal/metatag": "^1.16",
"drupal/pathauto": "^1.8",
"drupal/redis": "^1.5",
"drupal/swiftmailer": "^2.0",
"drupal/token": "^1.9",
"drush/drush": "^10.5",
"vlucas/phpdotenv": "^5.3"
},
"require-dev": {
"drupal/core-dev": "^9.2",
"mglaman/phpstan-drupal": "^0.12.12",
"phpspec/prophecy-phpunit": "^2",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan": "^0.12.94",
"phpstan/phpstan-deprecation-rules": "^0.12.6"
},
"autoload": {
"files": ["load.environment.php"]
},
"conflict": {
"drupal/drupal": "*",
"drupal/profile": "< 1.2"
},
"scripts": {
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-create-project-cmd": [
"@php mojo env:generate --ansi"
]
},
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"sort-packages": true,
"apcu-autoloader": true,
"optimize-autoloader": true,
"preferred-install": "dist"
},
"extra": {
"composer-exit-on-patch-failure": true,
"enable-patching": true,
"patchLevel": {
"drupal/core": "-p2"
},
"patches": {
"drupal/flysystem_s3": {
"uriScheme() method missing after update to Drupal 9": "https://www.drupal.org/files/issues/2020-12-07/replace-urischeme-method-3159928-4.patch"
},
"twistor/stream-util": {
"External: Handle fstat returning a boolean instead of an array (https://github.com/twistor/stream-util/pull/3, https://www.drupal.org/project/flysystem/issues/2661588)": "https://patch-diff.githubusercontent.com/raw/twistor/stream-util/pull/3.diff"
}
},
"violinist": {
"one_pull_request_per_package": 1,
"run_scripts": 0,
"bundled_packages": {
"drupal/core-recommended": [
"drupal/core-composer-scaffold",
"drupal/core-project-message"
]
},
"blacklist": [
"drupal/core-composer-scaffold",
"drupal/core-project-message"
]
},
"drupal-scaffold": {
"locations": {
"web-root": "web/"
},
"file-mapping": {
"[project-root]/.editorconfig": false,
"[web-root]/example.gitignore": false,
"[web-root]/INSTALL.txt": false,
"[web-root]/README.md": false,
"[web-root]/.gitignore": false
},
"allowed-packages": ["bluehorndigital/mojo-drupal-scaffold"]
},
"installer-paths": {
"web/core": [
"type:drupal-core"
],
"web/libraries/{$name}": [
"type:drupal-library"
],
"web/modules/contrib/{$name}": [
"type:drupal-module"
],
"web/profiles/contrib/{$name}": [
"type:drupal-profile"
],
"web/themes/contrib/{$name}": [
"type:drupal-theme"
],
"drush/Commands/contrib/{$name}": [
"type:drupal-drush"
],
"web/modules/custom/{$name}": [
"type:drupal-custom-module"
],
"web/profiles/custom/{$name}": [
"type:drupal-custom-profile"
],
"web/themes/custom/{$name}": [
"type:drupal-custom-theme"
]
},
"drupal-core-project-message": {
"post-create-project-cmd-message": [
"<bg=blue;fg=white> </>",
"<bg=blue;fg=white> Welcome to Mojo! </>",
"<bg=blue;fg=white> </>",
"",
"<bg=blue;fg=white> Next steps: </>",
"",
" – Run `php mojo env:generate` to generate a `.env` file.",
" Learn more about environment variables and Mojo <fg=blue>https://github.com/bluehorndigital/mojo/wiki/Environment-variables</>",
" – Customize scaffolded project files",
" Read the Drupal.org documentation <fg=blue>https://www.drupal.org/docs/develop/using-composer/using-drupals-composer-scaffold</>",
"",
""
]
}
}
}