@flakiness/cucumberjs 1.0.1 → 1.1.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/formatter.js CHANGED
@@ -6,6 +6,7 @@ import {
6
6
  GitWorktree,
7
7
  RAMUtilization,
8
8
  ReportUtils,
9
+ showReportCommand,
9
10
  uploadReport,
10
11
  writeReport
11
12
  } from "@flakiness/sdk";
@@ -104,12 +105,11 @@ class FlakinessCucumberFormatter extends Formatter {
104
105
  flakinessEndpoint: this._config.endpoint
105
106
  });
106
107
  }
107
- const defaultOutputFolder = path.join(this.cwd, "flakiness-report");
108
- const folder = defaultOutputFolder === this._outputFolder ? "" : path.relative(this.cwd, this._outputFolder);
108
+ const command = showReportCommand(this._outputFolder);
109
109
  this.log(`
110
110
  To open last Flakiness report, run:
111
111
 
112
- npx flakiness show ${folder}
112
+ ${command}
113
113
  `);
114
114
  }
115
115
  async _collectSuites(worktree) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flakiness/cucumberjs",
3
- "version": "1.0.1",
3
+ "version": "1.1.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/flakiness/cucumberjs.git"
@@ -21,12 +21,12 @@
21
21
  "type": "module",
22
22
  "dependencies": {
23
23
  "@flakiness/flakiness-report": "^0.28.0",
24
- "@flakiness/sdk": "^2.2.2"
24
+ "@flakiness/sdk": "^2.4.0"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@cucumber/cucumber": "^12.7.0",
28
28
  "@cucumber/messages": "^32.2.0",
29
- "@flakiness/cucumberjs": "1.0.0-alpha.1",
29
+ "@flakiness/cucumberjs": "1.0.1",
30
30
  "@types/node": "^25.5.0",
31
31
  "c8": "^11.0.0",
32
32
  "esbuild": "^0.27.4",
@@ -1 +1 @@
1
- {"version":3,"file":"formatter.d.ts","sourceRoot":"","sources":["../../src/formatter.ts"],"names":[],"mappings":"AAAA,OAAO,KA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