excalideck 0.2.0 → 0.2.1

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.
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "excalideck",
3
3
  "displayName": "excalideck",
4
- "version": "0.2.0",
4
+ "version": "0.2.1",
5
5
  "description": "Build and present animated, hand-drawn architecture slide decks: Excalidraw frames as slides, with shapes that morph, zoom and draw themselves between them.",
6
6
  "author": { "name": "Ed Spencer", "url": "https://github.com/edspencer" },
7
- "homepage": "https://edspencer.github.io/excalideck/",
7
+ "homepage": "https://excalideck.edspencer.net",
8
8
  "repository": "https://github.com/edspencer/excalideck",
9
9
  "license": "MIT",
10
10
  "keywords": ["excalidraw", "slides", "presentation", "architecture", "diagrams"]
package/AGENTS.md CHANGED
@@ -12,10 +12,15 @@ lib/ the builder library (Deck / Frame)
12
12
  cli/ the `excalideck` command: main.mjs (parsing + dispatch), serve, server, media, doctor, paths
13
13
  skills/ the Claude Code skill (SKILL.md + api.md), the main way people use this
14
14
  examples/ snapline/build.mjs → snapline.excalidraw (the demo, a template, and `serve`'s fallback)
15
+ website/ the docs site, excalideck.edspencer.net (Astro + Starlight, its own package; website/README.md)
16
+ brand/ the mark, favicons and social cards, all made by brand/generate.mjs (brand/README.md)
15
17
  ```
16
18
 
17
19
  - `npm test` runs the tests. `npm run build:example && npm run check:example` must stay at 0 errors, 0 warnings.
18
- - The player is served from the repo root (GitHub Pages serves `main` at `/`), so `player/` imports `../src/`.
20
+ - The player finds `../src/scene.js` and `../examples/` by relative path. GitHub Pages serves `main` at `/`, and the
21
+ docs site copies the same layout into `website/public/` on every build, so both keep working.
22
+ - **The docs site is the reference documentation.** A change to a command, option, tag or builder method updates its
23
+ page under `website/src/content/docs/` in the same PR.
19
24
  - Matching logic lives only in `src/scene.js`. If the player's behaviour changes, `check` should report it the same way.
20
25
  - Node built-ins only at runtime. Playwright is a devDependency, and only `render` and `record` use it; they say so
21
26
  and exit 1 when it's missing, rather than making it a dependency of the whole tool.
package/README.md CHANGED
@@ -7,7 +7,7 @@ from the outside in.
7
7
 
8
8
  ![Snapline demo: a system diagram building up, opening into a region, and filling in its data stores](media/hero.gif)
9
9
 
10
- **[▶ Try it in your browser](https://edspencer.github.io/excalideck/)** (press → to advance, O for the
10
+ **[▶ Try it in your browser](https://excalideck.edspencer.net/)** (press → to advance, O for the
11
11
  overview, ? for keys), or [watch the whole 30-second demo](media/snapline.mp4).
12
12
 
13
13
  Every slide is a **frame** in one ordinary `.excalidraw` file, so you can still open and edit it at
@@ -48,7 +48,7 @@ dropped files in your browser without uploading them. That makes it fine for con
48
48
  1. Draw each slide inside a **frame** (frame tool, `F`), and start each frame's name with a number: `01 Title`, `02 Overview`.
49
49
  2. For the next step, **duplicate the frame** (Ctrl/Cmd+D) and change the copy: move boxes, add some, recolour, dim.
50
50
  3. Optionally put **tags** in the frame name to choose the transition into it: `05 Inside Payments [zoom pop]`.
51
- 4. Drag the file onto the [player](https://edspencer.github.io/excalideck/), or run `excalideck serve deck.excalidraw`.
51
+ 4. Drag the file onto the [player](https://excalideck.edspencer.net/player/), or run `excalideck serve deck.excalidraw`.
52
52
 
53
53
  ### What counts as "the same shape"
54
54
  | Element | Matched across slides by |
package/cli/main.mjs CHANGED
@@ -55,7 +55,7 @@ Player keys: → next · ← back · 1-9 jump · O overview · R replay · T/A o
55
55
  S slow motion · L load another file · F full screen · ? all keys.
56
56
 
57
57
  It listens on 127.0.0.1 only, and reads the deck from disk: nothing is uploaded anywhere. While it runs,
58
- ~/.excalideck/runtime.json says where it is. Docs: https://github.com/edspencer/excalideck
58
+ ~/.excalideck/runtime.json says where it is. Docs: https://excalideck.edspencer.net
59
59
  `;
60
60
 
61
61
  const SERVE_USAGE = `Usage: excalideck [serve] [deck.excalidraw] [--port <n>] [-o|--open] [-q|--quiet]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "excalideck",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Present Excalidraw files as slide decks where shapes morph between slides — plus a builder library, a layout checker and a Claude Code skill for generating them.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -46,7 +46,7 @@
46
46
  "type": "git",
47
47
  "url": "https://github.com/edspencer/excalideck.git"
48
48
  },
49
- "homepage": "https://edspencer.github.io/excalideck/",
49
+ "homepage": "https://excalideck.edspencer.net",
50
50
  "engines": {
51
51
  "node": ">=20.6"
52
52
  },