drupal-contributions
drupal-contributions copied to clipboard
Lando tooling, events, and scripts to facilitate Drupal contributions.
Node.js 16 has been deprecated and Drupal Core JavaScript development now requires Node.js 18 https://www.drupal.org/node/3358623 Closes #83
Since [Drupal 10 requires composer 2.3.6 or higher](https://www.drupal.org/docs/system-requirements/composer-requirements) the install fails. Temporary fix is adding `composer_version: '2.3.8'` in `.lando.yml`: ``` services: appserver: composer_version: '2.3.8' ```
> Drupal 10.0 had a minimum version of Node.js 16 for core JavaScript development. Node.js 16 is end of life in September 2023, and so Drupal 10.1 will now require...
Fixes lando/drupal-contributions#84 by adding documentation to readme.
Many issues are using issue forks without posting a patch to the queue. How do we work on these within drupal-contributions?
I am looking at the drupal docs https://www.drupal.org/docs/automated-testing/phpunit-in-drupal/running-phpunit-tests#run-like-testbot. From what I see the testbot does run on the 8.x branch e.g. in .lando.yml we have php /app/web/core/scripts/run-tests.sh --php /usr/local/bin/php --url...
## Problem When you run a PHPUnit test, you get this warning: ``` $ lando phpunit web/core/tests/Drupal/Tests/Core/Password/PasswordHashingTest.php PHPUnit 9.5.26 by Sebastian Bergmann and contributors. Warning: Your XML configuration validates against...
To recreate spin up a Drupal 10 instance, download the project_browser module and run the test: ``` $ cd web $ composer require drupal/project_browser:1.0.x-dev@dev $ lando phpunit --group project_browser PHPUnit...
I'm trying to run on a single test file but I get this Stephens-MacBook-Pro:web $:lando phpunit core/modules/layout_builder/tests/src/FunctionalJavascript/BlockFilterTest.php PHPUnit 8.5.21 by Sebastian Bergmann and contributors. Testing Drupal\Tests\layout_builder\FunctionalJavascript\BlockFilterTest S 1 / 1...
Find a relevant contrib module patch for Drupal 10 and update [Test a Contrib Module Patch](https://github.com/lando/drupal-contributions/tree/10.x#test-a-contrib-module-patch) example in `README.md` file.