@vitrinka/cli 3.5.0 → 3.6.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/package.json +7 -7
package/CHANGELOG.md CHANGED
@@ -3,6 +3,42 @@
3
3
  `vitrinka update` prints the sections newer than your previous version after
4
4
  updating — keep entries short and user-facing.
5
5
 
6
+ ## 3.6.0
7
+
8
+ ### Added
9
+ - **`vitrinka docs [topic]`** — the connected deploy's artifact component
10
+ reference, in the terminal. No topic prints the compact index; a topic
11
+ prints that page (props, example, gotchas). It reads the docs off the
12
+ server you're signed into, so what prints always matches the kit that will
13
+ actually render your artifact — even one newer than this CLI.
14
+ - **`push` preflight autofixes doc.json.** Mechanical mistakes — typos,
15
+ HTML entities, small JSON damage — are repaired before validation and
16
+ reported as `fixed:` lines; `--no-fix` skips the repair. Validation
17
+ failures and server rejections now come back as structured diagnostics
18
+ naming the exact spot (carried in the `--json` envelope too) instead of a
19
+ bare error.
20
+ - **Artifact pushes come back with a screenshot.** After publishing, the
21
+ server smoke-renders the artifact and the CLI downloads `render.png`
22
+ beside it, so you see what shipped without opening a browser.
23
+ `--no-render` skips the wait and the download.
24
+ - **Your repo's `DESIGN.md` rides along.** Artifact pushes discover the
25
+ repo's DESIGN.md and send it so renders follow your design language;
26
+ `--no-design` opts out. `artifact init` quotes the style brief into new
27
+ scaffolds.
28
+
29
+ ### Changed
30
+ - **`artifact init` emits ONE scaffold** — an editable index.html composing
31
+ kit components, ready to rework directly. The `--custom` full-HTML escape
32
+ hatch is retired; the command points you at composing kit components
33
+ instead (see `vitrinka docs`).
34
+ - **The project slug follows the repo binding from any subdirectory** — a
35
+ nested working directory now honors the nearest ancestor
36
+ `.vitrinka/project.json` instead of resolving as if the repo were unbound.
37
+
38
+ ### Fixed
39
+ - An oversized or garbage server response now fails loudly, naming what was
40
+ wrong with it, instead of being silently truncated into confusing output.
41
+
6
42
  ## 3.5.0
7
43
 
8
44
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitrinka/cli",
3
- "version": "3.5.0",
3
+ "version": "3.6.0",
4
4
  "description": "vitrinka CLI \u2014 capture and publish artifact sets, drive the annotation-board work queue. Thin npm launcher for the single-binary Go CLI.",
5
5
  "bin": {
6
6
  "vitrinka": "bin/vitrinka.js"
@@ -14,12 +14,12 @@
14
14
  "node": ">=18"
15
15
  },
16
16
  "optionalDependencies": {
17
- "@vitrinka/cli-darwin-arm64": "3.5.0",
18
- "@vitrinka/cli-darwin-x64": "3.5.0",
19
- "@vitrinka/cli-linux-arm64": "3.5.0",
20
- "@vitrinka/cli-linux-x64": "3.5.0",
21
- "@vitrinka/cli-win32-arm64": "3.5.0",
22
- "@vitrinka/cli-win32-x64": "3.5.0"
17
+ "@vitrinka/cli-darwin-arm64": "3.6.0",
18
+ "@vitrinka/cli-darwin-x64": "3.6.0",
19
+ "@vitrinka/cli-linux-arm64": "3.6.0",
20
+ "@vitrinka/cli-linux-x64": "3.6.0",
21
+ "@vitrinka/cli-win32-arm64": "3.6.0",
22
+ "@vitrinka/cli-win32-x64": "3.6.0"
23
23
  },
24
24
  "keywords": [
25
25
  "vitrinka",