ReviewOS

stacks/image-optimization

Repo structure: introduce a src/ directory

#3
Closed glennmichael123 opened this 9 days ago ·
9 days ago

Context

Tracking item from internal task list — the repo currently doesn't have a canonical src/ directory. Application/CLI code lives at the root.

Proposal

Add a src/ dir and migrate source files into it. Matches the convention of every other stacksjs lib (ts-images, ts-cache, clapp, etc.) and makes future packaging / multi-entry builds easier to wire up.

Acceptance

  • Source files moved under src/
  • package.json main/module/exports updated
  • tsconfig.json include/rootDir updated
  • Build still produces the same .dmg (and any future Windows/Linux artifacts — see #2)
  • No public API change

Notes

Marked optional in the original task drop — not urgent, but worth doing before the deps-tooling angle (separate issue) lands.

Sign in to comment on this issue.