Skip to content

design: adapter packaging — subpath exports vs scoped packages #148

Description

@AngusHsu

Scope

Decide packaging for framework adapters BEFORE building them: subpath exports (idnumbers/zod) vs scoped packages (@idnumbers/zod).

Deciding factor: peer-dependency handling — subpaths force optional peerDeps onto the main package; scoped packages isolate them but add release/tooling overhead (monorepo or multi-repo).

Deliverable

Decision + rationale as a comment on this issue; if scoped packages win, note the monorepo tooling implications.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    spikeTime-boxed research/prototype; decision is the deliverable

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions