@slidev/types 51.6.1 → 51.7.0
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.d.mts +847 -838
- package/dist/index.mjs +19 -32
- package/package.json +4 -4
package/dist/index.mjs
CHANGED
|
@@ -1,34 +1,21 @@
|
|
|
1
|
-
|
|
1
|
+
//#region src/setups.ts
|
|
2
2
|
function defineSetup(fn) {
|
|
3
|
-
|
|
3
|
+
return fn;
|
|
4
4
|
}
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
defineContextMenuSetup,
|
|
23
|
-
defineKatexSetup,
|
|
24
|
-
defineMermaidSetup,
|
|
25
|
-
defineMonacoSetup,
|
|
26
|
-
definePreparserSetup,
|
|
27
|
-
defineRootSetup,
|
|
28
|
-
defineRoutesSetup,
|
|
29
|
-
defineShikiSetup,
|
|
30
|
-
defineShortcutsSetup,
|
|
31
|
-
defineTransformersSetup,
|
|
32
|
-
defineUnoSetup,
|
|
33
|
-
defineVitePluginsSetup
|
|
34
|
-
};
|
|
5
|
+
const defineShikiSetup = defineSetup;
|
|
6
|
+
const defineUnoSetup = defineSetup;
|
|
7
|
+
const defineMonacoSetup = defineSetup;
|
|
8
|
+
const defineAppSetup = defineSetup;
|
|
9
|
+
const defineRootSetup = defineSetup;
|
|
10
|
+
const defineRoutesSetup = defineSetup;
|
|
11
|
+
const defineMermaidSetup = defineSetup;
|
|
12
|
+
const defineKatexSetup = defineSetup;
|
|
13
|
+
const defineShortcutsSetup = defineSetup;
|
|
14
|
+
const defineTransformersSetup = defineSetup;
|
|
15
|
+
const definePreparserSetup = defineSetup;
|
|
16
|
+
const defineVitePluginsSetup = defineSetup;
|
|
17
|
+
const defineCodeRunnersSetup = defineSetup;
|
|
18
|
+
const defineContextMenuSetup = defineSetup;
|
|
19
|
+
|
|
20
|
+
//#endregion
|
|
21
|
+
export { defineAppSetup, defineCodeRunnersSetup, defineContextMenuSetup, defineKatexSetup, defineMermaidSetup, defineMonacoSetup, definePreparserSetup, defineRootSetup, defineRoutesSetup, defineShikiSetup, defineShortcutsSetup, defineTransformersSetup, defineUnoSetup, defineVitePluginsSetup };
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slidev/types",
|
|
3
|
-
"version": "51.
|
|
3
|
+
"version": "51.7.0",
|
|
4
4
|
"description": "Shared types declarations for Slidev",
|
|
5
|
-
"author": "
|
|
5
|
+
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"funding": "https://github.com/sponsors/antfu",
|
|
8
8
|
"homepage": "https://sli.dev",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@vitejs/plugin-vue-jsx": "^4.1.2",
|
|
30
30
|
"katex": "^0.16.22",
|
|
31
31
|
"mermaid": "^11.6.0",
|
|
32
|
-
"monaco-editor": "0.
|
|
32
|
+
"monaco-editor": "^0.52.2",
|
|
33
33
|
"shiki": "^3.4.2",
|
|
34
34
|
"unocss": "^66.1.2",
|
|
35
35
|
"unplugin-icons": "^22.1.0",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"vue-router": "^4.5.1"
|
|
43
43
|
},
|
|
44
44
|
"scripts": {
|
|
45
|
-
"build": "
|
|
45
|
+
"build": "tsdown src/index.ts",
|
|
46
46
|
"dev": "nr build --watch"
|
|
47
47
|
}
|
|
48
48
|
}
|