hiqdev / asset-packagist

Asset Packagist
https://asset-packagist.org
BSD 3-Clause "New" or "Revised" License
247 stars 24 forks source link

Treat `peerDependencies` like `dependencies` #77

Closed schmunk42 closed 4 years ago

schmunk42 commented 6 years ago

Installing jquery-contextmenu from https://github.com/swisnl/jQuery-contextMenu/blob/master/package.json should also install jQuery, but it's listed as peerDependencies.

From my understanding they should be treated the same.

Example composer.json:

{
    "name": "root/app",
    "require": {
        "npm-asset/jquery-contextmenu": "^2.6"
    },
    "repositories": [
        {
            "type": "composer",
            "url": "https://asset-packagist.org"
        }
    ]
}
SilverFire commented 6 years ago

https://stackoverflow.com/questions/18875674/whats-the-difference-between-dependencies-devdependencies-and-peerdependencies

github-actions[bot] commented 4 years ago

Stale issue message