feat: add schemata schema validation tests (#689)

Co-authored-by: alltheseas <alltheseas@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: alltheseas <64376233+alltheseas@users.noreply.github.com>
This commit is contained in:
Cody Tseng 2026-04-04 15:18:04 +08:00 committed by GitHub
parent 234010c385
commit b00ff341c8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 3210 additions and 68 deletions

View file

@ -16,7 +16,9 @@
"build": "tsc -b && vite build",
"lint": "eslint .",
"format": "prettier --write .",
"preview": "vite preview"
"preview": "vite preview",
"test": "vitest run",
"test:schemas": "vitest run schemata-validation"
},
"dependencies": {
"@dnd-kit/core": "^6.3.1",
@ -93,11 +95,14 @@
},
"devDependencies": {
"@eslint/js": "^9.17.0",
"@types/node": "^22.10.2",
"@nostrability/schemata": "^0.3.2",
"@types/node": "^22.19.17",
"@types/react": "^18.3.17",
"@types/react-dom": "^18.3.5",
"@types/uri-templates": "^0.1.34",
"@vitejs/plugin-react": "^4.3.4",
"ajv": "^8.18.0",
"ajv-errors": "^3.0.0",
"autoprefixer": "^10.4.20",
"eslint": "^9.17.0",
"eslint-plugin-react-hooks": "^5.0.0",
@ -110,6 +115,7 @@
"typescript": "~5.6.2",
"typescript-eslint": "^8.18.1",
"vite": "^6.0.3",
"vite-plugin-pwa": "^0.21.1"
"vite-plugin-pwa": "^0.21.1",
"vitest": "^3.2.4"
}
}