Skip to content

Commit 82c020a

Browse files
committed
style: 🎨 添加 thpe 修饰类型引入
1 parent f515b17 commit 82c020a

File tree

10 files changed

+12
-56
lines changed

10 files changed

+12
-56
lines changed

‎build/helper/external.ts

-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ export const externalModule = [
2020
...Object.keys(globals),
2121
"gray-matter",
2222
"@element-plus/icons-vue",
23-
"markdown-it",
2423
"markdown-it-container",
2524
"js-yaml",
2625
"picocolors",

‎pnpm-lock.yaml

+3-42
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎vitepress-theme-teek/package-prod.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@
6262
"./*": "./*"
6363
},
6464
"dependencies": {
65-
"@element-plus/icons-vue": "^2.3.1",
6665
"gray-matter": "^4.0.3",
6766
"js-yaml": "^4.1.0",
6867
"markdown-it-container": "^4.0.0",
@@ -72,7 +71,7 @@
7271
"vitepress-plugin-file-content-loader": "latest",
7372
"vitepress-plugin-md-h1": "latest",
7473
"vitepress-plugin-permalink": "latest",
75-
"vitepress-plugin-sidebar-resolve": "latest",
74+
"vitepress-plugin-sidebar-resolve": "latest"
7675
},
7776
"devDependencies": {
7877
"@element-plus/icons-vue": "^2.3.1",
@@ -82,7 +81,6 @@
8281
"@types/markdown-it-container": "^2.0.10",
8382
"@waline/client": "^3.5.1",
8483
"element-plus": "^2.9.3",
85-
"markdown-it": "^14.1.0",
8684
"sass": "^1.83.1",
8785
"unbuild": "^3.2.0",
8886
"vite": "^6.0.7",

‎vitepress-theme-teek/package-test.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@
6565
"stub": "unbuild --stub"
6666
},
6767
"dependencies": {
68-
"@types/js-yaml": "^4.0.9",
6968
"gray-matter": "^4.0.3",
7069
"js-yaml": "^4.1.0",
70+
"markdown-it-container": "^4.0.0",
7171
"vitepress-plugin-auto-frontmatter": "latest",
7272
"vitepress-plugin-catalogue": "latest",
7373
"vitepress-plugin-doc-analysis": "latest",
@@ -79,12 +79,11 @@
7979
"devDependencies": {
8080
"@element-plus/icons-vue": "^2.3.1",
8181
"@giscus/vue": "^3.1.1",
82+
"@types/js-yaml": "^4.0.9",
8283
"@types/markdown-it": "^14.1.2",
8384
"@types/markdown-it-container": "^2.0.10",
8485
"@waline/client": "^3.5.1",
8586
"element-plus": "^2.9.3",
86-
"markdown-it": "^14.1.0",
87-
"markdown-it-container": "^4.0.0",
8887
"sass": "^1.83.1",
8988
"unbuild": "^3.2.0",
9089
"vite": "^6.0.7",

‎vitepress-theme-teek/package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,8 @@
4242
"stub": "unbuild --stub"
4343
},
4444
"dependencies": {
45-
"@element-plus/icons-vue": "^2.3.1",
4645
"gray-matter": "^4.0.3",
4746
"js-yaml": "^4.1.0",
48-
"markdown-it": "^14.1.0",
4947
"markdown-it-container": "^4.0.0",
5048
"vitepress-plugin-auto-frontmatter": "latest",
5149
"vitepress-plugin-catalogue": "latest",
@@ -56,6 +54,7 @@
5654
"vitepress-plugin-sidebar-resolve": "latest"
5755
},
5856
"devDependencies": {
57+
"@element-plus/icons-vue": "^2.3.1",
5958
"@giscus/vue": "^3.1.1",
6059
"@types/js-yaml": "^4.0.9",
6160
"@types/markdown-it": "^14.1.2",

‎vitepress-theme-teek/src/markdown/plugins/container.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type MarkdownIt from "markdown-it";
22
import container from "markdown-it-container";
3-
import { Token } from "markdown-it";
3+
import type { Token } from "markdown-it";
44

55
export type ContainerArgs = [typeof container, string, { render: (tokens: Token[], idx: number) => string }];
66

‎vitepress-theme-teek/src/markdown/plugins/imgCard.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import MarkdownIt from "markdown-it";
1+
import type MarkdownIt from "markdown-it";
22
import container from "markdown-it-container";
33
import yaml from "js-yaml";
44
import { withBase } from "../../helper/util";

‎vitepress-theme-teek/src/markdown/plugins/navCard.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import MarkdownIt from "markdown-it";
1+
import type MarkdownIt from "markdown-it";
22
import container from "markdown-it-container";
33
import yaml from "js-yaml";
44
import { withBase } from "../../helper/util";

‎vitepress-theme-teek/src/markdown/plugins/shareCard.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import MarkdownIt from "markdown-it";
1+
import type MarkdownIt from "markdown-it";
22
import yaml from "js-yaml";
33
import { withBase } from "../../helper/util";
44
import container from "markdown-it-container";

‎vitepress-theme-teek/src/markdown/plugins/todo.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import MarkdownIt from "markdown-it";
1+
import type MarkdownIt from "markdown-it";
22

33
const todoUncheck = "[ ] ";
44
const todoCheck = "[x] ";

0 commit comments

Comments
 (0)