@gearbox-protocol/deploy-tools 4.50.0 → 4.51.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.
- package/dist/index.mjs +7 -4
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -229221,9 +229221,12 @@ var ScriptTemplate = z.object({
|
|
|
229221
229221
|
description: z.string().optional(),
|
|
229222
229222
|
npx: z.string().optional(),
|
|
229223
229223
|
timeout: z.string().optional(),
|
|
229224
|
-
args: z.array(z.string().min(1)).
|
|
229225
|
-
|
|
229226
|
-
|
|
229224
|
+
args: z.array(z.string().min(1)).optional().transform((v) => v?.length ? v : void 0),
|
|
229225
|
+
// replace empty array with undefined
|
|
229226
|
+
env: z.record(z.string(), z.string()).optional().transform((v) => Object.keys(v ?? {}).length ? v : void 0),
|
|
229227
|
+
// replace empty object with undefined
|
|
229228
|
+
flags: z.array(z.string().min(1)).optional().transform((v) => v?.length ? v : void 0)
|
|
229229
|
+
// replace array object with undefined
|
|
229227
229230
|
});
|
|
229228
229231
|
var ForkTemplate = z.object({
|
|
229229
229232
|
description: z.string().min(5),
|
|
@@ -307863,7 +307866,7 @@ function getRenderer(opts) {
|
|
|
307863
307866
|
}
|
|
307864
307867
|
|
|
307865
307868
|
// package.json
|
|
307866
|
-
var version2 = "4.
|
|
307869
|
+
var version2 = "4.51.0";
|
|
307867
307870
|
|
|
307868
307871
|
// src/version.ts
|
|
307869
307872
|
var version_default = version2;
|