Closed Defcon0 closed 6 years ago
OK, I found the issue. My package.json in the library didn't have a name and a version set. So foxy set version in the generated package.json file to "dev-master" (which was the version constraint in my composer.json).
@francoispluchino Maybe foxy should set the version in the generated package.json to 1.0.0 if no numeric version has been set in the php lib's package.json?
The package.json
file must be respect the NPM definition of package, and not the Composer definition. Glad to know that you have solved your problem.
Hello,
we just saw this plugin and would love to integrate it into our libraries. What I did is the following:
extra
flag foxy: true in the library's composer.jsonAfter running composer update, I get:
The generated file
package.json
in the vendor/foxy folder isIn case you want to check the files in our library, it's https://github.com/heimrichhannot/contao-list-bundle
Thanks in advance.
Bye