deflake 1.0.1 → 1.0.2

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.
Files changed (2) hide show
  1. package/cli.js +2 -0
  2. package/package.json +1 -1
package/cli.js CHANGED
@@ -5,6 +5,7 @@ const DeFlakeClient = require('./client');
5
5
  const { spawn } = require('child_process');
6
6
  const fs = require('fs');
7
7
  const path = require('path');
8
+ const pkg = require('./package.json');
8
9
 
9
10
  const argv = yargs(hideBin(process.argv))
10
11
  .option('log', {
@@ -23,6 +24,7 @@ const argv = yargs(hideBin(process.argv))
23
24
  type: 'string',
24
25
  description: 'Override Default API URL',
25
26
  })
27
+ .version(pkg.version)
26
28
  .help()
27
29
  .argv;
28
30
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deflake",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "AI-powered self-healing tool for Playwright, Cypress, and WebdriverIO tests.",
5
5
  "main": "client.js",
6
6
  "bin": {