You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suggestion is to remove the -pX suffix, as it is not crucial and sometimes makes problems, e.g. if you want to install the module on same Version, but lower patch level.
Current Implementation
Currently the following output is possible, here with Magento 2 EE 2.4.5-p5:
`adite@bbc-web:/var/www/html$ mr2 dev:module:detect-composer-dep vendor/n98/ext.magento2.n98.mediaassets
Module: N98_MediaAssets
Directory: /var/www/html/vendor/n98/ext.magento2.n98.mediaassets
You should adjust the composer.json require section:
Recommended composer.json:
"require": {
"magento/module-backend": "^102.0.5-p2",
"magento/module-catalog": "^104.0.5-p5",
"magento/module-customer": "^103.0.5-p5",
"magento/module-downloadable": "^100.4.5",
"magento/module-integration": "^100.4.5",
"magento/module-media-storage": "^100.4.4",
"magento/module-store": "^101.1.5-p2",
"magento/module-ui": "^101.2.5",
"psr/log": "^1.1.4"
}
`
Suggested Enhancement
Suggestion is to remove the -pX suffix, as it is not crucial and sometimes makes problems, e.g. if you want to install the module on same Version, but lower patch level.
So the output in my example should look like:
`adite@bbc-web:/var/www/html$ mr2 dev:module:detect-composer-dep vendor/n98/ext.magento2.n98.mediaassets
Module: N98_MediaAssets
Directory: /var/www/html/vendor/n98/ext.magento2.n98.mediaassets
You should adjust the composer.json require section:
Recommended composer.json:
"require": {
"magento/module-backend": "^102.0.5",
"magento/module-catalog": "^104.0.5",
"magento/module-customer": "^103.0.5",
"magento/module-downloadable": "^100.4.5",
"magento/module-integration": "^100.4.5",
"magento/module-media-storage": "^100.4.4",
"magento/module-store": "^101.1.5",
"magento/module-ui": "^101.2.5",
"psr/log": "^1.1.4"
}
`
Expected Benefits
Better installability of the module on same versions of Magento 2, but with lower patch level.
The text was updated successfully, but these errors were encountered: