Magento – what is composer.json should be for magento 2

magento2

From today marketplace start rejects my modules by issues in composer, it's look like:

Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

Problem 1

  • The requested package sy/callback 0.1.2 exists as sy/callback[0.1.0, 0.1.1] but these are rejected by your constraint.

Installation failed, reverting ./composer.json to its original content.

[Pipeline] }

[Pipeline] // stage

[Pipeline] sh

[DockerOperationsPHP71Magento22CE] Running shell script

  • echo Failure

Failure

What is need to do? anybody)

My composer.json is:

{
    "name": "sy/callback",
    "description": "Extension",
    "license": [
        "OSL-3.0"
    ],
    "type": "magento2-module",
    "version": "0.1.2",
    "authors": [
        {
            "name": "Slava Yurthev",
            "email": "slavik-iii@ukr.net",
            "homepage": "https://github.com/SlavaYurthev/",
            "role": "Developer"
        }
    ],
    "autoload": {
        "files": [ "registration.php" ],
        "psr-4": {
            "SY\\Callback\\": ""
        }
    }
}

UPDATE:

Magento Support Answer:

Hi Slava,

We have identified a bug within our install automated testing and
pushed a fix to production this morning. We are going to rerun the
tests today for affected extensions (I added your extension to this
list). You will see a separate email from us that will say either that
you passed or failed (for a valid reason). No action is required on
your part. Just be on the lookout for the email.

Best Answer

When I visit your module I can't see any tags : https://github.com/SlavaYurthev/Callback-M2/tags

Have you tried actually tagging your latest commit with 0.1.2 ?

Related Topic