-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Pantheon Robot
committed
Jul 18, 2024
1 parent
7e122a8
commit 34e0084
Showing
2 changed files
with
3,237 additions
and
146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,155 +1,144 @@ | ||
{ | ||
"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": "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", | ||
"forum": "https://discuss.pantheon.io" | ||
}, | ||
{ | ||
"name": "John Spellman", | ||
"email": "[email protected]", | ||
"homepage": "https://github.com/jspellman814" | ||
"repositories": [ | ||
{ | ||
"type": "composer", | ||
"url": "https://wpackagist.org", | ||
"only": [ | ||
"wpackagist-plugin/*", | ||
"wpackagist-theme/*" | ||
] | ||
}, | ||
{ | ||
"type": "path", | ||
"url": "upstream-configuration" | ||
} | ||
], | ||
"require": { | ||
"php": ">=8.2", | ||
"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" | ||
}, | ||
{ | ||
"name": "Chris Reynolds", | ||
"email": "[email protected]", | ||
"homepage": "https://github.com/jazzsequence" | ||
"require-dev": { | ||
"pantheon-systems/pantheon-wp-coding-standards": "*", | ||
"roave/security-advisories": "dev-latest", | ||
"assertwell/shellcheck": "^1.0" | ||
}, | ||
{ | ||
"name": "Scott Walkinshaw", | ||
"email": "[email protected]", | ||
"homepage": "https://github.com/swalkinshaw" | ||
"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 | ||
}, | ||
"platform": { | ||
"php": "8.2.0" | ||
} | ||
}, | ||
{ | ||
"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", | ||
"forum": "https://discuss.pantheon.io" | ||
}, | ||
"repositories": [ | ||
{ | ||
"type": "composer", | ||
"url": "https://wpackagist.org", | ||
"only": ["wpackagist-plugin/*", "wpackagist-theme/*"] | ||
"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 | ||
}, | ||
{ | ||
"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%/'" | ||
] | ||
"autoload": { | ||
"classmap": ["upstream-configuration/scripts/ComposerScripts.php"] | ||
}, | ||
"composer-scaffold": { | ||
"locations": { | ||
"web-root": "./" | ||
} | ||
"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": [], | ||
"post-update-cmd": ["WordPressComposerManaged\\ComposerScripts::postUpdate"] | ||
}, | ||
"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." | ||
} | ||
"suggest": { | ||
"pantheon-systems/upstream-management": "Composer plugin that provides commands for managing custom upstreams on Pantheon." | ||
} | ||
} |
Oops, something went wrong.