github event-catalog/eventcatalog @eventcatalog/fitness@0.1.0

latest releases: @eventcatalog/linter@1.2.4, @eventcatalog/exporters@0.1.2, @eventcatalog/diff@0.1.6...
5 hours ago

Minor Changes

  • 20f3ed3: feat: architecture fitness functions. Write your architecture rules as *.fitness.ts files in a fitness/ folder (or next to a domain, system, service, message or data store), and run them with npx eventcatalog fitness check (or npx @eventcatalog/cli fitness check). Each function gets the resource it sits alongside and read-only access to the catalog through the SDK, returns the violations it finds, and the check prints the results, writes them to .eventcatalog/fitness/results.json and exits with 1 when a rule fails, so it can gate pull requests. New catalogs come with two starter fitness functions and an npm run fitness script.

Patch Changes

  • Updated dependencies [20f3ed3]
    • @eventcatalog/sdk@2.31.2

Don't miss a new eventcatalog release

NewReleases is sending notifications on new releases.