@blueforge-studio/forge-git-sdk
Typed SDK for the forge-git platform (Gitea API + forge-git-specific endpoints) — the same client the fgit CLI and the web wrap use
Información del paquete
Versiones
| Versión | Publicada |
|---|---|
| 0.2.0 | 2026-10-13 |
| 0.1.0 | 2026-09-26 |
Cadena de suministro por versión
| Versión | Firma | SBOM | Att |
|---|---|---|---|
| 0.2.0 | |||
| 0.1.0 |
Haz clic en una versión para ver sus detalles.
Cadena de suministro
No hay nada registrado para 0.2.0. Las versiones publicadas antes de que el registro empezara a escribir la procedencia no la tienen, y las firmas y los SBOM los adjunta quien publica.
Dependencias
README
@blueforge-studio/forge-git-sdk
Typed SDK for the forge-git platform —
self-hosted Gitea plus forge-git-specific endpoints. This is the same client
the fgit CLI and the web wrap use, re-exported
one-to-one.
Install
npm i @blueforge-studio/forge-git-sdk
The package is on the private packr registry — your project needs the
@blueforge-studio scope map in .npmrc plus a PACKR_TOKEN-authorized
token (see the packr docs). No runtime dependencies: the client and its one
library dep are bundled into a single ESM file.
Quickstart
import { getPullRequest, mergePullRequest } from '@blueforge-studio/forge-git-sdk'
// Auth + base URL come from FORGE_GIT_TOKEN / FORGE_GIT_URL, or pass
// { token, baseUrl } per call.
const pr = await getPullRequest('blueforge-studio', 'my-repo', 42)
if (!pr.merged && pr.mergeable) {
await mergePullRequest('blueforge-studio', 'my-repo', 42, { style: 'squash' })
}
Docs
- SDK guide — install, auth, quickstart, error handling.
- API reference — every function, by area, plus the forge-git-specific REST endpoints that sit above Gitea.