@vixt/vue 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/client/entry.d.ts +2 -2
- package/dist/client/entry.js +1 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +11 -8
- package/dist/types/node.d.ts +2 -2
- package/package.json +8 -9
package/dist/client/entry.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "virtual:vixt:css";
|
|
2
2
|
import "virtual:uno.css";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/client/entry.d.ts
|
|
6
|
-
declare function entry():
|
|
6
|
+
declare function entry(): vue.App<Element>;
|
|
7
7
|
//#endregion
|
|
8
8
|
export { entry as default };
|
package/dist/client/entry.js
CHANGED
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
|
@@ -12,13 +12,13 @@ import VueJsx from "@vitejs/plugin-vue-jsx";
|
|
|
12
12
|
import UnoCSS from "unocss/vite";
|
|
13
13
|
import AutoImport from "unplugin-auto-import/vite";
|
|
14
14
|
import Components from "unplugin-vue-components/vite";
|
|
15
|
-
import { VueRouterAutoImports } from "unplugin-vue-router";
|
|
16
|
-
import VueRouter from "unplugin-vue-router/vite";
|
|
17
15
|
import VueDevTools from "vite-plugin-vue-devtools";
|
|
18
16
|
import Layouts from "vite-plugin-vue-layouts";
|
|
17
|
+
import { VueRouterAutoImports } from "vue-router/unplugin";
|
|
18
|
+
import VueRouter from "vue-router/vite";
|
|
19
19
|
import { parse } from "@vue/compiler-sfc";
|
|
20
20
|
|
|
21
|
-
//#region
|
|
21
|
+
//#region \0rolldown/runtime.js
|
|
22
22
|
var __create = Object.create;
|
|
23
23
|
var __defProp = Object.defineProperty;
|
|
24
24
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -8817,11 +8817,14 @@ var src_default = createVixtPlugin({ defaults: {
|
|
|
8817
8817
|
content: "width=device-width, initial-scale=1.0"
|
|
8818
8818
|
}] }
|
|
8819
8819
|
},
|
|
8820
|
-
typescript: { tsConfig: {
|
|
8821
|
-
|
|
8822
|
-
|
|
8823
|
-
|
|
8824
|
-
|
|
8820
|
+
typescript: { tsConfig: {
|
|
8821
|
+
compilerOptions: { types: [
|
|
8822
|
+
"@vixt/vue/types",
|
|
8823
|
+
"vue-router/auto",
|
|
8824
|
+
"vite-plugin-vue-layouts/client"
|
|
8825
|
+
] },
|
|
8826
|
+
vueCompilerOptions: { plugins: ["vue-router/volar/sfc-typed-router", "vue-router/volar/sfc-route-blocks"] }
|
|
8827
|
+
} },
|
|
8825
8828
|
vite: { optimizeDeps: { exclude: plugins } }
|
|
8826
8829
|
} });
|
|
8827
8830
|
|
package/dist/types/node.d.ts
CHANGED
|
@@ -4,15 +4,15 @@ import type { ExtractPluginOptions } from '@vixt/core'
|
|
|
4
4
|
import type UnoCSS from 'unocss/vite'
|
|
5
5
|
import type AutoImport from 'unplugin-auto-import/vite'
|
|
6
6
|
import type Components from 'unplugin-vue-components/vite'
|
|
7
|
-
import type VueRouter from 'unplugin-vue-router/vite'
|
|
8
7
|
import type VueDevTools from 'vite-plugin-vue-devtools'
|
|
9
8
|
import type Layouts from 'vite-plugin-vue-layouts'
|
|
9
|
+
import type VueRouter from 'vue-router/vite'
|
|
10
10
|
|
|
11
11
|
declare module '@vixt/core' {
|
|
12
12
|
interface VixtOptions {
|
|
13
13
|
vue?: ExtractPluginOptions<typeof Vue>
|
|
14
14
|
vueJsx?: ExtractPluginOptions<typeof VueJsx>
|
|
15
|
-
/** https://
|
|
15
|
+
/** https://router.vuejs.org/file-based-routing/ */
|
|
16
16
|
router?: ExtractPluginOptions<typeof VueRouter>
|
|
17
17
|
/** https://github.com/JohnCampionJr/vite-plugin-vue-layouts */
|
|
18
18
|
layouts?: ExtractPluginOptions<typeof Layouts>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vixt/vue",
|
|
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/",
|
|
@@ -24,20 +24,19 @@
|
|
|
24
24
|
"dist"
|
|
25
25
|
],
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@vitejs/plugin-vue": "^6.0.
|
|
28
|
-
"@vitejs/plugin-vue-jsx": "^5.1.
|
|
27
|
+
"@vitejs/plugin-vue": "^6.0.4",
|
|
28
|
+
"@vitejs/plugin-vue-jsx": "^5.1.4",
|
|
29
29
|
"@vueuse/core": "^13.9.0",
|
|
30
30
|
"pinia": "^3.0.4",
|
|
31
31
|
"pinia-plugin-persistedstate": "^4.7.1",
|
|
32
32
|
"unocss": "^66.6.0",
|
|
33
33
|
"unplugin-auto-import": "^21.0.0",
|
|
34
34
|
"unplugin-vue-components": "28.0.0",
|
|
35
|
-
"
|
|
36
|
-
"vite-plugin-vue-devtools": "^8.0.5",
|
|
35
|
+
"vite-plugin-vue-devtools": "^8.0.6",
|
|
37
36
|
"vite-plugin-vue-layouts": "^0.11.0",
|
|
38
|
-
"vue": "^3.5.
|
|
39
|
-
"vue-router": "^
|
|
40
|
-
"vue-tsc": "^3.2.
|
|
41
|
-
"@vixt/core": "0.
|
|
37
|
+
"vue": "^3.5.29",
|
|
38
|
+
"vue-router": "^5.0.3",
|
|
39
|
+
"vue-tsc": "^3.2.5",
|
|
40
|
+
"@vixt/core": "0.9.0"
|
|
42
41
|
}
|
|
43
42
|
}
|