flakiness 0.206.0 → 0.208.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/lib/cli/cli.js +6 -3
- package/package.json +5 -5
- package/types/tsconfig.tsbuildinfo +1 -1
package/lib/cli/cli.js
CHANGED
|
@@ -748,7 +748,7 @@ import path6 from "path";
|
|
|
748
748
|
// ../package.json
|
|
749
749
|
var package_default = {
|
|
750
750
|
name: "flakiness",
|
|
751
|
-
version: "0.
|
|
751
|
+
version: "0.208.0",
|
|
752
752
|
type: "module",
|
|
753
753
|
private: true,
|
|
754
754
|
scripts: {
|
|
@@ -1588,9 +1588,12 @@ program.command("upload").description("Upload Flakiness report to the flakiness.
|
|
|
1588
1588
|
await cmdUpload(relativePaths, options);
|
|
1589
1589
|
});
|
|
1590
1590
|
});
|
|
1591
|
-
|
|
1591
|
+
var optViewerUrl = new Option("-e, --viewer-url <url>", "A URL where report viewer is deployed").default("https://report.flakiness.io").env("FLAKINESS_ENDPOINT");
|
|
1592
|
+
program.command("show").description("Show flakiness report").argument("[relative-path]", "Path to the Flakiness report file or folder that contains `report.json`. (default: flakiness-report)").addOption(optViewerUrl).action(async (arg, options) => runCommand(async () => {
|
|
1592
1593
|
const dir = path6.resolve(arg ?? "flakiness-report");
|
|
1593
|
-
await showReport(dir
|
|
1594
|
+
await showReport(dir, {
|
|
1595
|
+
reportViewerUrl: options.viewerUrl
|
|
1596
|
+
});
|
|
1594
1597
|
}));
|
|
1595
1598
|
program.command("convert-junit").description("Convert JUnit XML report(s) to Flakiness report format").argument("<junit-root-dir-path>", "Path to JUnit XML file or directory containing XML files").option("--env-name <name>", "Environment name for the report", "junit").option("--commit-id <id>", "Git commit ID (auto-detected if not provided)").option("--output-dir <dir>", "Output directory for the report", "flakiness-report").addOption(new Option("--flakiness-project <org/project>", "Flakiness.io project slug for OIDC uploads (e.g. myorg/myproject)").env("FLAKINESS_PROJECT")).action(async (junitPath, options) => {
|
|
1596
1599
|
await runCommand(async () => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "flakiness",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.208.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"bin": {
|
|
6
6
|
"flakiness": "./lib/cli/cli.js"
|
|
@@ -22,12 +22,12 @@
|
|
|
22
22
|
"@playwright/test": "^1.57.0",
|
|
23
23
|
"@types/debug": "^4.1.12",
|
|
24
24
|
"@types/express": "^4.17.20",
|
|
25
|
-
"@flakiness/server": "0.
|
|
26
|
-
"@flakiness/shared": "0.
|
|
25
|
+
"@flakiness/server": "0.208.0",
|
|
26
|
+
"@flakiness/shared": "0.208.0"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@flakiness/flakiness-report": "^0.
|
|
30
|
-
"@flakiness/sdk": "^2.1
|
|
29
|
+
"@flakiness/flakiness-report": "^0.27.0",
|
|
30
|
+
"@flakiness/sdk": "^2.2.1",
|
|
31
31
|
"@rgrove/parse-xml": "^4.2.0",
|
|
32
32
|
"chalk": "^5.6.2",
|
|
33
33
|
"commander": "^14.0.0",
|