- Fork this repo and clone the forked on your local environment
- Install pnpm
- Run
pnpm installto install all dependencies - Run
npx husky installto enable commit hooks - Start working on changes
_packages
\_classes
\_core
\_integration-test
\_nestjs
\_pojos
\_documentations
documentations: This is the documentations site powered by Docusaurus.classes:classesstrategycore:corepackagenestjs:nestjsintegrationpojos:pojosstrategyintegration-test: integration tests for all strategies
- Run
npm run testto run all test suites.
After you finish with the changes
- Run
git add .to stage all changes - Run
npm run committo start Conventional Commit flow- Pick one of the type of changes from the options: feat, fix, chore, docs etc...
- If you modify changes in
core,classes,nestjs,pojos, ortypes, please include at least one of this as thescope. Eg:feat(classes), orfix(core)etc...
@automapper/* follows SemVer (major.minor.patch versioning) and utilizes release-it to semi-automate the release process. The next version will be based on the type of changes from the commits
featwill issue aminorversion bump. Eg:1.0.0->1.1.0fix,perf, andrefactorwill issue apatchversion bump. Eg:1.0.0->1.0.1- When asked about BREAKING CHANGES during the Conventional Commit flow, the
majorversion will be bumped if you answer YES. Eg:1.0.0->2.0.0
CHANGELOG will be generated automatically by release-it based on the commits' messages. If you want to be thorough, please include some description of your changes in the PR so that I can manually add that to the CHANGELOG when we cut a new release.
When ready, please submit a PR.