@tnotesjs/core 0.1.0 → 0.1.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.
Potentially problematic release.
This version of @tnotesjs/core might be problematic. Click here for more details.
- package/dist/chunk-NYLJBCWL.js +207 -0
- package/dist/cli/index.js +1635 -347
- package/dist/index.js +1 -1
- package/package.json +74 -74
- package/vitepress/assets/icons/icon__mindmap.svg +1 -1
- package/vitepress/assets/icons/icon__search.svg +1 -1
- package/vitepress/components/SidebarCard/MindMapView.vue +483 -483
- package/vitepress/components/SidebarCard/NotesTrendChart.vue +108 -108
- package/dist/chunk-K3X5OP3N.js +0 -1532
- package/dist/cli/index.d.ts +0 -2
- package/dist/index.d.ts +0 -138
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,74 +1,74 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@tnotesjs/core",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "TNotes 知识库核心框架 —— 基于 VitePress 的笔记管理系统",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"bin": {
|
|
7
|
-
"tnotes": "./dist/cli/index.js"
|
|
8
|
-
},
|
|
9
|
-
"exports": {
|
|
10
|
-
".": {
|
|
11
|
-
"types": "./dist/index.d.ts",
|
|
12
|
-
"import": "./dist/index.js"
|
|
13
|
-
},
|
|
14
|
-
"./vitepress/config": {
|
|
15
|
-
"types": "./vitepress/config/index.ts",
|
|
16
|
-
"import": "./vitepress/config/index.ts"
|
|
17
|
-
},
|
|
18
|
-
"./vitepress/theme": {
|
|
19
|
-
"types": "./vitepress/theme/index.ts",
|
|
20
|
-
"import": "./vitepress/theme/index.ts"
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
"files": [
|
|
24
|
-
"dist/",
|
|
25
|
-
"vitepress/",
|
|
26
|
-
"types/"
|
|
27
|
-
],
|
|
28
|
-
"scripts": {
|
|
29
|
-
"build": "tsup",
|
|
30
|
-
"build:check": "tsc --noEmit"
|
|
31
|
-
},
|
|
32
|
-
"peerDependencies": {
|
|
33
|
-
"vite": "^5.0.0 || ^6.0.0 || ^7.0.0",
|
|
34
|
-
"vitepress": "^1.6.0",
|
|
35
|
-
"vue": "^3.5.0"
|
|
36
|
-
},
|
|
37
|
-
"dependencies": {
|
|
38
|
-
"d3": "^7.9.0",
|
|
39
|
-
"echarts": "^6.0.0",
|
|
40
|
-
"github-slugger": "^2.0.0",
|
|
41
|
-
"markdown-it-container": "^4.0.0",
|
|
42
|
-
"markdown-it-link-attributes": "^4.0.1",
|
|
43
|
-
"markdown-it-mathjax3": "^4.3.2",
|
|
44
|
-
"marked": "^15.0.11",
|
|
45
|
-
"markmap-lib": "^0.18.12",
|
|
46
|
-
"markmap-toolbar": "^0.18.12",
|
|
47
|
-
"markmap-view": "^0.18.12",
|
|
48
|
-
"swiper": "^11.2.1",
|
|
49
|
-
"uuid": "^11.1.0",
|
|
50
|
-
"vue-echarts": "^8.0.1"
|
|
51
|
-
},
|
|
52
|
-
"devDependencies": {
|
|
53
|
-
"@types/markdown-it": "^14.1.2",
|
|
54
|
-
"@types/node": "^24.6.2",
|
|
55
|
-
"markdown-it-task-lists": "^2.1.1",
|
|
56
|
-
"sass-embedded": "^1.90.0",
|
|
57
|
-
"tsup": "^8.5.1",
|
|
58
|
-
"typescript": "^5.9.3"
|
|
59
|
-
},
|
|
60
|
-
"engines": {
|
|
61
|
-
"node": ">=18.0.0"
|
|
62
|
-
},
|
|
63
|
-
"license": "MIT",
|
|
64
|
-
"repository": {
|
|
65
|
-
"type": "git",
|
|
66
|
-
"url": "https://github.com/tnotesjs/core"
|
|
67
|
-
},
|
|
68
|
-
"keywords": [
|
|
69
|
-
"tnotes",
|
|
70
|
-
"vitepress",
|
|
71
|
-
"knowledge-base",
|
|
72
|
-
"notes"
|
|
73
|
-
]
|
|
74
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@tnotesjs/core",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "TNotes 知识库核心框架 —— 基于 VitePress 的笔记管理系统",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"bin": {
|
|
7
|
+
"tnotes": "./dist/cli/index.js"
|
|
8
|
+
},
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"import": "./dist/index.js"
|
|
13
|
+
},
|
|
14
|
+
"./vitepress/config": {
|
|
15
|
+
"types": "./vitepress/config/index.ts",
|
|
16
|
+
"import": "./vitepress/config/index.ts"
|
|
17
|
+
},
|
|
18
|
+
"./vitepress/theme": {
|
|
19
|
+
"types": "./vitepress/theme/index.ts",
|
|
20
|
+
"import": "./vitepress/theme/index.ts"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"files": [
|
|
24
|
+
"dist/",
|
|
25
|
+
"vitepress/",
|
|
26
|
+
"types/"
|
|
27
|
+
],
|
|
28
|
+
"scripts": {
|
|
29
|
+
"build": "tsup",
|
|
30
|
+
"build:check": "tsc --noEmit"
|
|
31
|
+
},
|
|
32
|
+
"peerDependencies": {
|
|
33
|
+
"vite": "^5.0.0 || ^6.0.0 || ^7.0.0",
|
|
34
|
+
"vitepress": "^1.6.0",
|
|
35
|
+
"vue": "^3.5.0"
|
|
36
|
+
},
|
|
37
|
+
"dependencies": {
|
|
38
|
+
"d3": "^7.9.0",
|
|
39
|
+
"echarts": "^6.0.0",
|
|
40
|
+
"github-slugger": "^2.0.0",
|
|
41
|
+
"markdown-it-container": "^4.0.0",
|
|
42
|
+
"markdown-it-link-attributes": "^4.0.1",
|
|
43
|
+
"markdown-it-mathjax3": "^4.3.2",
|
|
44
|
+
"marked": "^15.0.11",
|
|
45
|
+
"markmap-lib": "^0.18.12",
|
|
46
|
+
"markmap-toolbar": "^0.18.12",
|
|
47
|
+
"markmap-view": "^0.18.12",
|
|
48
|
+
"swiper": "^11.2.1",
|
|
49
|
+
"uuid": "^11.1.0",
|
|
50
|
+
"vue-echarts": "^8.0.1"
|
|
51
|
+
},
|
|
52
|
+
"devDependencies": {
|
|
53
|
+
"@types/markdown-it": "^14.1.2",
|
|
54
|
+
"@types/node": "^24.6.2",
|
|
55
|
+
"markdown-it-task-lists": "^2.1.1",
|
|
56
|
+
"sass-embedded": "^1.90.0",
|
|
57
|
+
"tsup": "^8.5.1",
|
|
58
|
+
"typescript": "^5.9.3"
|
|
59
|
+
},
|
|
60
|
+
"engines": {
|
|
61
|
+
"node": ">=18.0.0"
|
|
62
|
+
},
|
|
63
|
+
"license": "MIT",
|
|
64
|
+
"repository": {
|
|
65
|
+
"type": "git",
|
|
66
|
+
"url": "https://github.com/tnotesjs/core"
|
|
67
|
+
},
|
|
68
|
+
"keywords": [
|
|
69
|
+
"tnotes",
|
|
70
|
+
"vitepress",
|
|
71
|
+
"knowledge-base",
|
|
72
|
+
"notes"
|
|
73
|
+
]
|
|
74
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 48 48"><path fill="none" stroke="#646cff" stroke-linecap="round" stroke-linejoin="round" stroke-width="4" d="M26 24h16M26 38h16M26 10h16M18 24H6h4m8 14c-6-2-2-14-8-14m8-14c-6 2-2 14-8 14"/></svg>
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 48 48"><path fill="none" stroke="#646cff" stroke-linecap="round" stroke-linejoin="round" stroke-width="4" d="M26 24h16M26 38h16M26 10h16M18 24H6h4m8 14c-6-2-2-14-8-14m8-14c-6 2-2 14-8 14"/></svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="#646cff" d="M9.539 15.23q-2.398 0-4.065-1.666Q3.808 11.899 3.808 9.5t1.666-4.065T9.539 3.77t4.064 1.666T15.269 9.5q0 1.042-.369 2.017t-.97 1.668l5.909 5.907q.14.14.15.345q.009.203-.15.363q-.16.16-.354.16t-.354-.16l-5.908-5.908q-.75.639-1.725.989t-1.96.35m0-1q1.99 0 3.361-1.37q1.37-1.37 1.37-3.361T12.9 6.14T9.54 4.77q-1.991 0-3.361 1.37T4.808 9.5t1.37 3.36t3.36 1.37"/></svg>
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="#646cff" d="M9.539 15.23q-2.398 0-4.065-1.666Q3.808 11.899 3.808 9.5t1.666-4.065T9.539 3.77t4.064 1.666T15.269 9.5q0 1.042-.369 2.017t-.97 1.668l5.909 5.907q.14.14.15.345q.009.203-.15.363q-.16.16-.354.16t-.354-.16l-5.908-5.908q-.75.639-1.725.989t-1.96.35m0-1q1.99 0 3.361-1.37q1.37-1.37 1.37-3.361T12.9 6.14T9.54 4.77q-1.991 0-3.361 1.37T4.808 9.5t1.37 3.36t3.36 1.37"/></svg>
|