@willbooster/wb 22.1.5 → 22.2.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/README.md +22 -0
- package/dist/index.js +31 -31
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -90,6 +90,8 @@ Commands:
|
|
|
90
90
|
@willbooster-private/ @willbooster-private/`)
|
|
91
91
|
so the in-image install resolves the rewritten
|
|
92
92
|
file: paths.
|
|
93
|
+
wb slidev-check [files..] Check selected Slidev decks, or all *.slidev.md
|
|
94
|
+
decks when no files are given
|
|
93
95
|
wb start [args..] Start app. Use '--' to stop wb option parsing
|
|
94
96
|
and forward the remaining arguments to the
|
|
95
97
|
underlying app command. Example: wb start --
|
|
@@ -134,3 +136,23 @@ the full log path. Truncated output is marked; read the log for earlier details.
|
|
|
134
136
|
Output is saved as it arrives, before display filtering,
|
|
135
137
|
to `.wb/verify.log` or `.wb/verify-full.log` in the verified project. Each command
|
|
136
138
|
overwrites its previous log; `--dry-run` leaves logs untouched.
|
|
139
|
+
|
|
140
|
+
## Slidev layout checks
|
|
141
|
+
|
|
142
|
+
`wb slidev-check` checks rendered Slidev decks without running installation, linting,
|
|
143
|
+
type checking, or tests. Pass one or more files to check only those decks:
|
|
144
|
+
|
|
145
|
+
```sh
|
|
146
|
+
bun wb slidev-check slides/intro.slidev.md
|
|
147
|
+
bun wb slidev-check slides/intro.slidev.md slides/setup.slidev.md
|
|
148
|
+
bun wb slidev-check slides/intro.slidev.md --fix
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
With no files, it discovers all `*.slidev.md` files under the current project,
|
|
152
|
+
using the same exclusions as `wb verify --full`. Checks stop on the first failed
|
|
153
|
+
deck and return its exit code. `--fix` applies fixes provided by `slidev-check`;
|
|
154
|
+
`--dry-run` prints the commands without running them. File paths are relative to
|
|
155
|
+
the working directory (or `--working-dir`). Page selection within a deck is not supported.
|
|
156
|
+
|
|
157
|
+
`wb verify` does not check Slidev decks. `wb verify --full` checks all discovered
|
|
158
|
+
decks before running tests, without applying fixes.
|