@diagc/cli 0.1.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.
- package/README.md +2 -2
- package/assets/studio/assets/index-HQHvCU88.js +108 -0
- package/assets/studio/assets/index-Jz5ydoCD.css +1 -0
- package/assets/studio/index.html +2 -2
- package/assets/viewer/index.html +34 -34
- package/dist/cli.d.ts +7 -0
- package/dist/cli.js +27 -2
- package/dist/publish/gallery.d.ts +19 -2
- package/dist/publish/gallery.js +48 -10
- package/dist/publish/publish.d.ts +2 -0
- package/dist/publish/publish.js +7 -2
- package/dist/watch.js +9 -1
- package/package.json +2 -2
- package/assets/studio/assets/index-BWKWtpKP.css +0 -1
- package/assets/studio/assets/index-Cz232yAT.js +0 -108
package/README.md
CHANGED
|
@@ -39,7 +39,7 @@ diagc studio # opens the editor, recompiling as you edit
|
|
|
39
39
|
| `diagc studio` | Serve the visual editor against the current directory (default `http://127.0.0.1:5173`). Diagrams drawn here are saved back as `.diagram.json`. |
|
|
40
40
|
| `diagc publish` | Write self-contained HTML pages to `.diagrams/html/` and PNGs to `.diagrams/static/`. |
|
|
41
41
|
|
|
42
|
-
Flags: `--out <dir>` (artifact directory), `--no-images` (publish HTML only), `--help`.
|
|
42
|
+
Flags: `--out <dir>` (artifact directory), `--no-images` (publish HTML only), `--link <url>` (link the published index to an address), `--help`.
|
|
43
43
|
|
|
44
44
|
PNG export drives headless Chrome. Without one, `publish` writes HTML and says so; point `CHROME_PATH` at a browser to get images.
|
|
45
45
|
|
|
@@ -55,4 +55,4 @@ Full docs, tutorials, and the model reference: <https://github.com/Ferroman/diag
|
|
|
55
55
|
|
|
56
56
|
## License
|
|
57
57
|
|
|
58
|
-
|
|
58
|
+
[AGPL-3.0-only](https://github.com/Ferroman/diagc/blob/main/LICENSE), with additional permissions under section 7: diagrams you author, and the pages and images built from them, are yours to license however you like. A commercial license is available. See the [project README](https://github.com/Ferroman/diagc#license).
|