vitepress-tuck 0.1.1 → 0.3.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/README.md +3 -3
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -13,13 +13,13 @@ Enhance vitepress configuration and provide plugin development capabilities.
|
|
|
13
13
|
Install
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
|
-
npm
|
|
16
|
+
# npm
|
|
17
17
|
npm install vitepress vitepress-tuck
|
|
18
18
|
|
|
19
|
-
pnpm
|
|
19
|
+
# pnpm
|
|
20
20
|
pnpm add vitepress vitepress-tuck
|
|
21
21
|
|
|
22
|
-
yarn
|
|
22
|
+
# yarn
|
|
23
23
|
yarn add vitepress vitepress-tuck
|
|
24
24
|
```
|
|
25
25
|
|
package/dist/index.d.ts
CHANGED
|
@@ -57,6 +57,6 @@ declare function defineConfig<ThemeConfig = DefaultTheme.Config>(config: UserCon
|
|
|
57
57
|
/**
|
|
58
58
|
* 提供一种 vitepress 插件的定义方式,简化用户配置的复杂度,将复杂度转移到 vitepress 插件中
|
|
59
59
|
*/
|
|
60
|
-
declare function definePlugin<T>(plugin: (
|
|
60
|
+
declare function definePlugin<T>(plugin: (options?: T) => VitepressPlugin): (options?: T) => VitepressPlugin;
|
|
61
61
|
//#endregion
|
|
62
62
|
export { PluginsConfig, VitepressPlugin, defineConfig, definePlugin };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vitepress-tuck",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.3.0",
|
|
5
5
|
"description": "Enhance vitepress configuration, provide plugins capability.",
|
|
6
6
|
"author": "pengzhanbo <q942450674@outlook.com> (https://github.com/pengzhanbo/)",
|
|
7
7
|
"license": "MIT",
|