flaviostutz / monotag

Semantic versioning for monorepos based on tag prefix, path prefix, affected files and conventional commit
MIT License
9 stars 2 forks source link

Feature Request: Allow `monotag tag --path` tags to keep more than one level of directories #27

Open PalmEmanuel opened 3 months ago

PalmEmanuel commented 3 months ago

Problem being solved

I have a repository of documents as markdown with different folders, where each of the folders end with the same structure.

Example:

Proposal

Together with #26 I would like to be able to point at a specific file in a path and get a tag that cannot collide with a file that exists in another directory of the same name.

My suggestion is to allow monotag tag --path to keep more than one level of tag. In the above example it would allow combinations like this (assuming other mentioned PR is implemented too):


I can also try to implement the functionality myself, but will need some guidance on where to start and how to set up the environment properly, since typescript isn't my strong suite.