@dargmuesli/nuxt-vio 13.2.5 → 13.2.6
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/package.json +10 -10
- package/plugins/dayjs.ts +7 -14
package/package.json
CHANGED
|
@@ -5,15 +5,15 @@
|
|
|
5
5
|
"@heroicons/vue": "2.1.5",
|
|
6
6
|
"@http-util/status-i18n": "0.8.1",
|
|
7
7
|
"@intlify/eslint-plugin-vue-i18n": "3.0.0",
|
|
8
|
-
"@nuxt/devtools": "1.3.
|
|
9
|
-
"@nuxt/eslint": "0.5.
|
|
8
|
+
"@nuxt/devtools": "1.3.14",
|
|
9
|
+
"@nuxt/eslint": "0.5.2",
|
|
10
10
|
"@nuxt/image": "1.7.0",
|
|
11
11
|
"@nuxtjs/color-mode": "3.4.4",
|
|
12
12
|
"@nuxtjs/html-validator": "1.8.2",
|
|
13
13
|
"@nuxtjs/i18n": "8.3.0",
|
|
14
|
-
"@nuxtjs/seo": "2.0.0-rc.
|
|
14
|
+
"@nuxtjs/seo": "2.0.0-rc.19",
|
|
15
15
|
"@nuxtjs/tailwindcss": "6.12.1",
|
|
16
|
-
"@pinia/nuxt": "0.5.
|
|
16
|
+
"@pinia/nuxt": "0.5.4",
|
|
17
17
|
"@tailwindcss/forms": "0.5.7",
|
|
18
18
|
"@tailwindcss/typography": "0.5.14",
|
|
19
19
|
"@types/lodash-es": "4.17.12",
|
|
@@ -28,14 +28,14 @@
|
|
|
28
28
|
"eslint-plugin-prettier": "5.2.1",
|
|
29
29
|
"eslint-plugin-yml": "1.14.0",
|
|
30
30
|
"globals": "15.9.0",
|
|
31
|
-
"jose": "5.
|
|
31
|
+
"jose": "5.7.0",
|
|
32
32
|
"nuxt-gtag": "2.1.0",
|
|
33
33
|
"nuxt-security": "2.0.0-rc.9",
|
|
34
34
|
"sweetalert2": "11.12.4",
|
|
35
35
|
"vue-tsc": "2.0.29"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@unhead/vue": "1.
|
|
38
|
+
"@unhead/vue": "1.10.0",
|
|
39
39
|
"@urql/devtools": "2.0.3",
|
|
40
40
|
"@urql/exchange-graphcache": "7.1.2",
|
|
41
41
|
"@urql/vue": "1.4.1",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"h3": "1.12.0",
|
|
46
46
|
"jiti": "1.21.6",
|
|
47
47
|
"lodash-es": "4.17.21",
|
|
48
|
-
"nuxt": "3.
|
|
48
|
+
"nuxt": "3.13.0",
|
|
49
49
|
"pinia": "2.2.2",
|
|
50
50
|
"prettier": "3.3.3",
|
|
51
51
|
"prettier-plugin-tailwindcss": "0.6.6",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"stylelint-config-standard": "36.0.1",
|
|
57
57
|
"stylelint-no-unsupported-browser-features": "8.0.1",
|
|
58
58
|
"tailwindcss": "3.4.10",
|
|
59
|
-
"unhead": "1.
|
|
59
|
+
"unhead": "1.10.0",
|
|
60
60
|
"vue": "3.4.38",
|
|
61
61
|
"vue-router": "4.4.3"
|
|
62
62
|
},
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"main": "nuxt.config.ts",
|
|
87
87
|
"name": "@dargmuesli/nuxt-vio",
|
|
88
88
|
"peerDependencies": {
|
|
89
|
-
"nuxt": "3.
|
|
89
|
+
"nuxt": "3.13.0",
|
|
90
90
|
"vue": "3.4.38",
|
|
91
91
|
"vue-router": "4.4.3"
|
|
92
92
|
},
|
|
@@ -116,5 +116,5 @@
|
|
|
116
116
|
"start:static": "serve .playground/.output/public --ssl-cert ./.config/certificates/ssl.crt --ssl-key ./.config/certificates/ssl.key"
|
|
117
117
|
},
|
|
118
118
|
"type": "module",
|
|
119
|
-
"version": "13.2.
|
|
119
|
+
"version": "13.2.6"
|
|
120
120
|
}
|
package/plugins/dayjs.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import dayjs from 'dayjs'
|
|
1
|
+
import dayjs, { type DayjsFn } from 'dayjs'
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
import de from 'dayjs/locale/de'
|
|
5
|
-
// import 'dayjs/locale/de' does not make locale available
|
|
3
|
+
import 'dayjs/locale/de'
|
|
6
4
|
|
|
7
5
|
import isSameOrBefore from 'dayjs/plugin/isSameOrBefore'
|
|
8
6
|
import localizedFormat from 'dayjs/plugin/localizedFormat'
|
|
@@ -17,10 +15,6 @@ export default defineNuxtPlugin((_nuxtApp) => {
|
|
|
17
15
|
dayjs.extend(timezone)
|
|
18
16
|
dayjs.extend(utc)
|
|
19
17
|
|
|
20
|
-
// workaround for [1]
|
|
21
|
-
dayjs.locale(de)
|
|
22
|
-
// dayjs.locale(en) makes `format` error
|
|
23
|
-
|
|
24
18
|
return {
|
|
25
19
|
provide: {
|
|
26
20
|
dayjs,
|
|
@@ -28,9 +22,8 @@ export default defineNuxtPlugin((_nuxtApp) => {
|
|
|
28
22
|
}
|
|
29
23
|
})
|
|
30
24
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
*/
|
|
25
|
+
declare module '#app' {
|
|
26
|
+
interface NuxtApp {
|
|
27
|
+
$dayjs: DayjsFn
|
|
28
|
+
}
|
|
29
|
+
}
|