Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mrsauravsahu/blog-semver-monorepo-ref
Sample monorepo to demonstrate semver
https://github.com/mrsauravsahu/blog-semver-monorepo-ref
Last synced: 3 months ago
JSON representation
Sample monorepo to demonstrate semver
- Host: GitHub
- URL: https://github.com/mrsauravsahu/blog-semver-monorepo-ref
- Owner: mrsauravsahu
- Created: 2021-12-07T09:55:23.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-15T06:52:44.000Z (over 2 years ago)
- Last Synced: 2024-05-01T17:13:57.812Z (8 months ago)
- Language: JavaScript
- Size: 99.6 KB
- Stars: 4
- Watchers: 3
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# blog-semver-monorepo
A repo to demonstrate how to do semantic versioning in a monorepo with the help of [GitVersion](https://gitversion.net/)
## code organization
- Deployables are put in `apps` and `common` folder. The services with can be deployed to run the app are in `apps` folder.
- Libraries which are reusable within and outside this repo are placed in the `common` folder.## versioning
- Active development happens on `develop` branch.
- Merging Pull Requests on `develop` kicks of versioning with `alpha` suffixed tags, which can be used to deploy to Dev.
- To create stable releases, a release strategy is used.## release strategy
- Create a `release/X.Y.Z` branch from develop branch.
- Raise a Pull Request to `main` branch.
- The Pull Request body will be updated with the expected version bumps.
- Upon Pull Request merge, the stable releases are created and can be used to deploy to Dev and promoted to QA, and Prod.