@exodus/xqa 1.11.0 → 1.12.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/xqa.cjs +6 -4
- package/package.json +2 -2
package/dist/xqa.cjs
CHANGED
|
@@ -75510,9 +75510,11 @@ var suiteHooksSchema = external_exports2.object({
|
|
|
75510
75510
|
beforeEach: hookConfigSchema.optional()
|
|
75511
75511
|
});
|
|
75512
75512
|
var suiteConfigSchema = external_exports2.object({
|
|
75513
|
-
specs: external_exports2.array(external_exports2.string()).
|
|
75513
|
+
specs: external_exports2.array(external_exports2.string()).default([]),
|
|
75514
75514
|
freestyle: freestyleSchema,
|
|
75515
75515
|
hooks: suiteHooksSchema.optional()
|
|
75516
|
+
}).refine((data) => data.specs.length > 0 || data.freestyle.length > 0, {
|
|
75517
|
+
message: "Suite must declare at least one spec or freestyle entry"
|
|
75516
75518
|
});
|
|
75517
75519
|
var safeJsonParse4 = (0, import_neverthrow48.fromThrowable)(
|
|
75518
75520
|
JSON.parse,
|
|
@@ -76294,8 +76296,8 @@ async function resolveSuiteModeItems(input) {
|
|
|
76294
76296
|
`);
|
|
76295
76297
|
return;
|
|
76296
76298
|
}
|
|
76297
|
-
const specPaths = await resolveGlobs({ globs: suiteConfig.specs, cwd: input.xqaDirectory });
|
|
76298
|
-
if (specPaths.length === 0) {
|
|
76299
|
+
const specPaths = suiteConfig.specs.length > 0 ? await resolveGlobs({ globs: suiteConfig.specs, cwd: input.xqaDirectory }) : [];
|
|
76300
|
+
if (specPaths.length === 0 && suiteConfig.freestyle.length === 0) {
|
|
76299
76301
|
process.stderr.write("No spec files matched\n");
|
|
76300
76302
|
return;
|
|
76301
76303
|
}
|
|
@@ -76456,7 +76458,7 @@ function resolveXqaDirectory() {
|
|
|
76456
76458
|
return result.value;
|
|
76457
76459
|
}
|
|
76458
76460
|
var program2 = new Command();
|
|
76459
|
-
program2.name("xqa").description("AI-powered QA agent CLI").version(`${"1.
|
|
76461
|
+
program2.name("xqa").description("AI-powered QA agent CLI").version(`${"1.12.0"}${false ? ` (dev build +${"3c4f23d"})` : ""}`);
|
|
76460
76462
|
program2.command("init").description("Initialize a new xqa project in the current directory").action(() => {
|
|
76461
76463
|
runInitCommand();
|
|
76462
76464
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/xqa",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.12.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=22"
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
"typescript": "^5.8.3",
|
|
27
27
|
"vitest": "^3.2.1",
|
|
28
28
|
"zod": "^3.0.0",
|
|
29
|
-
"@qa-agents/display": "0.0.0",
|
|
30
29
|
"@qa-agents/eslint-config": "0.0.0",
|
|
31
30
|
"@qa-agents/explorer": "0.0.0",
|
|
31
|
+
"@qa-agents/display": "0.0.0",
|
|
32
32
|
"@qa-agents/mobile-ios": "0.0.0",
|
|
33
33
|
"@qa-agents/pipeline": "0.0.0",
|
|
34
34
|
"@qa-agents/shared": "0.0.0",
|