@tracelane/cli 0.1.0-alpha.12 → 0.1.0-alpha.13

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/README.md +6 -2
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -11,6 +11,8 @@ One command to wire tracelane into your WebdriverIO or Playwright project. Detec
11
11
  [![license](https://img.shields.io/npm/l/@tracelane/cli.svg)](https://github.com/Cubenest/rrweb-stack/blob/main/LICENSE)
12
12
  [![CI](https://github.com/Cubenest/rrweb-stack/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/Cubenest/rrweb-stack/actions/workflows/ci.yml)
13
13
  [![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/Cubenest/rrweb-stack/badge)](https://scorecard.dev/viewer/?uri=github.com/Cubenest/rrweb-stack)
14
+ [![node](https://img.shields.io/node/v/@tracelane/cli.svg)](https://www.npmjs.com/package/@tracelane/cli)
15
+ ![status: alpha](https://img.shields.io/badge/status-alpha-orange.svg)
14
16
 
15
17
  ![tracelane init — one command](https://raw.githubusercontent.com/Cubenest/rrweb-stack/main/assets/tracelane-hero.gif)
16
18
 
@@ -78,8 +80,6 @@ For **Playwright**, the editor registers `['@tracelane/playwright', { mode: 'fai
78
80
 
79
81
  For **WebdriverIO**, the editor uses string-based regex to:
80
82
 
81
- The editor uses string-based regex to:
82
-
83
83
  1. Insert `import TraceLaneService from '@tracelane/wdio';` after the last existing `import` line.
84
84
  2. Append `[TraceLaneService, { mode: 'failed' }]` as the LAST element of the `services:` array. Three shapes are recognized:
85
85
  - `services: []` (empty)
@@ -117,8 +117,12 @@ Both routes produce the same setup. The CLI exists to remove the "edit wdio.conf
117
117
 
118
118
  Semantic Versioning. Currently `0.1.0-alpha.x` (pre-release; the API + flags may shift before `1.0.0`).
119
119
 
120
+ **Requires Node.js >= 22.**
121
+
120
122
  **No telemetry.** The CLI inspects local files only (lockfile presence, conf shape) and spawns the package-manager process you'd have run by hand. Nothing is sent anywhere.
121
123
 
122
124
  ## License
123
125
 
124
126
  Apache 2.0. Contributions accepted under the [Developer Certificate of Origin (DCO)](https://developercertificate.org/) — sign commits with `git commit -s`. See [CONTRIBUTING.md](https://github.com/Cubenest/rrweb-stack/blob/main/CONTRIBUTING.md) + [SECURITY.md](https://github.com/Cubenest/rrweb-stack/blob/main/SECURITY.md).
127
+
128
+ Full release history: [CHANGELOG.md](https://github.com/Cubenest/rrweb-stack/blob/main/packages/tracelane-cli/CHANGELOG.md).
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tracelane/cli",
3
- "version": "0.1.0-alpha.12",
4
- "description": "tracelane scaffolding CLI. `npx @tracelane/cli init` detects your test runner (WDIO / Playwright / Cypress) and wires @tracelane/wdio into wdio.conf.* in one command — the published path from `npm install` + manual conf edit to a single npx invocation.",
3
+ "version": "0.1.0-alpha.13",
4
+ "description": "tracelane scaffolding CLI. `npx @tracelane/cli init` detects your test runner (WDIO / Playwright / Cypress) and wires the matching adapter (@tracelane/wdio or @tracelane/playwright) into your runner config in one command — the published path from `npm install` + manual conf edit to a single npx invocation.",
5
5
  "keywords": [
6
6
  "tracelane",
7
7
  "testing",