tutuca 0.9.17 → 0.9.19

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 CHANGED
@@ -74,13 +74,12 @@ npm install --save-dev tutuca jsdom
74
74
  npm install --save-dev prettier
75
75
  ```
76
76
 
77
- The package exposes `tutuca` via `bin`, so `npx tutuca` (or a global `npm i -g tutuca jsdom`) just works. `jsdom` is a peer dep because it's only needed for `render`, `lint`, `doctor`, and `stresstest`.
77
+ The package exposes `tutuca` via `bin`, so `npx tutuca` (or a global `npm i -g tutuca jsdom`) just works. `jsdom` is a peer dep because it's only needed for `render`, `lint`, and `doctor`.
78
78
 
79
79
  ### Commands
80
80
 
81
81
  ```
82
82
  tutuca <module-path> <command> [args] [flags]
83
- tutuca stresstest [--iterations N] [--seed S]
84
83
  tutuca help [command]
85
84
  ```
86
85
 
@@ -93,10 +92,17 @@ tutuca help [command]
93
92
  | `lint [name]` | Run lint checks — all, or one by name (exit 2 on errors) |
94
93
  | `render [name] [--title t] [--view v]` | Render examples to HTML |
95
94
  | `doctor` | Lint + render smoke test over the whole module |
96
- | `stresstest` | VDOM fuzz test, no module required |
97
95
 
98
- Global flags: `-f, --format <cli\|md\|json\|html>`, `-o, --output <file>`, `--pretty`, `--quiet`, `-h, --help`.
99
- Exit codes: `0` ok, `1` usage, `2` lint errors, `3` render crash.
96
+ Global flags: `-f, --format <cli\|md\|json\|html>`, `-o, --output <file>`, `--pretty`, `-h, --help`.
97
+
98
+ Exit codes:
99
+
100
+ - `0` — success
101
+ - `1` — usage error (bad args, missing module, bad module shape)
102
+ - `2` — `lint` / `doctor` reported errors
103
+ - `3` — `render` / `doctor` crashed while rendering
104
+
105
+ All module-consuming commands (`info`, `list`, `examples`, `docs`, `lint`, `render`, `doctor`) follow this table.
100
106
 
101
107
  ### Usage examples
102
108
 
@@ -118,9 +124,6 @@ npx tutuca ./src/components.js lint Button
118
124
 
119
125
  # CI smoke test — lints and renders everything
120
126
  npx tutuca ./src/components.js doctor
121
-
122
- # Fuzz the VDOM engine
123
- npx tutuca stresstest --iterations 10000 --seed 42
124
127
  ```
125
128
 
126
129
  ### Wrapping