@vixt/vue 0.2.0 → 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/dist/index.d.mts CHANGED
@@ -78,11 +78,11 @@ declare module '@vixt/core' {
78
78
  router?: PluginOptions$1<typeof VueRouter>;
79
79
  /** https://github.com/JohnCampionJr/vite-plugin-vue-layouts */
80
80
  layouts?: PluginOptions$1<typeof Layouts>;
81
- /** https://github.com/antfu/unplugin-vue-components */
81
+ /** https://github.com/unplugin/unplugin-vue-components */
82
82
  components?: PluginOptions$1<typeof Components>;
83
- /** https://github.com/antfu/unplugin-auto-import */
83
+ /** https://github.com/unplugin/unplugin-auto-import */
84
84
  imports?: PluginOptions$1<typeof AutoImport>;
85
- /** https://github.com/antfu/unocss */
85
+ /** https://github.com/unocss/unocss */
86
86
  unocss?: PluginOptions$1<typeof UnoCSS>;
87
87
  /** https://github.com/webfansplz/vite-plugin-vue-devtools */
88
88
  devtools?: PluginOptions$1<typeof VueDevTools> & {
package/dist/index.d.ts CHANGED
@@ -78,11 +78,11 @@ declare module '@vixt/core' {
78
78
  router?: PluginOptions$1<typeof VueRouter>;
79
79
  /** https://github.com/JohnCampionJr/vite-plugin-vue-layouts */
80
80
  layouts?: PluginOptions$1<typeof Layouts>;
81
- /** https://github.com/antfu/unplugin-vue-components */
81
+ /** https://github.com/unplugin/unplugin-vue-components */
82
82
  components?: PluginOptions$1<typeof Components>;
83
- /** https://github.com/antfu/unplugin-auto-import */
83
+ /** https://github.com/unplugin/unplugin-auto-import */
84
84
  imports?: PluginOptions$1<typeof AutoImport>;
85
- /** https://github.com/antfu/unocss */
85
+ /** https://github.com/unocss/unocss */
86
86
  unocss?: PluginOptions$1<typeof UnoCSS>;
87
87
  /** https://github.com/webfansplz/vite-plugin-vue-devtools */
88
88
  devtools?: PluginOptions$1<typeof VueDevTools> & {
package/dist/index.mjs CHANGED
@@ -150,7 +150,7 @@ ${cssTemplate}
150
150
  ${appConfigTemplate}
151
151
  ${pluginsTemplate}
152
152
 
153
- import 'virtual:uno.css'
153
+ import 'virtual:uno.css'
154
154
  import { createApp } from 'vue'
155
155
  import { createPinia } from 'pinia'
156
156
  import { createPersistedState } from 'pinia-plugin-persistedstate'
@@ -238,7 +238,7 @@ const presetVue = defineVixtModule({
238
238
  if (overrides.size <= 1)
239
239
  return;
240
240
  for (const pageDir of pages) {
241
- const matched = overrides.keys().find((e) => e.match(pageDir));
241
+ const matched = [...overrides.keys()].find((e) => e.match(pageDir));
242
242
  if (matched) {
243
243
  node.components.set("default", matched);
244
244
  return;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vixt/vue",
3
3
  "type": "module",
4
- "version": "0.2.0",
4
+ "version": "0.3.0",
5
5
  "author": "SoulLyoko<https://github.com/SoulLyoko>",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/SoulLyoko/vixt#readme",
@@ -18,21 +18,21 @@
18
18
  "dist"
19
19
  ],
20
20
  "dependencies": {
21
- "@vitejs/plugin-vue": "^5.2.1",
22
- "@vitejs/plugin-vue-jsx": "^4.1.1",
21
+ "@vitejs/plugin-vue": "^5.2.3",
22
+ "@vitejs/plugin-vue-jsx": "^4.1.2",
23
23
  "@vue/compiler-sfc": "^3.5.13",
24
- "@vueuse/core": "^13.0.0",
25
- "pinia": "^3.0.1",
24
+ "@vueuse/core": "^13.1.0",
25
+ "pinia": "^3.0.2",
26
26
  "pinia-plugin-persistedstate": "^4.2.0",
27
27
  "unocss": "^66.0.0",
28
- "unplugin-auto-import": "^19.1.1",
28
+ "unplugin-auto-import": "^19.1.2",
29
29
  "unplugin-vue-components": "28.0.0",
30
30
  "unplugin-vue-router": "^0.12.0",
31
31
  "vite-plugin-vue-devtools": "^7.7.2",
32
32
  "vite-plugin-vue-layouts": "^0.11.0",
33
33
  "vue": "^3.5.13",
34
34
  "vue-router": "^4.5.0",
35
- "@vixt/core": "0.2.0"
35
+ "@vixt/core": "0.3.0"
36
36
  },
37
37
  "scripts": {
38
38
  "build": "unbuild"