Skip to content
npm · devops

Proto-to-Zod codegen &@kbve/devops

A DevOps helper library that streamlines development and production tasks across the monorepo — proto-to-zod code generation, GitHub Actions helpers, input sanitization, and CI registry management so CI/CD pipelines stay consistent and low-maintenance.

Powers the CI registry

Drives the CI dispatch manifest registry used to build and publish monorepo artifacts, and automates repetitive GitHub Actions workflow tasks.

  • Codegen — Zod schemas from Protocol Buffers via @bufbuild/protobuf.
  • Sanitize — HTML/input sanitization backed by dompurify.
TypeScriptLanguage
proto→zodCodegen
dompurifySanitize
MITLicense

What it gives you

Features

Proto-to-zod codegen

Generates Zod validation schemas from Protocol Buffer definitions via @bufbuild/protobuf.

GitHub Actions helpers

Utilities that automate repetitive workflow tasks in KBVE's CI/CD pipelines.

Sanitization

HTML/input sanitization backed by dompurify.

CI registry management

Powers the CI dispatch manifest registry used to build and publish monorepo artifacts.

Questions

Frequently asked

What is the @kbve/devops library?

It is a DevOps helper library published by the KBVE team that provides proto-to-zod code generation, GitHub Actions helpers, input sanitization, and CI registry management to streamline the monorepo's CI/CD pipelines.

What does @kbve/devops use for schema generation?

It generates Zod validation schemas from Protocol Buffer definitions using the @bufbuild/protobuf toolchain, and uses dompurify for HTML sanitization.

Where is @kbve/devops used?

It is used across the KBVE monorepo to power the CI dispatch manifest registry, automate GitHub Actions workflow tasks, and provide shared validation and sanitization utilities.