Skip to content

Commit 45b9f7b

Browse files
authored
Merge pull request #17 from rfay/20240324_yarn_problems
Handle new yarn 4 requirement
2 parents 53ef317 + 0732db6 commit 45b9f7b

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ git clone https://git.drupalcode.org/project/drupal.git drupal
77
cd drupal
88
ddev config --project-type=drupal10
99
ddev start
10+
ddev corepack enable
1011
ddev get justafish/ddev-drupal-core-dev
1112
ddev restart
1213
ddev composer install

install.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ post_install_actions:
2626
- cp core-dev/gitignore ../.gitignore
2727
- mkdir -p ../test_output
2828
- chmod +w ../test_output
29-
- cd ../ && ddev exec yarn --cwd="core"
29+
- ddev exec corepack enable
30+
- cd ../core && ddev yarn
3031

3132
removal_actions:
3233
- rm core/phpunit.xml

web-build/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
#ddev-generated
2-
RUN sudo apt-get update && sudo apt-get install chromium-driver -y
2+
# Note that the chromium-driver install could be moved to webimage_extra_packages
3+
RUN sudo apt-get update && sudo apt-get install chromium-driver -y
4+
# This will not be necessary in DDEV v1.23+
5+
RUN corepack enable

0 commit comments

Comments
 (0)