@vixt/vitepress 0.8.0 → 0.9.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 +2 -2
- package/dist/index.mjs +1 -3
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _vixt_core0 from "@vixt/core";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vite from "vite";
|
|
3
3
|
|
|
4
4
|
//#region src/index.d.ts
|
|
5
|
-
declare const _default: (options?: _vixt_core0.VixtOptions | undefined) =>
|
|
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
|
@@ -7,7 +7,6 @@ import defu from "defu";
|
|
|
7
7
|
import UnoCSS from "unocss/vite";
|
|
8
8
|
import AutoImport from "unplugin-auto-import/vite";
|
|
9
9
|
import Components from "unplugin-vue-components/vite";
|
|
10
|
-
import { VueRouterAutoImports } from "unplugin-vue-router";
|
|
11
10
|
import VueDevTools from "vite-plugin-vue-devtools";
|
|
12
11
|
|
|
13
12
|
//#region src/modules/config-patch.ts
|
|
@@ -26,7 +25,7 @@ var config_patch_default = defineVitePlugin(() => {
|
|
|
26
25
|
const name = "vixt:preset-vitepress";
|
|
27
26
|
var preset_vitepress_default = defineVixtModule({
|
|
28
27
|
meta: { name },
|
|
29
|
-
|
|
28
|
+
setup(_, vixt) {
|
|
30
29
|
const { components = [], composables = [], constants = [], utils = [], stores = [] } = resolveLayersDirs([...vixt._layers].reverse());
|
|
31
30
|
const { buildTypesDir } = vixt.options;
|
|
32
31
|
const defaultOptions = {
|
|
@@ -55,7 +54,6 @@ var preset_vitepress_default = defineVixtModule({
|
|
|
55
54
|
"vue",
|
|
56
55
|
"@vueuse/core",
|
|
57
56
|
"pinia",
|
|
58
|
-
VueRouterAutoImports,
|
|
59
57
|
VixtClientAutoImports
|
|
60
58
|
],
|
|
61
59
|
dts: `${buildTypesDir}/auto-imports.d.ts`,
|
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.9.0",
|
|
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.16",
|
|
27
|
+
"@vixt/core": "0.9.0",
|
|
28
|
+
"@vixt/vue": "0.9.0"
|
|
29
29
|
}
|
|
30
30
|
}
|