semver
                                
                                 semver copied to clipboard
                                
                                    semver copied to clipboard
                            
                            
                            
                        Is there any working example?
Hi!
I honestly tried to understand how this extension works - but my CI/CD just keeps failing - moreover - it's not clear what happens on the project side.
It would be nice to find some playground/example with some steps to repeat to get it working.
May I ask someone please to set up a really dummy project which we can fork and run it following certain steps.
Thanks!
Hi there,
feel you, had also some trouble setting up CI and CD. Maybe this repo helps you. I have a working solution, which is ok-ish for my needs right now... with some Problems to fix e.g. commit messages are not added in the changelog, but maybe it gives you a starting point.
Add this target to your libs project.json (it uses the angular preset, change it to your needs):
"version": { "executor": "@jscutlery/semver:version", "options": { "preset": "angular", "commitMessageFormat": "build(${projectName}): release version ${version} [skip ci]", "postTargets": ["common:deploy"] } }
and in your release pipeline run this command:
npx nx affected -t version --parallel=3
Thanks man - will go through. Meanwhile I've came with my own approach so far. I guess it's pretty much different from what current plugin delivers and I'm not sure I follow the philosophy. So that's why to understand how it should work I'd like to read some docs/article describing the methodology first of maintaining a monorepo and publishing packages