Skip to content
Snippets Groups Projects
Commit ae761549 authored by Theresa Grannum's avatar Theresa Grannum Committed by Adam G-H
Browse files

Issue #3285408 by Theresa.Grannum, phenaproxima: Update Composer Stager to 1.0.0-beta1 and unpin it

parent 34ce3718
No related branches found
No related tags found
1 merge request!337Issue #3285408: Update Composer Stager to 1.0.0-beta1 and unpin it
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
"require": { "require": {
"ext-json": "*", "ext-json": "*",
"drupal/core": "^9.2", "drupal/core": "^9.2",
"php-tuf/composer-stager": "0.5.0", "php-tuf/composer-stager": "^1@beta",
"composer/composer": "^2.2.12 || ^2.3.5", "composer/composer": "^2.2.12 || ^2.3.5",
"composer-runtime-api": "^2.0.9" "composer-runtime-api": "^2.0.9"
}, },
......
...@@ -150,6 +150,9 @@ END; ...@@ -150,6 +150,9 @@ END;
$workspace_dir = $this->getWorkspaceDirectory(); $workspace_dir = $this->getWorkspaceDirectory();
$template_dir = "composer/Template/$template"; $template_dir = "composer/Template/$template";
// Allow pre-release versions of dependencies.
$this->runComposer('composer config minimum-stability dev', $template_dir);
// Remove the packages.drupal.org entry (and any other custom repository) // Remove the packages.drupal.org entry (and any other custom repository)
// from the template's repositories section. We have no reliable way of // from the template's repositories section. We have no reliable way of
// knowing the repositories' names in advance, so we get that information // knowing the repositories' names in advance, so we get that information
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment