@vixt/vue 0.0.8 → 0.0.10
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 +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.mjs +3 -4
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -25,7 +25,9 @@ declare module '@vixt/core' {
|
|
|
25
25
|
/** https://github.com/antfu/unocss */
|
|
26
26
|
unocss?: PluginOptions<typeof UnoCSS>;
|
|
27
27
|
/** https://github.com/webfansplz/vite-plugin-vue-devtools */
|
|
28
|
-
devtools?: PluginOptions<typeof VueDevTools
|
|
28
|
+
devtools?: PluginOptions<typeof VueDevTools> & {
|
|
29
|
+
enabled?: boolean;
|
|
30
|
+
};
|
|
29
31
|
}
|
|
30
32
|
}
|
|
31
33
|
declare const presetVue: _vixt_core.VixtModule<VixtOptions>;
|
package/dist/index.d.ts
CHANGED
|
@@ -25,7 +25,9 @@ declare module '@vixt/core' {
|
|
|
25
25
|
/** https://github.com/antfu/unocss */
|
|
26
26
|
unocss?: PluginOptions<typeof UnoCSS>;
|
|
27
27
|
/** https://github.com/webfansplz/vite-plugin-vue-devtools */
|
|
28
|
-
devtools?: PluginOptions<typeof VueDevTools
|
|
28
|
+
devtools?: PluginOptions<typeof VueDevTools> & {
|
|
29
|
+
enabled?: boolean;
|
|
30
|
+
};
|
|
29
31
|
}
|
|
30
32
|
}
|
|
31
33
|
declare const presetVue: _vixt_core.VixtModule<VixtOptions>;
|
package/dist/index.mjs
CHANGED
|
@@ -84,8 +84,7 @@ const presetVue = defineVixtModule({
|
|
|
84
84
|
dts: `${buildTypesDir}/components.d.ts`,
|
|
85
85
|
dirs: components,
|
|
86
86
|
directoryAsNamespace: true,
|
|
87
|
-
collapseSamePrefixes: true
|
|
88
|
-
allowOverrides: true
|
|
87
|
+
collapseSamePrefixes: true
|
|
89
88
|
},
|
|
90
89
|
imports: {
|
|
91
90
|
imports: ["vue", "@vueuse/core", "pinia", VueRouterAutoImports],
|
|
@@ -94,7 +93,7 @@ const presetVue = defineVixtModule({
|
|
|
94
93
|
vueTemplate: true
|
|
95
94
|
},
|
|
96
95
|
unocss: {},
|
|
97
|
-
devtools: {}
|
|
96
|
+
devtools: { enabled: false }
|
|
98
97
|
};
|
|
99
98
|
const options = defu(vixt.options, defaultOptions);
|
|
100
99
|
const plugins = [
|
|
@@ -104,7 +103,7 @@ const presetVue = defineVixtModule({
|
|
|
104
103
|
Components(options.components),
|
|
105
104
|
AutoImport(options.imports),
|
|
106
105
|
UnoCSS(options.unocss),
|
|
107
|
-
VueDevTools(options.devtools)
|
|
106
|
+
options.devtools?.enabled && VueDevTools(options.devtools)
|
|
108
107
|
];
|
|
109
108
|
return plugins;
|
|
110
109
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vixt/vue",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.10",
|
|
5
5
|
"author": "SoulLyoko<https://github.com/SoulLyoko>",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://github.com/SoulLyoko/vixt#readme",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"vite-plugin-vue-layouts": "^0.11.0",
|
|
32
32
|
"vue": "^3.4.31",
|
|
33
33
|
"vue-router": "^4.4.0",
|
|
34
|
-
"@vixt/core": "0.0.
|
|
34
|
+
"@vixt/core": "0.0.10"
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|
|
37
37
|
"build": "unbuild"
|