Skip to content

Commit efa5672

Browse files
authored
Move quicksilver-pushback to require and not require-dev (#41)
* Moving pantheon-systems/quicksilver-pushback to require * Adding readme todo * Add missing quotes to Quicksilver Pushback * Adding section on require vs require-dev to readme. * Moving quicksilver-pushback to require again after botched merge * Testing Quicksilver Pushback * Delete test file
1 parent 79d0114 commit efa5672

File tree

4 files changed

+38
-38
lines changed

4 files changed

+38
-38
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Even within the `/web` directory you may notice that other directories and files
6060

6161
#### `composer.json`
6262

63-
If you are just browsing this repository on GitHub, you may not see some of the directories mentioned above like `wp-admin`. That is because WordPress core and its plugins are installed via Composer and ignored in the `.gitignore` file. Specific plugins are added to the project via `composer.json` and `composer.lock` keeps track of the exact version of each plugin (or other dependency). Generic Composer dependencies (not WordPress plugins or themes) are downloaded to the `/vendor` folder.
63+
If you are just browsing this repository on GitHub, you may not see some of the directories mentioned above like `wp-admin`. That is because WordPress core and its plugins are installed via Composer and ignored in the `.gitignore` file. Specific plugins are added to the project via `composer.json` and `composer.lock` keeps track of the exact version of each plugin (or other dependency). Generic Composer dependencies (not WordPress plugins or themes) are downloaded to the `/vendor` folder. Use the `require` section for any dependencies you wish to push to Pantheon, even those that might only be used on non-Live environments. Dependencies added in `require-dev` such as `php_codesniffer` or `phpunit` will not be pushed to Pantheon by the CI scripts.
6464

6565
## Behat tests
6666

composer.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,14 @@
1717
],
1818
"require": {
1919
"composer/installers": "^1.3.0",
20-
"vlucas/phpdotenv": "^2.4.0",
21-
"wpackagist-plugin/wp-native-php-sessions": "^0.6.0",
22-
"wpackagist-plugin/pantheon-advanced-page-cache": "^0.1.4",
23-
"wpackagist-theme/twentyseventeen": "^1.1",
20+
"pantheon-systems/quicksilver-pushback": "^1.0",
2421
"pantheon-systems/wordpress-composer": "^4.8.2",
2522
"roots/wp-password-bcrypt": "^1.0.0",
26-
"rvtraveller/qs-composer-installer": "^1.1"
23+
"rvtraveller/qs-composer-installer": "^1.1",
24+
"vlucas/phpdotenv": "^2.4.0",
25+
"wpackagist-plugin/pantheon-advanced-page-cache": "^0.1.4",
26+
"wpackagist-plugin/wp-native-php-sessions": "^0.6.0",
27+
"wpackagist-theme/twentyseventeen": "^1.1"
2728
},
2829
"require-dev": {
2930
"roave/security-advisories": "dev-master",
@@ -33,8 +34,7 @@
3334
"squizlabs/php_codesniffer": "^2.9.0",
3435
"wp-coding-standards/wpcs": "dev-master",
3536
"phpunit/phpunit": "^6.1",
36-
"brain/monkey": "^1.4",
37-
"pantheon-systems/quicksilver-pushback": "~1"
37+
"brain/monkey": "^1.4"
3838
},
3939
"config": {
4040
"vendor-dir": "vendor",

composer.lock

Lines changed: 29 additions & 29 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pantheon.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ workflows:
1515
sync_code:
1616
after:
1717
- type: webphp
18-
description: Push changes back to GitHub if needed
18+
description: 'Push changes back to GitHub if needed'
1919
script: private/scripts/quicksilver/quicksilver-pushback/push-back-to-github.php

0 commit comments

Comments
 (0)