$ show webcomponents/custom-elements-manifest
This repository defines a schema for describing custom elements manifest files. It provides a TypeScript definition file (schema.d.ts) that serves as the single source of truth for the schema, and a generated JSON Schema file (schema.json) for validation. The schema captures metadata about custom elements including their attributes, events, methods, and CSS properties. The repository includes build scripts to generate the JSON Schema from TypeScript definitions, tests to validate the schema against an example manifest, and CI/CD workflows. While the schema itself is well-designed and reusable, the project shows signs of technical drift due to outdated dependencies.
The LLM identified 1 files worth highlighting for reuse:
The schema.d.ts file defines the TypeScript interfaces for a custom elements manifest, serving as the single source of truth for the schema. It is designed to be consumed by TypeScript projects for type safety and is used to generate the JSON Schema (schema.json) for validation in non-TypeScript environments. This separation of concerns allows the same schema to be used in both typed and untyped contexts.