vuetify-nuxt-module 0.5.2 → 0.5.4
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/README.md +2 -2
- package/dist/module.json +1 -1
- package/dist/module.mjs +4 -3
- package/dist/runtime/plugins/i18n.mjs +3 -5
- package/package.json +13 -16
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
<picture>
|
|
3
3
|
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/userquin/vuetify-nuxt-module/raw/main/hero-dark.svg" />
|
|
4
|
-
<img alt="vuetify-nuxt-module - Zero-config Nuxt
|
|
4
|
+
<img alt="vuetify-nuxt-module - Zero-config Nuxt Module for Vuetify" src='https://github.com/userquin/vuetify-nuxt-module/raw/main/hero.svg' alt="vuetify-nuxt-module - Zero-config Nuxt Module for Vuetify"><br>
|
|
5
5
|
</picture>
|
|
6
|
-
<p>Zero-config Nuxt
|
|
6
|
+
<p>Zero-config Nuxt Module for Vuetify</p>
|
|
7
7
|
</div>
|
|
8
8
|
|
|
9
9
|
<p align='center'>
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -10,7 +10,7 @@ import { resolveVuetifyBase, normalizePath, writeStyles, cacheDir } from '@vueti
|
|
|
10
10
|
import { isAbsolute, join, relative } from 'pathe';
|
|
11
11
|
import { normalizePath as normalizePath$1 } from 'vite';
|
|
12
12
|
|
|
13
|
-
const version = "0.5.
|
|
13
|
+
const version = "0.5.4";
|
|
14
14
|
|
|
15
15
|
const VIRTUAL_VUETIFY_CONFIGURATION = "virtual:vuetify-configuration";
|
|
16
16
|
const RESOLVED_VIRTUAL_VUETIFY_CONFIGURATION = `/@nuxt-vuetify-configuration/${VIRTUAL_VUETIFY_CONFIGURATION.slice("virtual:".length)}`;
|
|
@@ -83,8 +83,9 @@ async function mergeVuetifyModules(options, nuxt) {
|
|
|
83
83
|
layer.config.rootDir,
|
|
84
84
|
layer.config.vuetify?.vuetifyOptions
|
|
85
85
|
);
|
|
86
|
-
if (resolvedOptions2.sources.length)
|
|
87
|
-
resolvedOptions2.sources.
|
|
86
|
+
if (resolvedOptions2.sources.length) {
|
|
87
|
+
resolvedOptions2.sources.map((s) => s.replace(/\\/g, "/")).filter((s) => !s.includes("/node_modules/")).forEach((s) => vuetifyConfigurationFilesToWatch.add(s));
|
|
88
|
+
}
|
|
88
89
|
moduleOptions.push({
|
|
89
90
|
moduleOptions: layer.config.vuetify?.moduleOptions,
|
|
90
91
|
vuetifyOptions: resolvedOptions2.config
|
|
@@ -17,11 +17,9 @@ export function createAdapter(vuetifyOptions) {
|
|
|
17
17
|
if (oldVal)
|
|
18
18
|
i18n.setLocale(val);
|
|
19
19
|
}, { immediate: true, flush: "post" });
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
});
|
|
24
|
-
}
|
|
20
|
+
nuxtApp.hook("i18n:localeSwitched", ({ newLocale }) => {
|
|
21
|
+
currentLocale.value = newLocale;
|
|
22
|
+
});
|
|
25
23
|
vuetifyOptions.locale.adapter = {
|
|
26
24
|
name: "nuxt-vue-i18n",
|
|
27
25
|
current: currentLocale,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vuetify-nuxt-module",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.5.
|
|
4
|
+
"version": "0.5.4",
|
|
5
5
|
"packageManager": "pnpm@8.6.9",
|
|
6
6
|
"description": "Zero-Config Nuxt Module for Vuetify",
|
|
7
7
|
"author": "userquin <userquin@gmail.com>",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"vuetify": "^3.3.9"
|
|
72
72
|
},
|
|
73
73
|
"dependencies": {
|
|
74
|
-
"@nuxt/kit": "^3.6.
|
|
74
|
+
"@nuxt/kit": "^3.6.5",
|
|
75
75
|
"defu": "^6.1.2",
|
|
76
76
|
"perfect-debounce": "^1.0.0",
|
|
77
77
|
"unconfig": "^0.3.9",
|
|
@@ -79,27 +79,27 @@
|
|
|
79
79
|
"vuetify": "^3.3.9"
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
82
|
-
"@antfu/eslint-config": "^0.39.
|
|
83
|
-
"@antfu/ni": "^0.21.
|
|
84
|
-
"@date-io/luxon": "^2.
|
|
82
|
+
"@antfu/eslint-config": "^0.39.8",
|
|
83
|
+
"@antfu/ni": "^0.21.5",
|
|
84
|
+
"@date-io/luxon": "^2.17.0",
|
|
85
85
|
"@fortawesome/fontawesome-svg-core": "^6.4.0",
|
|
86
86
|
"@fortawesome/free-solid-svg-icons": "^6.4.0",
|
|
87
87
|
"@fortawesome/vue-fontawesome": "^3.0.3",
|
|
88
88
|
"@iconify-json/carbon": "^1.1.18",
|
|
89
89
|
"@iconify-json/mdi": "^1.1.53",
|
|
90
90
|
"@mdi/js": "^7.2.96",
|
|
91
|
-
"@nuxt/devtools": "^0.
|
|
91
|
+
"@nuxt/devtools": "^0.7.0",
|
|
92
92
|
"@nuxt/module-builder": "^0.4.0",
|
|
93
|
-
"@nuxt/schema": "^3.6.
|
|
94
|
-
"@nuxt/test-utils": "^3.6.
|
|
95
|
-
"@nuxtjs/i18n": "
|
|
96
|
-
"@parcel/watcher": "^2.
|
|
93
|
+
"@nuxt/schema": "^3.6.5",
|
|
94
|
+
"@nuxt/test-utils": "^3.6.5",
|
|
95
|
+
"@nuxtjs/i18n": "npm:@nuxtjs/i18n-edge",
|
|
96
|
+
"@parcel/watcher": "^2.2.0",
|
|
97
97
|
"@types/node": "^18",
|
|
98
|
-
"@unocss/nuxt": "^0.53.
|
|
98
|
+
"@unocss/nuxt": "^0.53.6",
|
|
99
99
|
"bumpp": "^9.1.1",
|
|
100
|
-
"eslint": "^8.
|
|
100
|
+
"eslint": "^8.45.0",
|
|
101
101
|
"luxon": "^3.3.0",
|
|
102
|
-
"nuxt": "^3.6.
|
|
102
|
+
"nuxt": "^3.6.5",
|
|
103
103
|
"sass": "^1.63.6",
|
|
104
104
|
"typescript": "^5.1.6",
|
|
105
105
|
"vite": "^4.3.9",
|
|
@@ -125,9 +125,6 @@
|
|
|
125
125
|
]
|
|
126
126
|
},
|
|
127
127
|
"pnpm": {
|
|
128
|
-
"patchedDependencies": {
|
|
129
|
-
"@nuxtjs/i18n@8.0.0-beta.13": "patches/@nuxtjs__i18n@8.0.0-beta.13.patch"
|
|
130
|
-
},
|
|
131
128
|
"peerDependencyRules": {
|
|
132
129
|
"ignoreMissing": [
|
|
133
130
|
"@algolia/client-search"
|