@dxos/plugin-mermaid 0.6.12-main.89e9959 → 0.6.12-main.c1d977f
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/dist/lib/browser/{chunk-ICHMODEB.mjs → chunk-JAUNBGBB.mjs} +4 -5
- package/dist/lib/browser/chunk-JAUNBGBB.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +1 -1
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/meta.mjs +1 -1
- package/dist/types/src/meta.d.ts +3 -6
- package/dist/types/src/meta.d.ts.map +1 -1
- package/package.json +11 -11
- package/src/{meta.tsx → meta.ts} +3 -3
- package/dist/lib/browser/chunk-ICHMODEB.mjs.map +0 -7
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
// packages/plugins/plugin-mermaid/src/meta.
|
|
2
|
-
import { pluginMeta } from "@dxos/app-framework";
|
|
1
|
+
// packages/plugins/plugin-mermaid/src/meta.ts
|
|
3
2
|
var MERMAID_PLUGIN = "dxos.org/plugin/mermaid";
|
|
4
|
-
var meta_default =
|
|
3
|
+
var meta_default = {
|
|
5
4
|
id: MERMAID_PLUGIN,
|
|
6
5
|
name: "Mermaid",
|
|
7
6
|
description: "Tool that renders text definitions to create diagrams.",
|
|
8
7
|
icon: "ph--anchor-simple--regular"
|
|
9
|
-
}
|
|
8
|
+
};
|
|
10
9
|
|
|
11
10
|
export {
|
|
12
11
|
MERMAID_PLUGIN,
|
|
13
12
|
meta_default
|
|
14
13
|
};
|
|
15
|
-
//# sourceMappingURL=chunk-
|
|
14
|
+
//# sourceMappingURL=chunk-JAUNBGBB.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/meta.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { type PluginMeta } from '@dxos/app-framework';\n\nexport const MERMAID_PLUGIN = 'dxos.org/plugin/mermaid';\n\nexport default {\n id: MERMAID_PLUGIN,\n name: 'Mermaid',\n description: 'Tool that renders text definitions to create diagrams.',\n icon: 'ph--anchor-simple--regular',\n} satisfies PluginMeta;\n"],
|
|
5
|
+
"mappings": ";AAMO,IAAMA,iBAAiB;AAE9B,IAAA,eAAe;EACbC,IAAID;EACJE,MAAM;EACNC,aAAa;EACbC,MAAM;AACR;",
|
|
6
|
+
"names": ["MERMAID_PLUGIN", "id", "name", "description", "icon"]
|
|
7
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"packages/plugins/plugin-mermaid/src/extensions/mermaid.ts":{"bytes":15376,"imports":[{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"mermaid","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-mermaid/src/extensions/index.ts":{"bytes":513,"imports":[{"path":"packages/plugins/plugin-mermaid/src/extensions/mermaid.ts","kind":"import-statement","original":"./mermaid"}],"format":"esm"},"packages/plugins/plugin-mermaid/src/meta.
|
|
1
|
+
{"inputs":{"packages/plugins/plugin-mermaid/src/extensions/mermaid.ts":{"bytes":15376,"imports":[{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"mermaid","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-mermaid/src/extensions/index.ts":{"bytes":513,"imports":[{"path":"packages/plugins/plugin-mermaid/src/extensions/mermaid.ts","kind":"import-statement","original":"./mermaid"}],"format":"esm"},"packages/plugins/plugin-mermaid/src/meta.ts":{"bytes":1274,"imports":[],"format":"esm"},"packages/plugins/plugin-mermaid/src/MermaidPlugin.tsx":{"bytes":1621,"imports":[{"path":"packages/plugins/plugin-mermaid/src/extensions/index.ts","kind":"import-statement","original":"./extensions"},{"path":"packages/plugins/plugin-mermaid/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-mermaid/src/index.ts":{"bytes":795,"imports":[{"path":"packages/plugins/plugin-mermaid/src/MermaidPlugin.tsx","kind":"import-statement","original":"./MermaidPlugin"},{"path":"packages/plugins/plugin-mermaid/src/MermaidPlugin.tsx","kind":"import-statement","original":"./MermaidPlugin"}],"format":"esm"}},"outputs":{"packages/plugins/plugin-mermaid/dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":8799},"packages/plugins/plugin-mermaid/dist/lib/browser/index.mjs":{"imports":[{"path":"packages/plugins/plugin-mermaid/dist/lib/browser/chunk-JAUNBGBB.mjs","kind":"import-statement"},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"mermaid","kind":"import-statement","external":true}],"exports":["MermaidPlugin","default"],"entryPoint":"packages/plugins/plugin-mermaid/src/index.ts","inputs":{"packages/plugins/plugin-mermaid/src/extensions/mermaid.ts":{"bytesInOutput":2874},"packages/plugins/plugin-mermaid/src/extensions/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-mermaid/src/MermaidPlugin.tsx":{"bytesInOutput":177},"packages/plugins/plugin-mermaid/src/index.ts":{"bytesInOutput":33}},"bytes":3397},"packages/plugins/plugin-mermaid/dist/lib/browser/meta.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-mermaid/dist/lib/browser/meta.mjs":{"imports":[{"path":"packages/plugins/plugin-mermaid/dist/lib/browser/chunk-JAUNBGBB.mjs","kind":"import-statement"}],"exports":["MERMAID_PLUGIN","default"],"entryPoint":"packages/plugins/plugin-mermaid/src/meta.ts","inputs":{},"bytes":163},"packages/plugins/plugin-mermaid/dist/lib/browser/chunk-JAUNBGBB.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":610},"packages/plugins/plugin-mermaid/dist/lib/browser/chunk-JAUNBGBB.mjs":{"imports":[],"exports":["MERMAID_PLUGIN","meta_default"],"inputs":{"packages/plugins/plugin-mermaid/src/meta.ts":{"bytesInOutput":223}},"bytes":360}}}
|
package/dist/types/src/meta.d.ts
CHANGED
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
export declare const MERMAID_PLUGIN = "dxos.org/plugin/mermaid";
|
|
2
2
|
declare const _default: {
|
|
3
3
|
id: string;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
homePage?: string;
|
|
8
|
-
tags?: string[];
|
|
9
|
-
icon?: string;
|
|
4
|
+
name: string;
|
|
5
|
+
description: string;
|
|
6
|
+
icon: string;
|
|
10
7
|
};
|
|
11
8
|
export default _default;
|
|
12
9
|
//# sourceMappingURL=meta.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.
|
|
1
|
+
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,cAAc,4BAA4B,CAAC;;;;;;;AAExD,wBAKuB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/plugin-mermaid",
|
|
3
|
-
"version": "0.6.12-main.
|
|
3
|
+
"version": "0.6.12-main.c1d977f",
|
|
4
4
|
"description": "Mermaid markdown plugin",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
"@codemirror/state": "^6.4.1",
|
|
34
34
|
"@codemirror/view": "^6.34.1",
|
|
35
35
|
"mermaid": "^10.6.1",
|
|
36
|
-
"@dxos/app-framework": "0.6.12-main.
|
|
37
|
-
"@dxos/plugin-markdown": "0.6.12-main.
|
|
38
|
-
"@dxos/plugin-space": "0.6.12-main.
|
|
39
|
-
"@dxos/react-ui-editor": "0.6.12-main.
|
|
36
|
+
"@dxos/app-framework": "0.6.12-main.c1d977f",
|
|
37
|
+
"@dxos/plugin-markdown": "0.6.12-main.c1d977f",
|
|
38
|
+
"@dxos/plugin-space": "0.6.12-main.c1d977f",
|
|
39
|
+
"@dxos/react-ui-editor": "0.6.12-main.c1d977f"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@phosphor-icons/react": "^2.1.5",
|
|
@@ -46,17 +46,17 @@
|
|
|
46
46
|
"react": "~18.2.0",
|
|
47
47
|
"react-dom": "~18.2.0",
|
|
48
48
|
"vite": "5.4.7",
|
|
49
|
-
"@dxos/echo-schema": "0.6.12-main.
|
|
50
|
-
"@dxos/react-ui": "0.6.12-main.
|
|
51
|
-
"@dxos/
|
|
52
|
-
"@dxos/
|
|
49
|
+
"@dxos/echo-schema": "0.6.12-main.c1d977f",
|
|
50
|
+
"@dxos/react-ui": "0.6.12-main.c1d977f",
|
|
51
|
+
"@dxos/storybook-utils": "0.6.12-main.c1d977f",
|
|
52
|
+
"@dxos/react-ui-theme": "0.6.12-main.c1d977f"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
55
|
"@phosphor-icons/react": "^2.1.5",
|
|
56
56
|
"react": "~18.2.0",
|
|
57
57
|
"react-dom": "~18.2.0",
|
|
58
|
-
"@dxos/react-ui": "0.6.12-main.
|
|
59
|
-
"@dxos/react-ui-theme": "0.6.12-main.
|
|
58
|
+
"@dxos/react-ui": "0.6.12-main.c1d977f",
|
|
59
|
+
"@dxos/react-ui-theme": "0.6.12-main.c1d977f"
|
|
60
60
|
},
|
|
61
61
|
"publishConfig": {
|
|
62
62
|
"access": "public"
|
package/src/{meta.tsx → meta.ts}
RENAMED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
// Copyright 2023 DXOS.org
|
|
3
3
|
//
|
|
4
4
|
|
|
5
|
-
import {
|
|
5
|
+
import { type PluginMeta } from '@dxos/app-framework';
|
|
6
6
|
|
|
7
7
|
export const MERMAID_PLUGIN = 'dxos.org/plugin/mermaid';
|
|
8
8
|
|
|
9
|
-
export default
|
|
9
|
+
export default {
|
|
10
10
|
id: MERMAID_PLUGIN,
|
|
11
11
|
name: 'Mermaid',
|
|
12
12
|
description: 'Tool that renders text definitions to create diagrams.',
|
|
13
13
|
icon: 'ph--anchor-simple--regular',
|
|
14
|
-
}
|
|
14
|
+
} satisfies PluginMeta;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/meta.tsx"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { pluginMeta } from '@dxos/app-framework';\n\nexport const MERMAID_PLUGIN = 'dxos.org/plugin/mermaid';\n\nexport default pluginMeta({\n id: MERMAID_PLUGIN,\n name: 'Mermaid',\n description: 'Tool that renders text definitions to create diagrams.',\n icon: 'ph--anchor-simple--regular',\n});\n"],
|
|
5
|
-
"mappings": ";AAIA,SAASA,kBAAkB;AAEpB,IAAMC,iBAAiB;AAE9B,IAAA,eAAeC,WAAW;EACxBC,IAAIF;EACJG,MAAM;EACNC,aAAa;EACbC,MAAM;AACR,CAAA;",
|
|
6
|
-
"names": ["pluginMeta", "MERMAID_PLUGIN", "pluginMeta", "id", "name", "description", "icon"]
|
|
7
|
-
}
|