Skip to content

feat(modrinth): add Modrinth SDK package#287

Draft
JVictorV wants to merge 1 commit into
alchemy-run:mainfrom
JVictorV:feat/modrinth-sdk
Draft

feat(modrinth): add Modrinth SDK package#287
JVictorV wants to merge 1 commit into
alchemy-run:mainfrom
JVictorV:feat/modrinth-sdk

Conversation

@JVictorV

@JVictorV JVictorV commented May 8, 2026

Copy link
Copy Markdown

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" })

Add `@distilled.cloud/modrinth` workspace with full operation coverage
generated from the Modrinth OpenAPI spec, plus CI integration across
test, pr-package, release, and nuke workflows.
@JVictorV JVictorV force-pushed the feat/modrinth-sdk branch from 96a06fe to ba09db7 Compare May 8, 2026 23:50
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