Skip to main content
VelinStyle v1.4.0
⌂ Home

Community Validation & Compatibility 1.4.0

Strict validation fails unknown capability claims, incompatible metadata, and foreign UI-stack dependencies.

API

import { validateCommunityManifest } from '@birdapi/velinstyle/blocks';
const result = validateCommunityManifest(manifest);
if (!result.ok) console.error(result.errors);

Validation layers

  1. Required field types and formats.
  2. Safe relative files.
  3. License and VelinStyle compatibility.
  4. Adapt enums and WC attribute shape.
  5. Integrity algorithm/hash format.
  6. Forbidden and unknown top-level keys.

Dependency compatibility

Dependency strings containing tailwindcss, @radix-ui, or shadcn are rejected. Community Blocks remain Velin-native.

Deployment limit

The validator and schema are shipped; hosted registry discovery and automatic arbitrary-URL installs are deferred.