@dargmuesli/nuxt-vio 1.11.3 → 1.11.5

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.
@@ -1,10 +1,13 @@
1
1
  <template>
2
2
  <div :data-is-loading="isLoading" data-testid="is-loading">
3
3
  <NuxtLayout>
4
- <SeoKit :site-description="siteDescription" :language="locale" />
5
- <OgImageStatic :alt="ogImageAlt" component="OgImage" />
6
- <NuxtPage />
7
- <CookieControl :locale="locale" />
4
+ <!-- `NuxtLayout` can't have mulitple child nodes (https://github.com/nuxt/nuxt/issues/21759) -->
5
+ <div>
6
+ <SeoKit :site-description="siteDescription" :language="locale" />
7
+ <OgImageStatic :alt="ogImageAlt" component="OgImage" />
8
+ <NuxtPage />
9
+ <CookieControl :locale="locale" />
10
+ </div>
8
11
  </NuxtLayout>
9
12
  </div>
10
13
  </template>
@@ -36,7 +39,7 @@ watch(
36
39
  window.location.reload()
37
40
  }
38
41
  },
39
- { deep: true }
42
+ { deep: true },
40
43
  )
41
44
  // initialization
42
45
  useAppLayout()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dargmuesli/nuxt-vio",
3
- "version": "1.11.3",
3
+ "version": "1.11.5",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -8,7 +8,7 @@
8
8
  "engines": {
9
9
  "node": "20"
10
10
  },
11
- "packageManager": "pnpm@8.6.5",
11
+ "packageManager": "pnpm@8.6.7",
12
12
  "files": [
13
13
  "assets",
14
14
  "components",
@@ -31,20 +31,21 @@
31
31
  "preview": "nuxi preview .playground",
32
32
  "prepare": "pnpm husky install && pnpm nuxt prepare .playground",
33
33
  "lint": "pnpm lint:js && pnpm lint:ts && pnpm lint:style",
34
+ "lint:fix": "pnpm lint:js --fix && pnpm lint:ts --fix && pnpm lint:style --fix",
34
35
  "lint:js": "eslint --cache --ext .js,.ts,.vue --ignore-path .gitignore .",
35
36
  "lint:staged": "pnpm lint-staged",
36
37
  "lint:style": "stylelint **/*.{vue,css} --ignore-path .gitignore",
37
38
  "lint:ts": "nuxt typecheck"
38
39
  },
39
40
  "dependencies": {
40
- "@dargmuesli/nuxt-cookie-control": "5.10.3",
41
+ "@dargmuesli/nuxt-cookie-control": "5.10.4",
41
42
  "@http-util/status-i18n": "0.7.0",
42
- "@nuxtjs/html-validator": "1.5.0",
43
+ "@nuxtjs/html-validator": "1.5.1",
43
44
  "@nuxtjs/i18n": "8.0.0-beta.10",
44
45
  "@nuxtjs/tailwindcss": "6.8.0",
45
46
  "@tailwindcss/typography": "0.5.9",
46
47
  "nuxt-seo-kit": "1.3.9",
47
- "sweetalert2": "11.7.12",
48
+ "sweetalert2": "11.7.16",
48
49
  "vue-gtag": "2.0.1"
49
50
  },
50
51
  "devDependencies": {
@@ -52,20 +53,20 @@
52
53
  "@commitlint/config-conventional": "17.6.6",
53
54
  "@intlify/eslint-plugin-vue-i18n": "3.0.0-beta.1",
54
55
  "@nuxtjs/eslint-config-typescript": "12.0.0",
55
- "eslint": "8.43.0",
56
+ "eslint": "8.44.0",
56
57
  "eslint-config-prettier": "8.8.0",
57
58
  "eslint-plugin-nuxt": "4.0.0",
58
- "eslint-plugin-prettier": "4.2.1",
59
+ "eslint-plugin-prettier": "5.0.0",
59
60
  "eslint-plugin-yml": "1.8.0",
60
61
  "husky": "8.0.3",
61
62
  "lint-staged": "13.2.3",
62
- "nuxt": "3.6.1",
63
- "prettier": "2.8.8",
64
- "stylelint": "15.9.0",
65
- "stylelint-config-recommended-vue": "1.4.0",
66
- "stylelint-config-standard": "33.0.0",
67
- "stylelint-no-unsupported-browser-features": "6.1.0",
63
+ "nuxt": "3.6.2",
64
+ "prettier": "3.0.0",
65
+ "stylelint": "15.10.1",
66
+ "stylelint-config-recommended-vue": "1.5.0",
67
+ "stylelint-config-standard": "34.0.0",
68
+ "stylelint-no-unsupported-browser-features": "7.0.0",
68
69
  "typescript": "5.1.6",
69
- "vue-tsc": "1.8.3"
70
+ "vue-tsc": "1.8.5"
70
71
  }
71
72
  }
@@ -13,6 +13,6 @@ export default defineNuxtPlugin((nuxtApp) => {
13
13
  id: config.public.googleAnalyticsId,
14
14
  },
15
15
  },
16
- router
16
+ router,
17
17
  )
18
18
  })
@@ -7,7 +7,7 @@ const heading = (theme: PluginAPI['theme']) =>
7
7
  fontWeight: theme('fontWeight.bold'),
8
8
  overflow: 'hidden',
9
9
  textOverflow: 'ellipsis',
10
- } as Record<string, string>)
10
+ }) as Record<string, string>
11
11
 
12
12
  const gray = colors.gray // or slate, zinc, neutral, stone
13
13