|
23 | 23 | "bin": [
|
24 | 24 | "drush"
|
25 | 25 | ],
|
| 26 | + "repositories": { |
| 27 | + "drupal_org": { |
| 28 | + "type": "composer", |
| 29 | + "url": "https://packages.drupal.org/8" |
| 30 | + } |
| 31 | + }, |
26 | 32 | "require": {
|
27 | 33 | "php": ">=5.6.0",
|
28 | 34 | "ext-dom": "*",
|
29 |
| - "chi-teck/drupal-code-generator": "^1.24.0", |
| 35 | + "chi-teck/drupal-code-generator": "^1.26.1", |
30 | 36 | "composer/semver": "^1.4",
|
31 | 37 | "consolidation/annotated-command": "^2.8.1",
|
32 | 38 | "consolidation/config": "^1.1.0",
|
|
51 | 57 | "lox/xhprof": "dev-master",
|
52 | 58 | "g1a/composer-test-scenarios": "^2.2.0",
|
53 | 59 | "phpunit/phpunit": "^4.8.36|^5.5.4",
|
54 |
| - "squizlabs/php_codesniffer": "^2.7" |
| 60 | + "squizlabs/php_codesniffer": "^2.7", |
| 61 | + "composer/installers": "^1.2", |
| 62 | + "cweagans/composer-patches": "~1.0", |
| 63 | + "webflo/drupal-core-strict": "8.6.x-dev", |
| 64 | + "drupal/empty_theme": "1.0", |
| 65 | + "drupal/devel": "^1.0@RC", |
| 66 | + "drupal/alinks": "1.0.0" |
55 | 67 | },
|
56 | 68 | "autoload": {
|
57 | 69 | "psr-4": {
|
|
69 | 81 | "optimize-autoloader": true,
|
70 | 82 | "preferred-install": "dist",
|
71 | 83 | "sort-packages": true,
|
| 84 | + "process-timeout": 2400, |
72 | 85 | "platform": {
|
73 | 86 | "php": "5.6"
|
74 | 87 | }
|
|
91 | 104 | "sami-install": "mkdir -p $HOME/bin && curl --output $HOME/bin/sami.phar http://get.sensiolabs.org/sami.phar && chmod +x $HOME/bin/sami.phar",
|
92 | 105 | "scenario": "scenarios/install",
|
93 | 106 | "unit": "phpunit --colors=always",
|
94 |
| - "functional": "./unish.phpunit.php", |
| 107 | + "functional": "phpunit --colors=always --configuration tests", |
95 | 108 | "post-update-cmd": [
|
96 | 109 | "create-scenario isolation --autoload-dir isolation --autoload-dir internal-copy --keep '\\(psr/log\\|consolidation/config\\|site-alias\\|var-dumper\\|symfony/finder\\|drupal-finder\\|path-util\\|sebastian/version\\|xhprof\\)' 'phpunit/phpunit:^5.5.4'",
|
97 | 110 | "create-scenario isolation-phpunit4 --base isolation --autoload-dir isolation --autoload-dir internal-copy 'phpunit/phpunit:^4.8.36'"
|
98 | 111 | ]
|
99 | 112 | },
|
100 | 113 | "extra": {
|
| 114 | + "installer-paths": { |
| 115 | + "sut/core": ["type:drupal-core"], |
| 116 | + "sut/libraries/{$name}": ["type:drupal-library"], |
| 117 | + "sut/modules/unish/{$name}": ["drupal/devel"], |
| 118 | + "sut/themes/unish/{$name}": ["drupal/empty_theme"], |
| 119 | + "sut/modules/contrib/{$name}": ["type:drupal-module"], |
| 120 | + "sut/profiles/contrib/{$name}": ["type:drupal-profile"], |
| 121 | + "sut/themes/contrib/{$name}": ["type:drupal-theme"], |
| 122 | + "sut/drush/contrib/{$name}": ["type:drupal-drush"] |
| 123 | + }, |
| 124 | + "patches": { |
| 125 | + "drupal/core": { |
| 126 | + "Allow updating modules with new service dependencies https://www.drupal.org/project/drupal/issues/2863986": "https://www.drupal.org/files/issues/2863986-2-49.patch" |
| 127 | + } |
| 128 | + }, |
101 | 129 | "branch-alias": {
|
102 | 130 | "dev-master": "9.x-dev"
|
103 | 131 | }
|
|
0 commit comments