@powerhousedao/codegen 6.0.0-dev.119 → 6.0.0-dev.120
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/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -4567,7 +4567,7 @@ function ensureZodVersionIsSufficient(zodSemverString) {
|
|
|
4567
4567
|
if (!zodSemverString) return;
|
|
4568
4568
|
const cleaned = semver.clean(zodSemverString);
|
|
4569
4569
|
if (!cleaned) return;
|
|
4570
|
-
if (!semver.gte(cleaned, "4.
|
|
4570
|
+
if (!semver.gte(cleaned, "4.0.0")) throw new Error(`Your version of zod "${zodSemverString}" is out of date. Please install zod version 4.x to continue.`);
|
|
4571
4571
|
}
|
|
4572
4572
|
async function generateEditor(args) {
|
|
4573
4573
|
const { editorName, documentTypes, editorId: editorIdArg, specifiedPackageName, editorDirName } = args;
|