UNPKG

@codeforbreakfast/eventsourcing-commands

Version:

Wire command validation and dispatch for event sourcing systems - External boundary layer with schema validation

82 lines (81 loc) 2.3 kB
{ "name": "@codeforbreakfast/eventsourcing-commands", "version": "0.4.4", "description": "Wire command validation and dispatch for event sourcing systems - External boundary layer with schema validation", "type": "module", "main": "./dist/index.js", "module": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "default": "./dist/index.js" }, "./package.json": "./package.json" }, "files": [ "dist", "src" ], "scripts": { "build": "bun build ./src/index.ts --outdir ./dist --target node --format esm --external effect --external @effect/* --external @codeforbreakfast/* && bun x tsc", "test": "bun test", "test:watch": "bun test --watch", "lint": "eslint . --ext .ts,.tsx", "typecheck": "tsc --noEmit", "clean": "rm -rf dist", "publish:package": "npm publish --access public", "validate:pack": "bun pm pack --dry-run", "check:publishable": "npm view $npm_package_name@$npm_package_version version >/dev/null 2>&1 && exit 1 || exit 0", "validate:docs": "bun ../../scripts/validate-markdown-examples.ts" }, "keywords": [ "cqrs", "commands", "command-query-separation", "event-sourcing", "domain-driven-design", "ddd", "effect", "effect-ts", "functional-programming", "fp", "typescript", "type-safe", "schemas", "domain-modeling" ], "author": "Code for Breakfast", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/CodeForBreakfast/eventsourcing", "directory": "packages/eventsourcing-commands" }, "bugs": { "url": "https://github.com/codeforbreakfast/eventsourcing/issues" }, "homepage": "https://github.com/codeforbreakfast/eventsourcing#readme", "peerDependencies": { "effect": "^3.17.0" }, "dependencies": { "@codeforbreakfast/eventsourcing-store": "workspace:*", "type-fest": "5.0.1" }, "devDependencies": { "@codeforbreakfast/buntest": "workspace:*", "@types/node": "24.7.1", "effect": "3.18.4", "typescript": "5.9.3", "eslint": "9.37.0" }, "publishConfig": { "access": "public" }, "sideEffects": false, "engines": { "node": ">=18.0.0" } }