aimodels 0.4.13 → 0.4.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +1922 -522
  2. package/package.json +8 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aimodels",
3
- "version": "0.4.13",
3
+ "version": "0.4.15",
4
4
  "description": "A collection of AI model specifications across different providers",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -19,7 +19,9 @@
19
19
  ],
20
20
  "scripts": {
21
21
  "gen-data-js-file": "node genDataFile.js",
22
- "prebuild": "npm run clean && npm run gen-data-js-file",
22
+ "schemas:export": "tsx src/schemas/export.ts",
23
+ "validate:data": "tsx src/schemas/validate-data.ts",
24
+ "prebuild": "npm run validate:data && npm run clean && npm run gen-data-js-file",
23
25
  "build:ts": "tsup",
24
26
  "build": "npm run build:ts && npm test",
25
27
  "test": "vitest run",
@@ -72,8 +74,11 @@
72
74
  "airul": "^0.1.10",
73
75
  "eslint": "^8.0.0",
74
76
  "ts-node": "^10.9.2",
77
+ "tsx": "^4.19.2",
75
78
  "tsup": "^8.0.0",
76
79
  "typescript": "^5.0.0",
77
- "vitest": "^1.0.0"
80
+ "vitest": "^1.0.0",
81
+ "zod": "^3.23.8",
82
+ "zod-to-json-schema": "^3.23.5"
78
83
  }
79
84
  }