Problem/Motivation
See https://www.drupal.org/node/3174472 – Drupal Project templates no longer use minimum-stability "dev"
// @todo drupal/recommended-project minimum stability is now stable
// add composer config minimum-stability dev and prefer-stable true
$commands[] = sprintf('composer -n create-project drupal/recommended-project:%s stm --no-install', $parameters['drupal_core_version']);
Without changing anything -dev, @alpha, @beta, @rc will fail.
Comments
Comment #2
mglamanRequired tasks are to run the following Composer commands