-
Notifications
You must be signed in to change notification settings - Fork 15
Description
Hi Benjamin, to install sitepackage with composer i have added to my composer.json
"repositories": [ {"type": "artifact", "url": "localRepository/"} ], "require": { "vendor/name": "^1" }
From https://sitepackagebuilder.com/ created sitepackage "name.zip" has been copied in my local directory "localRepository".
composer update get's an error alert: [UnexpectedValueException] Package / has no version defined.
I have added in the composer.json in the zip file: "version": "1"
After I put the changed composer.json back into the zip archive, the sitepackage was successfully installed with composer update.
From my point of view it would make sense if the version information of the sitepackagebuilder would not only be entered in ext_emconf.php but also in composer.json to allow a smooth installation with composer.
Thanks a lot
Ulrich