@forumulate/cli 0.22.5 → 0.23.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/CHANGELOG.md CHANGED
@@ -3,6 +3,16 @@
3
3
  Releases of `@forumulate/cli`. Earlier versions are described in the git history of
4
4
  `packages/cli` (`release(cli): …` commits).
5
5
 
6
+ ## 0.23.0
7
+
8
+ ### Added
9
+ - `forumulate lint [dir]`, the same command as `validate`. Both now lint Markdown pages locally, with no network:
10
+ - a relative link to a file that is not in the folder is an error;
11
+ - a forbidden string is an error (`TODO`, `[Owner:`, `lorem ipsum` by default; `--forbid a,b` sets the list, `--forbid none` turns it off);
12
+ - a heading that skips a level is a warning.
13
+ - Code blocks and inline code are skipped.
14
+ - `plan --check` runs the same lint over the manifest's folder and exits 1 on a lint error, so a page with a broken link or a left-in placeholder fails CI before it is published. Lint lines go to stderr, so `--json` stays clean.
15
+
6
16
  ## 0.22.5
7
17
 
8
18
  ### Changed