I'm trying to create an installation profile in D8. I want to add module dependencies to the profile composition file. (This profile is added to the site through the composer)
I have tried to run the command
the composer requires drupal / token
but I had the mistake
Can not find a version of the drupal / token package corresponding to your
minimal stability (stable). Require an explicit version
stress allowing the desired stability.
Is it possible to add dependencies to the composer.json profile or can it be done only via core composer.json?
Is the composer.json profile the right place to add dependencies?