baumrock / RockMigrations

The Ultimate Automation and Deployment-Tool for ProcessWire
MIT License
33 stars 10 forks source link

I don't think the modules directory can detect this way of presenting the version number for the module. #21

Closed solonmedia closed 1 year ago

solonmedia commented 1 year ago

https://github.com/baumrock/RockMigrations/blob/1089f625048c4c68e883e46d1d57d7153c155bf2/RockMigrations.info.php#L7

For modules that use this method now to derive the module version from a local file, the module directory offers no answer for the latest module version:

image

BernhardBaumrock commented 1 year ago

Hi @solonmedia thx for the report! I've already asked Ryan to add a feature to the modules directory to parse version numbers from package.json if one exists: https://github.com/processwire/processwire-issues/issues/1690