lintel-schemastore-catalog-0.0.11 is not a library.
lintel-schemastore-catalog
CLI tool that mirrors the entire SchemaStore catalog (catalog index + all schema files) into a git repo, keeping it up to date via CI.
This gives lintel a self-hosted, version-controlled schema source at lintel-rs/schemastore-catalog.
How it works
- Fetches the SchemaStore catalog
- Downloads every schema referenced in the catalog concurrently
- Derives clean filenames from schema names (e.g. "Releasaurus Config" →
releasaurus-config.json) - Rewrites the catalog's
urlfields to point toraw.githubusercontent.comURLs in the mirror repo - Validates each download is parseable JSON; skips failures gracefully
- Writes
catalog.json+schemas/*.jsonto the output directory
Usage
lintel-schemastore-catalog generate -o <DIR> [--concurrency N] [--base-url URL]
lintel-schemastore-catalog update [--repo OWNER/NAME] [--branch BRANCH]
lintel-schemastore-catalog version
generate
Fetch the SchemaStore catalog and download all schemas to a local directory.
update
CI command that clones the mirror repo, regenerates the catalog, runs lintel check, and pushes if there are changes. Requires GITHUB_TOKEN to be set.
GITHUB_TOKEN=...
Logging
Set LINTEL_LOG to control log output:
LINTEL_LOG=info
LINTEL_LOG=debug
Output structure
catalog.json
schemas/
tsconfig.json
package-json.json
github-workflow.json
releasaurus-config.json
...
License
Apache-2.0