markmap-render 0.17.0 → 0.17.1-alpha.5
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/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +11 -9
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@ const markmapCommon = require("markmap-common");
|
|
|
4
4
|
const template = '<!DOCTYPE html>\n<html>\n<head>\n<meta charset="UTF-8">\n<meta name="viewport" content="width=device-width, initial-scale=1.0">\n<meta http-equiv="X-UA-Compatible" content="ie=edge">\n<title>Markmap</title>\n<style>\n* {\n margin: 0;\n padding: 0;\n}\n#mindmap {\n display: block;\n width: 100vw;\n height: 100vh;\n}\n</style>\n<!--CSS-->\n</head>\n<body>\n<svg id="mindmap"></svg>\n<!--JS-->\n</body>\n</html>\n';
|
|
5
5
|
const baseJsPaths = [
|
|
6
6
|
`d3@${"7.8.5"}/dist/d3.min.js`,
|
|
7
|
-
`markmap-view@${"0.17.
|
|
7
|
+
`markmap-view@${"0.17.1-alpha.5"}/dist/browser/index.js`
|
|
8
8
|
];
|
|
9
9
|
function fillTemplate(root, assets, extra) {
|
|
10
10
|
extra = {
|
package/dist/index.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { urlBuilder, buildJSItem, persistCSS, persistJS } from "markmap-common";
|
|
|
2
2
|
const template = '<!DOCTYPE html>\n<html>\n<head>\n<meta charset="UTF-8">\n<meta name="viewport" content="width=device-width, initial-scale=1.0">\n<meta http-equiv="X-UA-Compatible" content="ie=edge">\n<title>Markmap</title>\n<style>\n* {\n margin: 0;\n padding: 0;\n}\n#mindmap {\n display: block;\n width: 100vw;\n height: 100vh;\n}\n</style>\n<!--CSS-->\n</head>\n<body>\n<svg id="mindmap"></svg>\n<!--JS-->\n</body>\n</html>\n';
|
|
3
3
|
const baseJsPaths = [
|
|
4
4
|
`d3@${"7.8.5"}/dist/d3.min.js`,
|
|
5
|
-
`markmap-view@${"0.17.
|
|
5
|
+
`markmap-view@${"0.17.1-alpha.5"}/dist/browser/index.js`
|
|
6
6
|
];
|
|
7
7
|
function fillTemplate(root, assets, extra) {
|
|
8
8
|
extra = {
|
package/package.json
CHANGED
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "markmap-render",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.1-alpha.5+a813e1e",
|
|
4
4
|
"description": "Visualize your Markdown as mindmaps with Markmap",
|
|
5
5
|
"author": "Gerald <gera2ld@live.com>",
|
|
6
6
|
"license": "MIT",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"clean": "del-cli dist",
|
|
9
|
+
"build:types": "tsc",
|
|
10
|
+
"build:js": "vite build",
|
|
11
|
+
"build": "run-s clean build:*",
|
|
12
|
+
"prepublishOnly": "run-s build"
|
|
13
|
+
},
|
|
7
14
|
"publishConfig": {
|
|
8
15
|
"access": "public",
|
|
9
16
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -41,15 +48,10 @@
|
|
|
41
48
|
},
|
|
42
49
|
"dependencies": {
|
|
43
50
|
"@babel/runtime": "^7.22.6",
|
|
44
|
-
"markmap-view": "0.17.
|
|
51
|
+
"markmap-view": "0.17.1-alpha.5+a813e1e"
|
|
45
52
|
},
|
|
46
53
|
"peerDependencies": {
|
|
47
54
|
"markmap-common": "*"
|
|
48
55
|
},
|
|
49
|
-
"
|
|
50
|
-
|
|
51
|
-
"build:types": "tsc",
|
|
52
|
-
"build:js": "vite build",
|
|
53
|
-
"build": "run-s clean build:*"
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
+
"gitHead": "a813e1efd3ad5a1f011fd71320bc36ac3e2b2402"
|
|
57
|
+
}
|