Update Composer, update everything

This commit is contained in:
Oliver Davies 2018-11-23 12:29:20 +00:00
parent ea3e94409f
commit dda5c284b6
19527 changed files with 1135420 additions and 351004 deletions

View file

@ -0,0 +1,23 @@
# How to use
# develop:contribute --drupal=/path/to/drupal-directory --code=/path/to/code-directory
command:
name: develop:contribute
description: 'Download Drupal + Drupal Console to contribute.'
vars:
repository: drupal-composer/drupal-project:8.x-dev
commands:
- command: exec
arguments:
bin: composer create-project {{repository}} {{drupal}} --prefer-dist --no-progress --no-interaction --no-install
- command: exec
arguments:
bin: composer require drupal/console-develop --dev --working-dir={{drupal}} --no-update
- command: exec
arguments:
bin: composer install --working-dir={{drupal}}
- command: exec
arguments:
bin: drupal site:install standard --root={{drupal}} --db-type="sqlite" --no-interaction
- command: exec
arguments:
bin: drupal develop:create:symlinks --code-directory={{code}} --root={{drupal}}

View file

@ -0,0 +1,27 @@
# How to use
# quick:start --directory=/path/to/drupal-project/
# quick:start --directory=/path/to/drupal-project/ --profile=minimal
# quick:start --repository=weknowinc/drupal-project --directory=/path/to/drupal-project/ --profile=standard
command:
name: quick:start
description: 'Download, install and serve a new Drupal project'
vars:
repository:
- weknowinc/drupal-project
- drupal-composer/drupal-project:8.x-dev
- acquia/lightning-project
- acquia/reservoir-project
profile: standard
commands:
# Create Drupal project using DrupalComposer
- command: exec
arguments:
bin: composer create-project {{repository}} {{directory}} --prefer-dist --no-progress --no-interaction
# Install Drupal
- command: exec
arguments:
bin: drupal site:install {{profile}} --root={{directory}} --db-type="sqlite" --no-interaction
# Start PHP built-in server
- command: exec
arguments:
bin: drupal server --root={{directory}}

View file

@ -0,0 +1,18 @@
# How to use
# site:new --directory=/path/to/drupal-project/
# site:new --repository=weknowinc/drupal-project --directory=/path/to/drupal-project/
command:
name: site:new
description: 'Download a new Drupal project'
vars:
repository:
- weknowinc/drupal-project
- drupal-composer/drupal-project:8.x-dev
- acquia/lightning-project
- acquia/reservoir-project
- drupal/drupal
commands:
# Create Drupal project using Composer
- command: exec
arguments:
bin: composer create-project {{repository}} {{directory}} --prefer-dist --no-progress --no-interaction