Skip to content

Commit d9f53c6

Browse files
committed
SDC - Error on build - Composer #188
1 parent ff794ea commit d9f53c6

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,11 @@ back:
6969
ifeq ($(INSTALL_DEV_DEPENDENCIES), TRUE)
7070
@echo "INSTALL_DEV_DEPENDENCIES=$(INSTALL_DEV_DEPENDENCIES)"
7171
@echo "Installing composer dependencies, including dev ones"
72-
$(call php, composer install -o)
72+
$(call php, composer install --prefer-dist -o)
7373
else
7474
@echo "INSTALL_DEV_DEPENDENCIES set to FALSE or missing from .env"
7575
@echo "Installing composer dependencies, without dev ones"
76-
$(call php, composer install -o --no-dev)
76+
$(call php, composer install --prefer-dist -o --no-dev)
7777
endif
7878
$(call php, composer create-required-files)
7979

composer.json

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,17 @@
2828
}
2929
},
3030
{
31-
"type": "vcs",
32-
"url": "https://git.drupalcode.org/project/panels_everywhere.git"
31+
"type": "package",
32+
"package": {
33+
"name": "drupal/panels_everywhere",
34+
"version": "dev-8.x-4.x",
35+
"type": "drupal-module",
36+
"source": {
37+
"url": "https://git.drupalcode.org/project/panels_everywhere.git",
38+
"type": "git",
39+
"reference": "8.x-4.x"
40+
}
41+
}
3342
}
3443
],
3544
"require": {
@@ -89,6 +98,8 @@
8998
"config": {
9099
"sort-packages": true,
91100
"preferred-install": {
101+
"drupal/lb_ux": "source",
102+
"drupal/panels_everywhere": "source",
92103
"*": "dist"
93104
}
94105
},

0 commit comments

Comments
 (0)