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,44 @@
aliases:
debug:container:
- cod
config:edit:
- cdit
cron:execute:
- cre
database:connect:
- sqlc
database:query:
- sqlq
debug:database:log:
- ws
debug:multisite:
- msd
debug:router:
- rod
debug:theme:
- tde
debug:update:
- upd
multisite:new:
- sn
router:rebuild:
- ror
site:status:
- st
user:login:clear:attempts:
- uslca
user:login:url:
- usli
- uli
user:password:hash:
- usph
user:password:reset:
- upsr
views:disable:
- vdi
cache:rebuild:
- cc
update:execute:
- updb
server:
- rs

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

View file

@ -0,0 +1,37 @@
application:
language: 'en'
autowire:
commands:
forced:
_completion:
class: '\Stecman\Component\Symfony\Console\BashCompletion\CompletionCommand'
name:
elephpant:
class: '\Drupal\Console\Core\Command\Exclude\ElephpantCommand'
arguments: ['@app.root', '@console.renderer', '@console.configuration_manager']
druplicon:
class: '\Drupal\Console\Core\Command\Exclude\DrupliconCommand'
arguments: ['@app.root', '@console.renderer', '@console.configuration_manager']
commands:
aliases: ~
defaults: ~
mappings: ~
languages:
en: 'English'
es: 'Español'
ca: 'Català'
fr: 'Français'
ko: '한국어'
hi: 'हिन्दी'
hu: 'Magyar'
id: 'Bahasa Indonesia'
ja: '日本語'
mr: 'मराठी'
pa: 'ਪੰਜਾਬੀ'
pt-br: 'Português'
ro: 'Romanian'
ru: 'pусский язык'
tl: 'Tagalog'
vn: 'Tiếng Việt'
zh-hans: '简体中文'
zh-hant: '繁體中文'

View file

@ -0,0 +1,116 @@
commands:
config:
config-delete: 'config:delete'
config-edit: 'config:edit'
config-export: 'config:export'
config-get: 'debug:config CONFIG_NAME'
config-import: 'config:import'
config-list: 'debug:config'
config-pull: ~
config-set: 'config:override'
core:
archive-dump: ~
archive-restore: ~
core-cli: 'shell'
core-config: ~
core-cron: 'cron:execute'
core-execute: 'exec'
core-init: 'init'
core-quick-drupal: 'quick:start'
core-requirements: 'site:status'
core-rsync: ~
core-status: 'site:status'
core-topic: ~
drupal-directory: ~
entity-updates: 'update:entities'
help: 'help'
image-derive: ~
image-flush: 'image:styles:flush'
php-eval: ~
php-script: ~
queue-list: 'debug:queue'
queue-run: 'queue:run'
shell-alias: ~
site-alias: 'debug:site'
site-install: 'site:install'
site-set: ~
site-ssh: ~
twig-compile: ~
updatedb: 'update:execute'
updatedb-status: 'debug:update'
version: '--version'
field:
field-clone: ~
field-create: ~
field-delete: ~
field-info: 'field:info'
field-update: ~
language:
language-add: 'locale:language:add'
language-disable: 'locale:language:delete'
make:
make: ~
make-convert: ~
make-generate: ~
make-lock: ~
make-update: ~
other:
registry-rebuild: 'cache:rebuild all'
pm:
pm-disable: 'module:uninstall, theme:uninstall'
pm-download: 'module:download, theme:download'
pm-enable: 'module:install, theme:install'
pm-info: ~
pm-list: 'debug:module, debug:theme'
pm-projectinfo: ~
pm-refresh: ~
pm-releasenotes: ~
pm-releases: ~
pm-uninstall: 'module:uninstall, theme:uninstall'
pm-update: 'module:update, theme:update'
pm-updatecode: ~
pm-updatestatus: ~
role:
role-add-perm: ~
role-create: ~
role-delete: ~
role-list: ~
role-remove-perm: ~
runserver:
runserver: 'server'
sql:
sql-cli: 'database:client'
sql-connect: 'database:connect'
sql-create: ~
sql-drop: 'database:drop'
sql-dump: 'database:dump'
sql-query: 'database:query'
sql-sanitize: ~
sql-sync: ~
search:
search-index: ~
search-reindex: ~
search-status: ~
site_audit:
cache-clear: 'cache:rebuild'
cache-get: ~
cache-rebuild: 'cache:rebuild'
cache-set: ~
state:
state-delete: 'state:delete'
state-get: 'debug:state'
state-set: 'state:override'
user:
user-add-role: 'user:role'
user-block: ~
user-cancel: ~
user-create: 'user:create'
user-information: ~
user-login: 'user:login:url'
user-password: 'user:password:reset'
user-remove-role: 'user:role'
user-unblock: ~
watchdog:
watchdog-delete: 'database:log:clear'
watchdog-list: 'database:log:poll'
watchdog-show: 'debug:database:log'

View file

@ -0,0 +1,29 @@
mappings:
breakpoints:debug: debug:breakpoints
cache:context:debug: debug:cache:context
chain:debug: debug:chain
config:debug: debug:config
config:settings:debug: debug:config:settings
config:validate:debug: debug:config:validate
container:debug: debug:container
cron:debug: debug:cron
database:log:debug: debug:database:log
database:table:debug: debug:database:table
entity:debug: debug:entity
event:debug: debug:event
image:styles:debug: debug:image:styles
libraries:debug: debug:libraries
module:debug: debug:module
multisite:debug: debug:multisite
permission:debug: debug:permission
plugin:debug: debug:plugin
queue:debug: debug:queue
router:debug: debug:router
settings:debug: debug:settings
site:debug: debug:site
state:debug: debug:state
theme:debug: debug:theme
update:debug: debug:update
user:debug: debug:user
views:debug: debug:views
views:plugins:debug: debug:views:plugins

View file

@ -0,0 +1,25 @@
requirements:
php:
required: 5.5.9
configurations:
required:
- date.timezone: 'America/Tijuana'
- memory_limit: 1024M
recomended: {}
extensions:
required:
- date
- dom
- filter
- gd
- hash
- json
- pcre
- pdo
- session
- SimpleXML
- SPL
- tokenizer
- xml
- curl
recommended: {}

View file

@ -0,0 +1,38 @@
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/*
* This file implements rewrite rules for PHP built-in web server.
*
* See: http://www.php.net/manual/en/features.commandline.webserver.php
*
* If you have custom directory layout, then you have to write your own router
* and pass it as a value to 'router' option of server:run command.
*
* @author: Michał Pipa <michal.pipa.xsolve@gmail.com>
* @author: Albert Jessurum <ajessu@gmail.com>
*/
// Workaround https://bugs.php.net/64566
if (ini_get('auto_prepend_file') && !in_array(realpath(ini_get('auto_prepend_file')), get_included_files(), true)) {
include ini_get('auto_prepend_file');
}
if (is_file($_SERVER['DOCUMENT_ROOT'].DIRECTORY_SEPARATOR.$_SERVER['SCRIPT_NAME'])) {
return false;
}
$_SERVER = array_merge($_SERVER, $_ENV);
$_SERVER['SCRIPT_FILENAME'] = $_SERVER['DOCUMENT_ROOT'].DIRECTORY_SEPARATOR.'index.php';
// Since we are rewriting to index.php, adjust SCRIPT_NAME and PHP_SELF accordingly
$_SERVER['SCRIPT_NAME'] = DIRECTORY_SEPARATOR.'index.php';
$_SERVER['PHP_SELF'] = DIRECTORY_SEPARATOR.'index.php';
require 'index.php';

View file

@ -0,0 +1,45 @@
configurations:
system.performance:
cache.page.use_internal:
dev: false
prod: true
css.preprocess:
dev: false
prod: true
css.gzip:
dev: false
prod: true
js.preprocess:
dev: false
prod: true
js.gzip:
dev: false
prod: true
response.gzip:
dev: false
prod: true
views.settings:
ui.show.sql_query.enabled:
dev: true
prod: false
ui.show.performance_statistics:
dev: true
prod: false
system.logging:
error_level:
dev: all
prod: none
services:
http.response.debug_cacheability_headers:
dev: true
prod: false
twig.config:
debug:
dev: true
prod: false
auto_reload:
dev: true
prod: false
cache:
dev: true
prod: true