@wix/evalforge-types 0.90.0 → 0.91.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/build/index.js
CHANGED
|
@@ -1086,7 +1086,7 @@ var ALLOWED_BUILD_COMMANDS = [
|
|
|
1086
1086
|
"pnpm run build",
|
|
1087
1087
|
"pnpm build"
|
|
1088
1088
|
];
|
|
1089
|
-
var DEFAULT_BUILD_PASSED_COMMAND = "
|
|
1089
|
+
var DEFAULT_BUILD_PASSED_COMMAND = "npm run build";
|
|
1090
1090
|
var BUILD_COMMAND_ARGV = {
|
|
1091
1091
|
"yarn build": ["yarn", "build"],
|
|
1092
1092
|
"npm run build": ["npm", "run", "build"],
|
|
@@ -1162,7 +1162,7 @@ var ToolCalledWithParamConfigSchema = import_zod24.z.strictObject({
|
|
|
1162
1162
|
requireSuccess: import_zod24.z.boolean().optional()
|
|
1163
1163
|
});
|
|
1164
1164
|
var BuildPassedConfigSchema = import_zod24.z.strictObject({
|
|
1165
|
-
/** Allowlisted command only (default at runtime: "
|
|
1165
|
+
/** Allowlisted command only (default at runtime: "npm run build") */
|
|
1166
1166
|
command: BuildPassedCommandStringSchema.optional(),
|
|
1167
1167
|
/** Expected exit code (default: 0) */
|
|
1168
1168
|
expectedExitCode: import_zod24.z.number().int().optional()
|
|
@@ -1369,7 +1369,7 @@ var SYSTEM_ASSERTIONS = {
|
|
|
1369
1369
|
label: "Build Command",
|
|
1370
1370
|
type: "string",
|
|
1371
1371
|
required: false,
|
|
1372
|
-
defaultValue:
|
|
1372
|
+
defaultValue: DEFAULT_BUILD_PASSED_COMMAND
|
|
1373
1373
|
},
|
|
1374
1374
|
{
|
|
1375
1375
|
name: "expectedExitCode",
|