feat(util): create @uncaged/workflow-util package

Extract pure utility functions from workflow/src/util/ into standalone package.
Types (Result, ok, err) now come from @uncaged/workflow-protocol.

Contains: base32 encoding, ULID generation, structured logger,
storage-root helpers, refs-field normalization.

Ref: #143, closes #145
This commit is contained in:
2026-05-09 11:08:04 +08:00
parent 2cffaad127
commit bf0bc47a3f
9 changed files with 240 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
{
"name": "@uncaged/workflow-util",
"version": "0.1.0",
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./src/index.ts"
}
},
"dependencies": {
"@uncaged/workflow-protocol": "workspace:*"
},
"devDependencies": {
"typescript": "^5.8.3"
}
}