@centricare/contract 0.2.1 → 0.3.2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@centricare/contract",
3
- "version": "0.2.1",
3
+ "version": "0.3.2",
4
4
  "description": "Standardized Zod schemas used across CentriCare projects",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",
@@ -21,10 +21,13 @@
21
21
  "dist"
22
22
  ],
23
23
  "scripts": {
24
+ "docgen": "npx zod2md",
24
25
  "build": "tsup",
25
26
  "dev": "tsup --watch",
26
27
  "lint": "eslint src --ext .ts",
27
28
  "format": "prettier --write src",
29
+ "schema:gen:dry-run": "npx tsx scripts/generate-schemas.ts --dry-run",
30
+ "schema:gen:live": "npx tsx scripts/generate-schemas.ts",
28
31
  "prepublishOnly": "npm run build"
29
32
  },
30
33
  "keywords": [
@@ -55,7 +58,8 @@
55
58
  "mongoose": "^9.0.0",
56
59
  "tsup": "^8.5.1",
57
60
  "typescript": "^5.4.5",
58
- "zod": "^3.0.0 || ^4.0.0"
61
+ "zod": "^3.0.0 || ^4.0.0",
62
+ "zod2md": "^0.4.0"
59
63
  },
60
64
  "publishConfig": {
61
65
  "access": "public"