Skip to content

Investigate source-first workspace package consumption #263

Description

@joshuasilva414

What to build

Produce a tested recommendation for developing the HackKit Web App against workspace package source without manually generating dist artifacts first.

The investigation should distinguish the fast inner-loop development workflow from production builds, package publishing, and executable delivery. It should identify where compiled artifacts remain a necessary boundary rather than assuming every package can use the same approach.

Acceptance criteria

  • Map where development, typechecking, tests, HackKit CLI execution, and package publishing currently depend on generated dist artifacts.
  • Compare viable source-first approaches and document their tradeoffs, including compatibility with the current pnpm, Turbo, TypeScript, and Next.js setup.
  • Prototype the strongest approach across representative workspace boundaries: HackKit Core, HackKit UI, a HackKit Plugin, and the HackKit CLI.
  • Demonstrate that an edit to workspace package source is picked up by the HackKit Web App during development without manually rebuilding that package.
  • Verify that typechecking, tests, and production builds remain reliable under the proposed workflow.
  • Define the build and publishing boundary for packages that still need compiled output, including any exception required for the HackKit CLI executable.
  • Record the recommended approach, rejected alternatives, risks, validation commands, and a migration breakdown sized into independently implementable follow-up tickets.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions