@caretcms/zod 0.1.0 → 0.2.0

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 (1) hide show
  1. package/package.json +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caretcms/zod",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "type": "module",
5
5
  "description": "Derive CaretCMS Studio schemas from your Zod content-collection schemas — single source of truth.",
6
6
  "license": "MIT",
@@ -36,7 +36,7 @@
36
36
  "build": "tsc -p tsconfig.build.json",
37
37
  "typecheck": "tsc -p tsconfig.json",
38
38
  "clean": "rm -rf dist",
39
- "prepublishOnly": "npm run clean && npm run build"
39
+ "prepublishOnly": "node scripts/check-version.mjs && npm run clean && npm run build"
40
40
  },
41
41
  "publishConfig": {
42
42
  "access": "public"