Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ jobs:
- name: Validate logic
run: bun validate:networks

- name: Validate Studio
run: bun validate:studio

- name: Generate registry types
run: bun generate:types

Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
{
"version": "0.7.16",
"version": "0.7.17",
"private": true,
"type": "module",
"scripts": {
"format": "prettier ./schemas/registry.schema.json ./registry/**/*.json ./src/**/*.ts ./**/*.md --write",
"format:check": "prettier ./schemas/registry.schema.json ./registry/**/*.json ./src/**/*.ts ./**/*.md --check",
"validate:schema": "bun run ./src/validate_schema.ts",
"validate:networks": "bun run ./src/validate_logic.ts",
"validate:studio": "bun run ./src/validate_studio.ts",
"validate:registry": "ajv validate -s schemas/registry.schema.json -d 'dist/TheGraphNetworksRegistry.json' --strict=true -c ajv-formats",
"validate:urls": "bun run ./src/validate_urls.ts",
"validate:firehose": "bun run ./src/validate_firehose.ts",
"validate": "bun validate:schema && bun validate:networks",
"validate": "bun validate:schema && bun validate:networks && bun validate:studio",
"generate:types": "json2ts --input schemas/registry.schema.json --output src/types/registry.d.ts --cwd=schemas",
"generate:registry": "bun run ./src/generate.ts",
"generate:public": "bun run ./src/generate.ts registry public",
Expand Down
Loading
Loading