Skip to content

Commit 6bdd574

Browse files
committed
Changed themename and added node container
1 parent 1b8b194 commit 6bdd574

File tree

3 files changed

+19
-2
lines changed

3 files changed

+19
-2
lines changed

composer.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,12 @@
9393
"type:drupal-custom-theme"
9494
]
9595
},
96+
"patches": {
97+
"drupal/core": {
98+
"Add an Autowire trait for plugins (https://www.drupal.org/project/drupal/issues/3294266)": "https://www.drupal.org/files/issues/2023-08-18/3294266-24.patch",
99+
"Disable forced configuration langcode (https://www.drupal.org/project/drupal/issues/3150540)": "https://www.drupal.org/files/issues/2024-08-06/3150540-43-MR9103-11.x.diff"
100+
}
101+
},
96102
"drupal-core-project-message": {
97103
"include-keys": [
98104
"homepage",

deploy-templates/Taskfile.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,10 @@ tasks:
2727
build-site:new:
2828
desc: Build a new site with a custom theme
2929
cmds:
30-
- task drush -- site:install minimal -y
31-
- task compose -- run phpfpm php /app/web/core/scripts/drupal generate-theme {{.THEMENAME}} --name="{{.THEMENAME_READABLE}}" --path="themes/custom" --starterkit=starterkit_project_theme
30+
- task compose -- up --detach
31+
- task composer -- install
32+
- task drush -- site:install minimal -y
33+
- task compose -- run phpfpm php /app/web/core/scripts/drupal generate-theme {{.THEMENAME}} --name="{{.THEMENAME_READABLE}}" --path="themes/custom" --starterkit=starterkit_project_theme
3234
requires:
3335
vars:
3436
- THEMENAME

docker-compose.override.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11
services:
2+
node:
3+
image: node:20
4+
profiles:
5+
# Used only to build assets
6+
- dev
7+
working_dir: /app
8+
volumes:
9+
- .:/app
10+
211
phpfpm:
312
environment:
413
- PHP_MAX_EXECUTION_TIME=60

0 commit comments

Comments
 (0)