- Introduced new resource schemas for maps, scenarios, unit sets, and turn commands using Zod. - Implemented a script to generate JSON schemas from Zod schemas. - Added a validation script to ensure resource JSON files conform to their respective schemas. - Updated the logic package to export new resource schemas. - Added new dependencies for schema generation and validation. - Created a tools-scripts package for resource management tasks.
20 lines
526 B
JSON
20 lines
526 B
JSON
{
|
|
"name": "@sammo-ts/tools-scripts",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"generate:resource-schemas": "tsx src/generate-resource-schemas.ts",
|
|
"validate:resources": "tsx src/validate-resources.ts",
|
|
"typecheck": "tsc -p tsconfig.json --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@sammo-ts/logic": "workspace:*",
|
|
"zod-to-json-schema": "^3.25.1"
|
|
},
|
|
"devDependencies": {
|
|
"tsx": "^4.21.0",
|
|
"typescript": "^5.9.3"
|
|
}
|
|
}
|