proudnerds-typo3 / irfaq

0 stars 9 forks source link

Add extension in Packagist #2

Open jpmschuler opened 6 years ago

jpmschuler commented 6 years ago

Thx for the public repository, this makes composer integration easier. Could you add a Packagist entry, this just takes a few minutes if using github. If configuring the github integration it's a "configure once, will update automatically" solution

Extensions on Packagist Once you added a composer.json file, it is highly recommended to register your extensions on Packagist. src:https://composer.typo3.org

josefglatz commented 5 years ago

As long as this is not fixed, you can "simulate" the package within your project's composer.json >>>DIRTY WORKAROUND<<<

    "repositories": [
        {
            "type": "package",
            "package": {
                "name": "netcreators/irfaq",
                "version": "1.7.12",
                "type": "typo3-cms-extension",
                "license": "GPL-2.0-or-later",
                "require": {
                    "typo3/cms-core": "^7.6.15 || ^8.7.0"
                },
                "replace": {
                    "irfaq": "self.version",
                    "typo3-ter/irfaq": "self.version"
                },
                "autoload": {
                    "psr-4": {
                        "Netcreators\\Irfaq\\": "Classes/"
                    },
                    "classmap": [ "class.ext_update.php" ]
                },
                "source": {
                    "url": "https://github.com/netcreators/irfaq.git",
                    "type": "git",
                    "reference": "66e4140536f9c3a568c59df542237cfb5d7de725"
                }
            }
        }
    ],