fix(cli): keep bin pointing to src/cli.ts, add src to files

The actual issue was that 'files' only included dist/, so src/ was
excluded from the published package. bun can run .ts natively — no
need to point bin at compiled dist/cli.js.

Fix: add 'src' to files array so it ships with the package.
This commit is contained in:
2026-05-13 16:43:07 +08:00
parent 10899364d4
commit e4900b6fd6
+2 -1
View File
@@ -2,12 +2,13 @@
"name": "@uncaged/cli-workflow",
"version": "0.3.18",
"files": [
"src",
"dist",
"package.json"
],
"type": "module",
"bin": {
"uncaged-workflow": "dist/cli.js"
"uncaged-workflow": "src/cli.ts"
},
"dependencies": {
"@uncaged/workflow-gateway": "workspace:*",