File tree Expand file tree Collapse file tree 8 files changed +11
-11
lines changed Expand file tree Collapse file tree 8 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 55# # Description: Run eslint inside the web container
66# # Usage: eslint [flags] [args]
77# # Example: "ddev eslint"
8- # # ProjectTypes: drupal8,drupal9,drupal10
8+ # # ProjectTypes: drupal, drupal8,drupal9,drupal10
99# # ExecRaw: true
1010
1111if " $DDEV_DOCROOT /core/node_modules/.bin/eslint" --version > /dev/null ; then
Original file line number Diff line number Diff line change 55# # Description: Run nightwatch inside the web container
66# # Usage: nightwatch [flags] [args]
77# # Example: "ddev nightwatch"
8- # # ProjectTypes: drupal8,drupal9,drupal10
8+ # # ProjectTypes: drupal, drupal8,drupal9,drupal10
99# # ExecRaw: true
1010
1111yarn --cwd " $DDEV_DOCROOT /core" test:nightwatch " $DDEV_COMPOSER_ROOT /$DDEV_DOCROOT /modules/custom/" " $@ "
Original file line number Diff line number Diff line change 55# # Description: Run phpcbf inside the web container
66# # Usage: phpcbf [flags] [args]
77# # Example: "ddev phpcbf" or "ddev phpcbf -n"
8- # # ProjectTypes: drupal8,drupal9,drupal10
8+ # # ProjectTypes: drupal, drupal8,drupal9,drupal10
99# # ExecRaw: true
1010
1111if ! command -v phpcbf > /dev/null; then
Original file line number Diff line number Diff line change 55# # Description: Run phpcs inside the web container
66# # Usage: phpcs [flags] [args]
77# # Example: "ddev phpcs" or "ddev phpcs -n"
8- # # ProjectTypes: drupal8,drupal9,drupal10
8+ # # ProjectTypes: drupal, drupal8,drupal9,drupal10
99# # ExecRaw: true
1010
1111if ! command -v phpcs > /dev/null; then
1212 echo " phpcs is not available. You may need to 'ddev composer install'"
1313 exit 1
1414fi
15- test -e phpcs.xml.dist || curl -OL https://git.drupalcode.org/project/gitlab_templates/-/raw/default-ref/scripts /phpcs.xml.dist
16- phpcs -s --report-full --report-summary --report-source web/modules/custom " $@ "
15+ test -e phpcs.xml.dist || curl -OL https://git.drupalcode.org/project/gitlab_templates/-/raw/default-ref/assets /phpcs.xml.dist
16+ phpcs -s --report-full --report-summary --report-source web/modules/custom --ignore= * /.ddev/ * " $@ "
Original file line number Diff line number Diff line change 55# # Description: Run phpunit inside the web container
66# # Usage: phpunit [flags] [args]
77# # Example: "ddev phpunit" or "ddev phpunit --stop-on-failure"
8- # # ProjectTypes: drupal8,drupal9,drupal10
8+ # # ProjectTypes: drupal, drupal8,drupal9,drupal10
99# # ExecRaw: true
1010
1111if ! command -v phpunit > /dev/null; then
Original file line number Diff line number Diff line change 55# # Description: Expand composer.json and run composer install.
66# # Usage: poser [flags] [args]
77# # Example: "ddev poser"
8- # # ProjectTypes: drupal8,drupal9,drupal10
8+ # # ProjectTypes: drupal, drupal8,drupal9,drupal10
99# # ExecRaw: true
1010
1111export COMPOSER=composer.contrib.json
1212.ddev/commands/web/expand-composer-json " $DDEV_PROJECT_NAME "
1313composer install
1414rm composer.contrib.json composer.contrib.lock
1515yarn --cwd $DDEV_DOCROOT /core install
16- touch $DDEV_DOCROOT /core/.env
16+ touch $DDEV_DOCROOT /core/.env
Original file line number Diff line number Diff line change 55# # Description: Run stylelint inside the web container
66# # Usage: stylelint [flags] [args]
77# # Example: "ddev stylelint"
8- # # ProjectTypes: drupal8,drupal9,drupal10
8+ # # ProjectTypes: drupal, drupal8,drupal9,drupal10
99# # ExecRaw: true
1010
1111if yarn --cwd " $DDEV_DOCROOT /core" stylelint --version > /dev/null ; then
Original file line number Diff line number Diff line change 55# # Description: Symlink all root files/dirs into web.modules/custom/[PROJECT_NAME]
66# # Usage: symlink-project [flags] [args]
77# # Example: "ddev symlink-project"
8- # # ProjectTypes: drupal8,drupal9,drupal10
8+ # # ProjectTypes: drupal, drupal8,drupal9,drupal10
99# # ExecRaw: true
1010
1111export _WEB_ROOT=$DDEV_DOCROOT
You can’t perform that action at this time.
0 commit comments