@yoqa/cli 0.3.4 → 0.3.5
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/README.md +3 -3
- package/dist/main.js +10 -10
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @yoqa/cli
|
|
2
2
|
|
|
3
|
-
CLI for [
|
|
3
|
+
CLI for [Yoqa](https://yoqa.mintlify.app/docs/overview) — drive a local runner over HTTP from your terminal or CI.
|
|
4
4
|
|
|
5
5
|
```bash
|
|
6
6
|
npm install -g @yoqa/cli
|
|
@@ -10,6 +10,6 @@ npx @yoqa/cli health
|
|
|
10
10
|
|
|
11
11
|
After a global install, the `yoqa` command is on your PATH.
|
|
12
12
|
|
|
13
|
-
Requires a running
|
|
13
|
+
Requires a running Yoqa runner (desktop app, or `bun run runner` from a monorepo checkout) at `http://127.0.0.1:7420` by default.
|
|
14
14
|
|
|
15
|
-
See [CLI docs](https://
|
|
15
|
+
See [CLI docs](https://yoqa.mintlify.app/docs/cli).
|
package/dist/main.js
CHANGED
|
@@ -6814,7 +6814,7 @@ function formatRunReportHtml(doc) {
|
|
|
6814
6814
|
<head>
|
|
6815
6815
|
<meta charset="utf-8" />
|
|
6816
6816
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6817
|
-
<title>
|
|
6817
|
+
<title>Yoqa Report — ${escapeHtml(doc.title)} (${escapeHtml(accent.label)})</title>
|
|
6818
6818
|
<style>
|
|
6819
6819
|
:root { color-scheme: light; }
|
|
6820
6820
|
body { font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, sans-serif; margin: 0; background: #f8fafc; color: #0f172a; line-height: 1.5; }
|
|
@@ -6854,12 +6854,12 @@ function formatRunReportHtml(doc) {
|
|
|
6854
6854
|
<div class="wrap">
|
|
6855
6855
|
<header class="banner">
|
|
6856
6856
|
<h1>${escapeHtml(doc.title)}</h1>
|
|
6857
|
-
<p>${escapeHtml(accent.label)} ·
|
|
6857
|
+
<p>${escapeHtml(accent.label)} · Yoqa end-to-end report</p>
|
|
6858
6858
|
</header>
|
|
6859
6859
|
${doc.error ? `<p class="error">${escapeHtml(doc.error)}</p>` : ""}
|
|
6860
6860
|
<table class="meta">${metaHtml}</table>
|
|
6861
6861
|
${testsHtml}
|
|
6862
|
-
<footer>Generated by
|
|
6862
|
+
<footer>Generated by Yoqa</footer>
|
|
6863
6863
|
</div>
|
|
6864
6864
|
</body>
|
|
6865
6865
|
</html>
|
|
@@ -6871,7 +6871,7 @@ function escapeMd(value) {
|
|
|
6871
6871
|
function formatRunReportMarkdown(doc) {
|
|
6872
6872
|
const accent = statusAccent(doc.status);
|
|
6873
6873
|
const lines = [
|
|
6874
|
-
`#
|
|
6874
|
+
`# Yoqa Report — ${doc.title}`,
|
|
6875
6875
|
"",
|
|
6876
6876
|
`**Status:** ${accent.label}`,
|
|
6877
6877
|
"",
|
|
@@ -6923,7 +6923,7 @@ function formatRunReportMarkdown(doc) {
|
|
|
6923
6923
|
lines.push("");
|
|
6924
6924
|
}
|
|
6925
6925
|
});
|
|
6926
|
-
lines.push("---", "", "_Generated by
|
|
6926
|
+
lines.push("---", "", "_Generated by Yoqa_", "");
|
|
6927
6927
|
return lines.join(`
|
|
6928
6928
|
`);
|
|
6929
6929
|
}
|
|
@@ -7188,7 +7188,7 @@ function formatAssertShellLine(input) {
|
|
|
7188
7188
|
}
|
|
7189
7189
|
var DEFAULT_SHELL_SCRIPT_HEADER = [
|
|
7190
7190
|
"#!/usr/bin/env bash",
|
|
7191
|
-
"#
|
|
7191
|
+
"# Yoqa inspector script",
|
|
7192
7192
|
"# Requires an active device session: yoqa devices connect <id>",
|
|
7193
7193
|
"set -euo pipefail",
|
|
7194
7194
|
""
|
|
@@ -7694,8 +7694,8 @@ var {
|
|
|
7694
7694
|
// package.json
|
|
7695
7695
|
var package_default = {
|
|
7696
7696
|
name: "@yoqa/cli",
|
|
7697
|
-
version: "0.3.
|
|
7698
|
-
description: "
|
|
7697
|
+
version: "0.3.5",
|
|
7698
|
+
description: "Yoqa CLI — drive local mobile QA from the terminal or CI (talks to the Yoqa runner over HTTP)",
|
|
7699
7699
|
license: "UNLICENSED",
|
|
7700
7700
|
type: "module",
|
|
7701
7701
|
bin: {
|
|
@@ -7710,7 +7710,7 @@ var package_default = {
|
|
|
7710
7710
|
url: "git+https://github.com/Aris-ngoy/qa-agent.git",
|
|
7711
7711
|
directory: "packages/cli"
|
|
7712
7712
|
},
|
|
7713
|
-
homepage: "https://
|
|
7713
|
+
homepage: "https://yoqa.mintlify.app/docs/cli",
|
|
7714
7714
|
bugs: {
|
|
7715
7715
|
url: "https://github.com/Aris-ngoy/qa-agent/issues"
|
|
7716
7716
|
},
|
|
@@ -7747,7 +7747,7 @@ function sleep(ms) {
|
|
|
7747
7747
|
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
7748
7748
|
}
|
|
7749
7749
|
var program2 = new Command;
|
|
7750
|
-
program2.name("yoqa").description("Local
|
|
7750
|
+
program2.name("yoqa").description("Local Yoqa CLI (talks to the local runner over HTTP)").version(package_default.version);
|
|
7751
7751
|
function client(baseUrl) {
|
|
7752
7752
|
return createRunnerClient({ baseUrl });
|
|
7753
7753
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yoqa/cli",
|
|
3
|
-
"version": "0.3.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.3.5",
|
|
4
|
+
"description": "Yoqa CLI — drive local mobile QA from the terminal or CI (talks to the Yoqa runner over HTTP)",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"bin": {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"url": "git+https://github.com/Aris-ngoy/qa-agent.git",
|
|
17
17
|
"directory": "packages/cli"
|
|
18
18
|
},
|
|
19
|
-
"homepage": "https://
|
|
19
|
+
"homepage": "https://yoqa.mintlify.app/docs/cli",
|
|
20
20
|
"bugs": {
|
|
21
21
|
"url": "https://github.com/Aris-ngoy/qa-agent/issues"
|
|
22
22
|
},
|