-
Notifications
You must be signed in to change notification settings - Fork 4
/
composer.json
154 lines (154 loc) · 4.56 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
{
"name": "pantheon-systems/wordpress-composer-managed",
"type": "project",
"license": "MIT",
"description": "Pantheon's recommended starting point for WordPress upstreams using the platform's Integrated Composer build process.",
"homepage": "https://pantheon.io/docs/guides/wordpress-composer",
"authors": [
{
"name": "Pantheon Systems",
"homepage": "https://pantheon.io"
},
{
"name": "John Spellman",
"email": "[email protected]",
"homepage": "https://github.com/jspellman814"
},
{
"name": "Chris Reynolds",
"email": "[email protected]",
"homepage": "https://github.com/jazzsequence"
},
{
"name": "Scott Walkinshaw",
"email": "[email protected]",
"homepage": "https://github.com/swalkinshaw"
},
{
"name": "Ben Word",
"email": "[email protected]",
"homepage": "https://github.com/retlehs"
}
],
"keywords": [
"bedrock", "composer", "roots", "wordpress", "wp", "wp-config", "pantheon"
],
"support": {
"issues": "https://github.com/pantheon-systems/wordpress-composer-managed/issues",
"docs": "https://pantheon.io/docs/guides/wordpress-composer"
},
"repositories": [
{
"type": "composer",
"url": "https://wpackagist.org",
"only": ["wpackagist-plugin/*", "wpackagist-theme/*"]
},
{
"type": "path",
"url": "upstream-configuration"
}
],
"require": {
"php": ">=8.0",
"composer/installers": "^2.2",
"vlucas/phpdotenv": "^5.5",
"oscarotero/env": "^2.1",
"roots/bedrock-autoloader": "*",
"roots/bedrock-disallow-indexing": "*",
"roots/wordpress": "*",
"roots/wp-config": "*",
"roots/wp-password-bcrypt": "*",
"wpackagist-theme/twentytwentytwo": "^1.2",
"pantheon-systems/pantheon-mu-plugin": "*",
"pantheon-upstreams/upstream-configuration": "dev-main",
"wpackagist-plugin/pantheon-advanced-page-cache": "*",
"wpackagist-plugin/wp-native-php-sessions": "*",
"cweagans/composer-patches": "^1.7"
},
"require-dev": {
"pantheon-systems/pantheon-wp-coding-standards": "*",
"roave/security-advisories": "dev-latest",
"assertwell/shellcheck": "^1.0"
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"process-timeout": 0,
"allow-plugins": {
"composer/installers": true,
"roots/wordpress-core-installer": true,
"cweagans/composer-patches": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"minimum-stability": "stable",
"prefer-stable": true,
"extra": {
"installer-paths": {
"web/app/mu-plugins/{$name}/": ["type:wordpress-muplugin"],
"web/app/plugins/{$name}/": ["type:wordpress-plugin"],
"web/app/themes/{$name}/": ["type:wordpress-theme"]
},
"wordpress-install-dir": "web/wp",
"build-env": {
"install-cms": [
"wp core install --title={site-name} --url={site-url} --admin_user={account-name} --admin_email={account-mail} --admin_password={account-pass}",
"wp option update permalink_structure '/%postname%/'"
]
},
"composer-scaffold": {
"locations": {
"web-root": "./"
}
},
"composer-exit-on-patch-failure": true,
"enable-patching": true
},
"autoload": {
"classmap": [
"upstream-configuration/scripts/ComposerScripts.php"
]
},
"scripts": {
"post-install-cmd": "@maybe-create-symlinks",
"pre-update-cmd": [
"WordPressComposerManaged\\ComposerScripts::preUpdate"
],
"install-sage": [
"bash ./private/scripts/helpers.sh install_sage"
],
"maybe-create-symlinks": [
"bash ./private/scripts/helpers.sh maybe_create_symlinks"
],
"lint": [
"@lint:php",
"@lint:phpcs",
"@lint:bash"
],
"lint:php": [
"php -l web/wp/wp-settings.php"
],
"lint:phpcs": [
"vendor/bin/phpcs -s ."
],
"lint:phpcbf": [
"vendor/bin/phpcbf ."
],
"lint:bash": [
"shellcheck private/scripts/*.sh"
],
"lint:devops": [
"[ -d devops/scripts ] && shellcheck devops/scripts/*.sh"
],
"test": [],
"upstream-require": [
"WordPressComposerManaged\\ComposerScripts::upstreamRequire"
]
},
"scripts-descriptions": {
"upstream-require": "Add a dependency to an upstream. See https://pantheon.io/docs/create-custom-upstream for information on creating custom upstreams."
},
"suggest": {
"pantheon-systems/upstream-management": "Composer plugin that provides commands for managing custom upstreams on Pantheon."
}
}