The ddd-master
monorepo is a collection of TypeScript packages designed to support Domain-Driven Design (DDD) architecture in your applications. It includes the following packages:
@ddd-master/result
: A package for handling success and failure results in DDD applications.@ddd-master/command-bus
: A package for implementing the command bus pattern in DDD applications.@ddd-master/query-bus
: A package for implementing the query bus pattern in DDD applications.
To use any of the packages in the ddd-master
monorepo, you can install them individually using npm. For example, to install the @ddd-master/result
package, you can run:
npm install @ddd-master/result
Similarly, you can install the @ddd-master/command-bus
and @ddd-master/query-bus
packages by replacing @ddd-master/result
with the respective package names.
The @ddd-master/result
package provides classes and types for handling success and failure results in DDD applications. It allows you to encapsulate the outcome of operations in a structured and type-safe manner. You can find more details about this package in the @ddd-master/result
README.
The @ddd-master/command-bus
package implements the command bus pattern in DDD applications. It provides a mechanism for decoupling command senders from command handlers, allowing you to handle commands in a centralized and scalable way. You can find more details about this package in the @ddd-master/command-bus
README.
The @ddd-master/query-bus
package implements the query bus pattern in DDD applications. It provides a mechanism for executing queries and retrieving query results in a centralized and efficient manner. You can find more details about this package in the @ddd-master/query-bus
README.
- Create new branch from
master
with namerelease/vX.X.X
- Update version in
package.json
andpackage-lock.json
files by command
npm run bump:patch:all
- Commit changes with message
chore: bump version to vX.X.X
- Create PR from
release/vX.X.X
tomaster
branch - Merge PR to
master
branch - Checkout into
master
branch and pull changes - Create new tag with name
vX.X.X
and push it to remote
git tag vX.X.X
git push origin vX.X.X
- Create new release from tag
vX.X.X
in GitHub
Contributions to the ddd-master
monorepo are welcome! Feel free to open issues or submit pull requests on the GitHub repository. Please follow the code of conduct when contributing.
The ddd-master
monorepo and its packages are open-source software licensed under the MIT License.