phabelio / phabel

PHP transpiler - Write and deploy modern PHP 8 code, today.
MIT License
242 stars 8 forks source link

Docs - Clarify what publish does #4

Closed ondrejmirtes closed 3 years ago

ondrejmirtes commented 3 years ago

Hi, I don't understand the magic behind the publish command. The README says:

You can publish this code as a Composer package and have it automatically transpile on installation

How is this achieved?

danog commented 3 years ago

I'm whipping up some more detailed docs right now, in a nutshell, it takes the latest tag, and creates two subtags (tag.9999, tag.9998), one with no changes, and the other with phabel added as a main dependency, and all dependencies moved to a separate composer section to allow transpilation upon installation using the Composer plugin.

danog commented 3 years ago

Updated the docs, documenting all CLI API commands! https://github.com/phabelio/phabel