Skip to content

Scaffold clearinghouse example repo consuming builder-sdk v0.4.1#21

Draft
eliteprox wants to merge 1 commit into
mainfrom
feat/scaffold-builder-sdk-example
Draft

Scaffold clearinghouse example repo consuming builder-sdk v0.4.1#21
eliteprox wants to merge 1 commit into
mainfrom
feat/scaffold-builder-sdk-example

Conversation

@eliteprox

Copy link
Copy Markdown
Collaborator

Summary

  • Initializes clearinghouse as a pnpm/TypeScript package depending on @pymthouse/builder-sdk@^0.4.1 (pinned to the GA 0.4.1 release, not an -rc).
  • Wires build (tsc), lint (eslint), typecheck, and test (vitest) scripts plus a CI workflow (.github/workflows/ci.yml) mirroring builder-sdk's conventions (pnpm, Node 22/24 matrix, lint → typecheck → test → build).
  • Adds a minimal src/index.ts HTTP server (GET /healthz) that imports createRemoteSignerAuthorizeHandler from @pymthouse/builder-sdk/signer/webhook — proving the subpath export resolves and compiles end to end. The /authorize route itself is a follow-up issue.
  • Documents the packaging decision in the README: one package, configuration-driven hosted/on-prem modes (not two packages), with rationale and a mode-comparison table.
  • Frames the repo's purpose (remote-signer auth + usage metering via builder-sdk) and its relationship to pymthouse/builder-sdk, pymthouse PR #133, and auth0-livepeer PR Scaffold clearinghouse example repo consuming builder-sdk v0.4.1 #1.
  • Adds LICENSE (MIT, matching builder-sdk/go-livepeer) and CHANGELOG_PENDING.md (referenced by the existing PR template checklist).

Test plan

  • pnpm install — resolves cleanly, @pymthouse/builder-sdk@0.4.1 installed
  • pnpm lint — passes
  • pnpm typecheck — passes
  • pnpm test — 2/2 passing
  • pnpm build — emits dist/
  • node dist/index.js — serves GET /healthz{"status":"ok"}, 404 on unknown routes

Closes #1

Initializes the clearinghouse example as a pnpm/TypeScript package with
build (tsc), lint (eslint), and test (vitest) wiring plus a CI workflow
mirroring builder-sdk's conventions. Adds @pymthouse/builder-sdk@^0.4.1
as a dependency with a trivial signer/webhook subpath import to prove it
resolves, and a minimal HTTP server with a /healthz endpoint as the base
for the upcoming /authorize webhook route.

The README documents the single-package, configuration-driven
hosted/on-prem packaging decision and frames the repo's relationship to
builder-sdk, pymthouse PR #133, and auth0-livepeer PR #1.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Scaffold clearinghouse example repo consuming builder-sdk v0.4.1

1 participant