Shared frontend libraries for Servora-Kit web applications.
| Package | npm | Description |
|---|---|---|
@servora/proto-utils |
Proto/Kratos API utilities: query builders, FieldMask, HTTP client, Kratos errors |
pnpm add @servora/proto-utilsimport { createRequestHandler } from '@servora/proto-utils/client/request'
import { parseKratosError, kratosMessage } from '@servora/proto-utils/client/errors'
import { makeFilter, makeOrderBy, makeUpdateMask } from '@servora/proto-utils/query'This repo is part of the servora-kit workspace. For local development:
# Clone the workspace
git clone git@github.com:Servora-Kit/servora-web.git
# In the servora-kit workspace root
pnpm installIn the kit workspace, pnpm links the local servora-web/packages/proto-utils package. On npm, install @servora/proto-utils; the client, query, and future CRUD/React/Vue helpers are exposed as subpath exports. In the local workspace, linkWorkspacePackages: true automatically symlinks to the source — equivalent to Go's go.work replace directive.