Skip to content

feat(modrinth): add Modrinth SDK package - #554

Closed
Mkassabov wants to merge 4 commits into
feat/zendesk-sdkfrom
feat/modrinth-sdk
Closed

feat(modrinth): add Modrinth SDK package#554
Mkassabov wants to merge 4 commits into
feat/zendesk-sdkfrom
feat/modrinth-sdk

Conversation

@Mkassabov

Copy link
Copy Markdown
Collaborator

Adds a new @distilled.cloud/modrinth SDK generated from the Modrinth OpenAPI spec, plus the CI/release wiring needed to build, test, and publish it alongside the other workspace packages.

  • New packages/modrinth/ package with full operation coverage (projects, versions, users, teams, threads, notifications, reports, payouts, search, tags), typed errors, and per-operation tests
  • Spec stored in-tree at packages/modrinth/specs/openapi.yaml with two JSON Patch files for missing error responses and mutation 400 handling
  • .github/workflows/test.yml: detects changes under packages/modrinth/** and runs a new ci-modrinth job (build core, check, test)
  • .github/workflows/pr-package.yml: registers modrinth in the package matrix and paths-filter
  • .github/workflows/release.yml: includes packages/modrinth/package.json in the release file list
  • .github/workflows/nuke.yml: adds a modrinth toggle
  • bun.lock: registers the new workspace
import { Modrinth } from "@distilled.cloud/modrinth"

const project = yield* Modrinth.getProject({ idOrSlug: "fabric-api" })

Supersedes #287 (by @JVictorV) — same content, rebased into the SDK stack so it can be merged as one unit. GitHub stacks cannot include fork PRs.

…line

Rebased on main after #545. Models are produced by the package's convert
with patches applied there and operation names normalised to verbNoun;
generate only compiles .generated-specs. 76 operation(s).
@Mkassabov

Copy link
Copy Markdown
Collaborator Author

Duplicate of #532, which already tracks this origin branch.

@Mkassabov Mkassabov closed this Sep 7, 2026
@Mkassabov
Mkassabov deleted the feat/modrinth-sdk branch September 7, 2026 12:24
@Mkassabov
Mkassabov restored the feat/modrinth-sdk branch September 7, 2026 12:25
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.

1 participant