d00f9df2dd
- Delete ConditionDefinition, Transition types from workflow-protocol - Add Target type, change graph to Record<string, Record<string, Target>> - Remove conditions from WorkflowPayload and WORKFLOW_SCHEMA - Replace jsonata with mustache in workflow-moderator - Rewrite evaluate() to simple map lookup + mustache render - Update cli-workflow to use new 3-arg evaluate(graph, role, output) - 296 tests pass, 0 fail Phase 1 of #490 (closes #491)
32 lines
563 B
JSON
32 lines
563 B
JSON
{
|
|
"name": "@uncaged/workflow-moderator",
|
|
"version": "0.5.0",
|
|
"files": [
|
|
"src",
|
|
"dist",
|
|
"package.json"
|
|
],
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"bun": "./src/index.ts",
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"test": "bun test"
|
|
},
|
|
"dependencies": {
|
|
"@uncaged/workflow-protocol": "workspace:^",
|
|
"mustache": "^4.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/mustache": "^4.2.6",
|
|
"typescript": "^5.8.3"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
}
|
|
}
|