chore: enforce folder module discipline in @uncaged/workflow #107

Merged
xiaoju merged 1 commits from chore/106-workflow-module-discipline into main 2026-05-08 01:39:49 +00:00
Owner

What

Apply the 4 folder module discipline rules to all 6 folders in packages/workflow/src/.

Changes

For each folder (cas, registry, bundle, extract, engine, util):

  • Created types.ts — all type definitions moved here
  • Created index.ts — pure re-exports only
  • Cross-folder imports now go through index.ts
  • src/index.ts re-exports from folder index.ts files

38 files changed, no logic changes.

Verification

  • bun run check
  • 93 tests pass, 0 fail

Closes #106

## What Apply the 4 folder module discipline rules to all 6 folders in `packages/workflow/src/`. ## Changes For each folder (cas, registry, bundle, extract, engine, util): - Created `types.ts` — all type definitions moved here - Created `index.ts` — pure re-exports only - Cross-folder imports now go through `index.ts` - `src/index.ts` re-exports from folder `index.ts` files 38 files changed, no logic changes. ## Verification - `bun run check` ✅ - 93 tests pass, 0 fail ✅ Closes #106
xiaoju added 1 commit 2026-05-08 01:37:37 +00:00
Each folder now has:
- types.ts for all type definitions
- index.ts with pure re-exports only
- Cross-folder imports go through index.ts

Closes #106
xiaoju merged commit 4ff1394224 into main 2026-05-08 01:39:49 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: uncaged/workflow#107