@vixt/vitepress 0.9.0 → 0.10.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.
package/dist/client/entry.d.ts
CHANGED
package/dist/client/entry.js
CHANGED
|
@@ -4,7 +4,6 @@ import { applyPlugins, createVixtApp } from "@vixt/core/client";
|
|
|
4
4
|
import appConfig from "virtual:vixt:app-config";
|
|
5
5
|
import plugins from "virtual:vixt:plugins";
|
|
6
6
|
import DefaultTheme from "vitepress/theme";
|
|
7
|
-
|
|
8
7
|
//#region src/client/entry.ts
|
|
9
8
|
var entry_default = {
|
|
10
9
|
extends: DefaultTheme,
|
|
@@ -20,6 +19,5 @@ var entry_default = {
|
|
|
20
19
|
}
|
|
21
20
|
}
|
|
22
21
|
};
|
|
23
|
-
|
|
24
22
|
//#endregion
|
|
25
|
-
export { entry_default as default };
|
|
23
|
+
export { entry_default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as _vixt_core_client0 from "@vixt/core/client";
|
|
1
|
+
import * as _$_vixt_core_client0 from "@vixt/core/client";
|
|
2
2
|
|
|
3
3
|
//#region src/client/plugins/pinia.d.ts
|
|
4
|
-
declare const _default: _vixt_core_client0.VixtPlugin;
|
|
4
|
+
declare const _default: _$_vixt_core_client0.VixtPlugin;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { _default as default };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { defineVixtPlugin } from "@vixt/core/client";
|
|
2
2
|
import { createPinia } from "pinia";
|
|
3
3
|
import { createPersistedState } from "pinia-plugin-persistedstate";
|
|
4
|
-
|
|
5
4
|
//#region src/client/plugins/pinia.ts
|
|
6
5
|
var pinia_default = defineVixtPlugin({
|
|
7
6
|
name: "vixt:pinia",
|
|
@@ -13,6 +12,5 @@ var pinia_default = defineVixtPlugin({
|
|
|
13
12
|
vixt.pinia = pinia;
|
|
14
13
|
}
|
|
15
14
|
});
|
|
16
|
-
|
|
17
15
|
//#endregion
|
|
18
|
-
export { pinia_default as default };
|
|
16
|
+
export { pinia_default as default };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as _vixt_core0 from "@vixt/core";
|
|
2
|
-
import * as vite from "vite";
|
|
1
|
+
import * as _$_vixt_core0 from "@vixt/core";
|
|
2
|
+
import * as _$vite from "vite";
|
|
3
3
|
|
|
4
4
|
//#region src/index.d.ts
|
|
5
|
-
declare const _default: (options?: _vixt_core0.VixtOptions | undefined) => vite.PluginOption;
|
|
5
|
+
declare const _default: (options?: _$_vixt_core0.VixtOptions | undefined) => _$vite.PluginOption;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { _default as default };
|
package/dist/index.mjs
CHANGED
|
@@ -8,7 +8,6 @@ import UnoCSS from "unocss/vite";
|
|
|
8
8
|
import AutoImport from "unplugin-auto-import/vite";
|
|
9
9
|
import Components from "unplugin-vue-components/vite";
|
|
10
10
|
import VueDevTools from "vite-plugin-vue-devtools";
|
|
11
|
-
|
|
12
11
|
//#region src/modules/config-patch.ts
|
|
13
12
|
var config_patch_default = defineVitePlugin(() => {
|
|
14
13
|
return {
|
|
@@ -19,12 +18,8 @@ var config_patch_default = defineVitePlugin(() => {
|
|
|
19
18
|
}
|
|
20
19
|
};
|
|
21
20
|
});
|
|
22
|
-
|
|
23
|
-
//#endregion
|
|
24
|
-
//#region src/modules/preset-vitepress.ts
|
|
25
|
-
const name = "vixt:preset-vitepress";
|
|
26
21
|
var preset_vitepress_default = defineVixtModule({
|
|
27
|
-
meta: { name },
|
|
22
|
+
meta: { name: "vixt:preset-vitepress" },
|
|
28
23
|
setup(_, vixt) {
|
|
29
24
|
const { components = [], composables = [], constants = [], utils = [], stores = [] } = resolveLayersDirs([...vixt._layers].reverse());
|
|
30
25
|
const { buildTypesDir } = vixt.options;
|
|
@@ -78,7 +73,6 @@ var preset_vitepress_default = defineVixtModule({
|
|
|
78
73
|
];
|
|
79
74
|
}
|
|
80
75
|
});
|
|
81
|
-
|
|
82
76
|
//#endregion
|
|
83
77
|
//#region src/index.ts
|
|
84
78
|
const plugins = ["@vixt/vitepress/client/plugins/pinia"];
|
|
@@ -94,6 +88,5 @@ var src_default = createVixtPlugin({ defaults: {
|
|
|
94
88
|
typescript: { tsConfig: { compilerOptions: { types: ["@vixt/vitepress/types"] } } },
|
|
95
89
|
vite: { optimizeDeps: { exclude: plugins } }
|
|
96
90
|
} });
|
|
97
|
-
|
|
98
91
|
//#endregion
|
|
99
|
-
export { src_default as default };
|
|
92
|
+
export { src_default as default };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vixt/vitepress",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.10.1",
|
|
5
5
|
"author": "SoulLyoko<https://github.com/SoulLyoko>",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://soullyoko.github.io/vixt/",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"dist"
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"vitepress": "^2.0.0-alpha.
|
|
27
|
-
"@vixt/core": "0.
|
|
28
|
-
"@vixt/vue": "0.
|
|
26
|
+
"vitepress": "^2.0.0-alpha.17",
|
|
27
|
+
"@vixt/core": "0.10.1",
|
|
28
|
+
"@vixt/vue": "0.10.1"
|
|
29
29
|
}
|
|
30
30
|
}
|