-
- Downloads
Merge remote-tracking branch 'origin/feature/adding-gitlabci' into bug/232
No related branches found
No related tags found
Showing
- .gitignore 12 additions, 0 deletions.gitignore
- .gitlab-ci.yml 5 additions, 0 deletions.gitlab-ci.yml
- composer.json 58 additions, 1 deletioncomposer.json
- phpcs.xml.dist 25 additions, 0 deletionsphpcs.xml.dist
- phpstan.neon 6 additions, 0 deletionsphpstan.neon
- phpunit.xml.dist 67 additions, 0 deletionsphpunit.xml.dist
.gitignore
0 → 100644
.gitlab-ci.yml
0 → 100644
... | ... | @@ -21,12 +21,69 @@ |
"slack": "#migrate", | ||
"source": "https://git.drupalcode.org/project/migrate_plus" | ||
}, | ||
"minimum-stability": "dev", | ||
"repositories": [ | ||
{ | ||
"type": "composer", | ||
"url": "https://packages.drupal.org/8" | ||
} | ||
], | ||
"suggest": { | ||
"sainsburys/guzzle-oauth2-plugin": "3.0 required for the OAuth2 authentication plugin", | ||
"ext-soap": "*" | ||
}, | ||
"require": { | ||
"php": ">=7.1" | ||
}, | ||
"require-dev": { | ||
"composer/installers": "^1", | ||
"drupal/core-composer-scaffold": "^8.7 || ^9.0", | ||
"cweagans/composer-patches": "~1.0", | ||
"drupal/core-recommended": "^8.7 || ^9.0", | ||
"drupal/core-dev": "^8.7 || ^9.0", | ||
"drush/drush": "^10", | ||
"mglaman/phpstan-drupal": "^0.12", | ||
"phpstan/phpstan-deprecation-rules": "^0.12", | ||
"php-parallel-lint/php-parallel-lint": "^1.2", | ||
"zaporylie/composer-drupal-optimizations": "^1.0" | ||
}, | ||
"config": { | ||
"preferred-install": "dist", | ||
"process-timeout": 36000 | ||
}, | ||
"scripts": { | ||
"si": "drush si -v --db-url=sqlite://sites/default/files/.sqlite testing", | ||
"phpcs": "PWD=$(pwd) && phpcs --runtime-set ignore_warnings_on_exit 1 --runtime-set ignore_errors_on_exit 1 --ignore=$PWD/web/,$PWD/vendor/", | ||
"phpcbf": "PWD=$(pwd) && phpcbf --runtime-set ignore_warnings_on_exit 1 --runtime-set ignore_errors_on_exit 1 --ignore=$PWD/web/,$PWD/vendor/", | ||
"lint": "parallel-lint --exclude web --exclude vendor .", | ||
"runserver": "drush runserver 0.0.0.0", | ||
"chromedriver": "chromedriver --port=9515 --verbose --whitelisted-ips --log-path=/tmp/chromedriver.log --no-sandbox", | ||
"create-symlinks": "cd web/modules/${PWD##*/} && find ../../.. -maxdepth 1 ! -name .git ! -name web ! -name vendor -print | while read file; do ln -s $file .; done", | ||
"unit": "phpunit --list-tests web/modules/${PWD##*/} && phpunit --verbose web/modules/${PWD##*/}", | ||
"phpstan": "phpstan analyse web/modules/${PWD##*/}", | ||
"post-update-cmd": [ | ||
"DIR=${PWD##*/} && rm -rf web/modules/$DIR && mkdir -p web/modules/$DIR", | ||
"@create-symlinks" | ||
] | ||
}, | ||
"minimum-stability": "dev", | ||
"extra": { | ||
"drush": { | ||
"services": { | ||
"drush.services.yml": "^9 || ^10" | ||
} | ||
}, | ||
"installer-paths": { | ||
"web/core": ["type:drupal-core"], | ||
"web/libraries/{$name}": ["type:drupal-library"], | ||
"web/modules/{$name}": ["type:drupal-module"], | ||
"web/profiles/{$name}": ["type:drupal-profile"], | ||
"web/themes/{$name}": ["type:drupal-theme"], | ||
"drush/{$name}": ["type:drupal-drush"] | ||
}, | ||
"drupal-scaffold": { | ||
"locations": { | ||
"web-root": "web/" | ||
} | ||
} | ||
} | ||
} |
phpcs.xml.dist
0 → 100644
phpstan.neon
0 → 100644
phpunit.xml.dist
0 → 100644
Please register or sign in to comment