paseo-plugin-mermaid 0.2.4 → 0.3.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/OVERVIEW.md CHANGED
@@ -4,4 +4,4 @@ Diagrams are drawn from the message text when the message renders, and drawing s
4
4
 
5
5
  Each diagram has a toolbar to zoom, fit to view, pop out to a larger view, and show the code. Zoom matches Paseo's own diagram viewer: 100% is the drawing fitted to the row.
6
6
 
7
- The plugin runs entirely in the Paseo app on desktop and mobile, works with Paseo 0.8 to 0.13, has no settings, and needs no additional setup.
7
+ The plugin runs entirely in the Paseo app on desktop and mobile, works with Paseo 0.11 to 0.13, has no settings, and needs no additional setup.
package/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ <p align="center"><img src="assets/icon.png" width="88" alt=""></p>
2
+
1
3
  <h1 align="center">paseo-plugin-mermaid</h1>
2
4
 
3
5
  <p align="center">
@@ -8,7 +10,7 @@
8
10
  <p align="center">
9
11
  <a href="https://github.com/dutchakdev/paseo-plugin-mermaid/actions/workflows/ci.yml"><img src="https://github.com/dutchakdev/paseo-plugin-mermaid/actions/workflows/ci.yml/badge.svg?branch=main" alt="CI"></a>
10
12
  <a href="https://www.npmjs.com/package/paseo-plugin-mermaid"><img src="https://img.shields.io/npm/v/paseo-plugin-mermaid" alt="npm"></a>
11
- <img src="https://img.shields.io/badge/Paseo-0.8.x%20%E2%80%93%200.13.x-3987e5" alt="Supports Paseo 0.8.x through 0.13.x, including betas">
13
+ <img src="https://img.shields.io/badge/Paseo-0.11.x%20%E2%80%93%200.13.x-3987e5" alt="Supports Paseo 0.11.x through 0.13.x, including betas">
12
14
  <img src="https://img.shields.io/badge/dependencies-none-c98500" alt="No runtime dependencies">
13
15
  <img src="https://img.shields.io/badge/license-MIT-9aa1a6" alt="MIT licensed">
14
16
  </p>
@@ -42,22 +44,25 @@ plugins**. Then pick the source that matches your Paseo:
42
44
  | Paseo | Source | Command |
43
45
  | ----- | ------ | ------- |
44
46
  | 0.11 and newer | [Plugin directory](https://paseo.sh/plugins/dutchakdev/mermaid), the reviewed version | `paseo plugin add dutchakdev/mermaid` |
45
- | 0.9 and newer | npm, the newest release before the directory approves it | `paseo plugin install npm:paseo-plugin-mermaid` |
46
- | 0.8 | GitHub | `paseo plugin add dutchakdev/paseo-plugin-mermaid` |
47
+ | 0.11 and newer | npm, the newest release before the directory approves it | `paseo plugin install npm:paseo-plugin-mermaid` |
48
+ | 0.8 to 0.10, 0.11.0 betas | GitHub, release 0.2.4, the last one for these versions | `paseo plugin add dutchakdev/paseo-plugin-mermaid --ref v0.2.4` |
47
49
 
48
50
  `paseo plugin ls` should then show `mermaid` as `running`, and `paseo plugin update mermaid`
49
51
  pulls later releases from the same source. From Paseo 0.11 a bare `owner/name` names a
50
52
  directory entry, so a GitHub source there needs the `git:` prefix:
51
53
  `git:dutchakdev/paseo-plugin-mermaid`.
52
54
 
53
- The plugin supports **Paseo 0.8.x through 0.13.x, including betas**, on both
55
+ The plugin supports **Paseo 0.11.x through 0.13.x, including betas**, on both
54
56
  sides: the daemon compiles it, and the app checks its declared version range.
55
57
  It has no server entry, so it starts no daemon process.
56
58
 
57
- The manifest remains `>=0.8.0`, which already admits 0.9.x through 0.13.x. Paseo also checks a
58
- prerelease's stable version core, so `0.13.0-beta.1` satisfies this range; see
59
+ The manifest asks for `>=0.11.0` because it declares the icon shown in the plugin
60
+ directory, and Paseo 0.8 to 0.10 refuse a manifest with a field they do not know.
61
+ Paseo also checks a prerelease's stable version core, so `0.13.0-beta.1` satisfies
62
+ this range. The 0.11.0 betas pass that check but predate the `icon` field, so they
63
+ refuse the manifest as well and need the release named in the install table; see
59
64
  [version requirements](https://paseo.sh/docs/plugins/reference#requirements).
60
- The development SDK stays pinned to 0.8.0; Paseo supplies the runtime modules.
65
+ The development SDK stays pinned to 0.8.0, an API every supported release still provides; Paseo supplies the runtime modules.
61
66
 
62
67
  To work on it locally instead:
63
68
 
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "paseo-plugin-mermaid",
3
- "version": "0.2.4",
3
+ "version": "0.3.0",
4
4
  "description": "Render Mermaid diagrams inside the Paseo chat timeline",
5
5
  "license": "MIT",
6
6
  "author": "dutchakdev",
@@ -41,6 +41,7 @@
41
41
  "files": [
42
42
  "paseo-plugin.json",
43
43
  "OVERVIEW.md",
44
+ "assets/icon.png",
44
45
  "index.client.tsx",
45
46
  "client/",
46
47
  "shared/"
package/paseo-plugin.json CHANGED
@@ -1,4 +1,5 @@
1
1
  {
2
2
  "id": "mermaid",
3
- "requirements": { "paseo": ">=0.8.0" }
3
+ "icon": "assets/icon.png",
4
+ "requirements": { "paseo": ">=0.11.0" }
4
5
  }