edododraw 0.1.0 → 0.1.2

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.
@@ -0,0 +1,21 @@
1
+ # edododraw
2
+
3
+ > A 100% code/syntax-to-diagram engine with the Excalidraw hand-drawn aesthetic, magic-move camera, scriptable + real-time annotations, animated arrows, and first-class Mermaid import.
4
+
5
+ Everything an LLM needs in ONE file: https://vivmagarwal.github.io/edododraw/llms-full.txt
6
+
7
+ ## Docs
8
+ - [Language reference](https://vivmagarwal.github.io/edododraw/#/docs/language)
9
+ - [Camera & timeline](https://vivmagarwal.github.io/edododraw/#/docs/camera-timeline)
10
+ - [Annotations](https://vivmagarwal.github.io/edododraw/#/docs/annotations)
11
+ - [Import & export](https://vivmagarwal.github.io/edododraw/#/docs/import-export)
12
+ - [Embed in your app](https://vivmagarwal.github.io/edododraw/#/docs/integration)
13
+ - [Extend & make plugins](https://vivmagarwal.github.io/edododraw/#/docs/extending)
14
+ - [Architecture](https://vivmagarwal.github.io/edododraw/#/docs/architecture)
15
+ - [Development standards](https://vivmagarwal.github.io/edododraw/#/docs/development)
16
+
17
+ ## Links
18
+ - Full docs (single file): https://vivmagarwal.github.io/edododraw/llms-full.txt
19
+ - Playground: https://vivmagarwal.github.io/edododraw/#/playground
20
+ - npm: https://www.npmjs.com/package/edododraw
21
+ - Repo: https://github.com/vivmagarwal/edododraw
package/dist-lib/react.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { useRef, useEffect } from "react";
3
- import { b as EdodoDraw } from "./chunks/EdodoDraw-CUf224RG.js";
3
+ import { c as EdodoDraw } from "./chunks/EdodoDraw-C3Yd1I9B.js";
4
4
  function EdodoDrawView({ source, className, style, onReady, onDiagnostics, onState, ...opts }) {
5
5
  const hostRef = useRef(null);
6
6
  const eddRef = useRef(null);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "edododraw",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "type": "module",
5
5
  "description": "A 100% code/syntax-to-diagram engine with the Excalidraw hand-drawn aesthetic, magic-move camera, scriptable + real-time annotations, animated arrows, and first-class Mermaid import.",
6
6
  "license": "MIT",
@@ -53,6 +53,8 @@
53
53
  },
54
54
  "scripts": {
55
55
  "dev": "vite",
56
+ "gen:llms": "node scripts/gen-llms-txt.mjs",
57
+ "prebuild": "node scripts/gen-llms-txt.mjs",
56
58
  "build": "tsc -b && vite build",
57
59
  "build:lib": "vite build --config vite.lib.config.ts",
58
60
  "build:types": "tsc -p tsconfig.lib.json",
@@ -83,11 +85,18 @@
83
85
  }
84
86
  },
85
87
  "devDependencies": {
88
+ "@codemirror/commands": "^6.10.4",
89
+ "@codemirror/language": "^6.12.4",
90
+ "@codemirror/lint": "^6.9.7",
91
+ "@codemirror/state": "^6.7.1",
92
+ "@codemirror/view": "^6.43.6",
86
93
  "@excalidraw/mermaid-to-excalidraw": "^1.1.4",
94
+ "@lezer/highlight": "^1.2.3",
87
95
  "@types/node": "^22.10.2",
88
96
  "@types/react": "^18.3.18",
89
97
  "@types/react-dom": "^18.3.5",
90
98
  "@vitejs/plugin-react": "^4.3.4",
99
+ "codemirror": "^6.0.2",
91
100
  "jsdom": "^25.0.1",
92
101
  "marked": "^18.0.5",
93
102
  "react": "^18.3.1",