tutuca 0.9.82 → 0.9.84

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
@@ -7,7 +7,7 @@ Zero-dependency batteries included SPA framework.
7
7
  - **Fits in your head** (and the context window)
8
8
  - **View source friendly** — step through the whole stack
9
9
  - **As much HTML as possible, as little JS as needed**
10
- - ~169KB minified, ~37KB brotli compressed
10
+ - ~177KB minified, ~40KB brotli compressed
11
11
 
12
12
  ## Quick Start
13
13
 
@@ -68,6 +68,8 @@ Tutuca ships a single-file CLI (`dist/tutuca-cli.js`) for inspecting, linting,
68
68
  documenting, and rendering components defined in an ES module. The module just
69
69
  needs to export `getComponents()` and, for render-time commands, `getExamples()`
70
70
  in the storybook shape `{ title, description?, items: [{ title, description?, value, view? }] }` (a single section, or an array of sections).
71
+ Expose **all** of your app's components through `getComponents()` — components
72
+ left out are invisible to `lint`/`render`/`test` and silently lose coverage.
71
73
 
72
74
  ### Setup
73
75
 
@@ -87,8 +89,8 @@ tutuca help [command]
87
89
  | Command | What it does |
88
90
  |---|---|
89
91
  | `get <module>` | Export inventory and counts for the module |
90
- | `list <module>` | List components and their fields/views |
91
- | `examples <module>` | List the examples defined in the module's section |
92
+ | `list <module> [name] [--limit n]` | List components and their fields/views (`--limit n` caps, `0` = all) |
93
+ | `examples <module> [--limit n]` | List the examples defined in the module's section (`--limit n` caps, `0` = all) |
92
94
  | `show <module> [name]` | Component API docs — all, or one by name |
93
95
  | `lint <module> [name]` | Run lint checks — all, or one by name (exit 2 on errors) |
94
96
  | `render <module> [name] [--title t] [--view v]` | Render examples to HTML |