remark-dgmo 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.
- package/README.md +2 -2
- package/package.json +5 -3
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Framework-agnostic [remark](https://github.com/remarkjs/remark) plugin that renders [DGMO](https://diagrammo.app) diagrams from `` ```dgmo `` fenced code blocks at build time. Powered by [`@diagrammo/dgmo`](https://www.npmjs.com/package/@diagrammo/dgmo). Zero client JavaScript by default.
|
|
4
4
|
|
|
5
5
|
```dgmo
|
|
6
|
-
|
|
6
|
+
sequence
|
|
7
7
|
Client -POST /login-> API
|
|
8
8
|
API -validate-> Auth
|
|
9
9
|
Auth -JWT-> API
|
|
@@ -162,7 +162,7 @@ Append options to the fence info string. Tokens are space-separated; values may
|
|
|
162
162
|
|
|
163
163
|
````markdown
|
|
164
164
|
```dgmo showcase title="Login flow" palette=catppuccin theme=light
|
|
165
|
-
|
|
165
|
+
sequence
|
|
166
166
|
A -> B
|
|
167
167
|
```
|
|
168
168
|
````
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "remark-dgmo",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Remark plugin to render DGMO diagrams from fenced code blocks at build time. Framework-agnostic core shared by astro-dgmo, docusaurus-plugin-dgmo, and any unified pipeline.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -34,11 +34,13 @@
|
|
|
34
34
|
"exports": {
|
|
35
35
|
".": {
|
|
36
36
|
"types": "./dist/index.d.ts",
|
|
37
|
-
"import": "./dist/index.js"
|
|
37
|
+
"import": "./dist/index.js",
|
|
38
|
+
"default": "./dist/index.js"
|
|
38
39
|
},
|
|
39
40
|
"./remark": {
|
|
40
41
|
"types": "./dist/remark-plugin.d.ts",
|
|
41
|
-
"import": "./dist/remark-plugin.js"
|
|
42
|
+
"import": "./dist/remark-plugin.js",
|
|
43
|
+
"default": "./dist/remark-plugin.js"
|
|
42
44
|
},
|
|
43
45
|
"./client.js": "./dist/client.js",
|
|
44
46
|
"./client.css": "./dist/client.css"
|