@dargmuesli/nuxt-vio 1.11.0 → 1.11.2

Sign up to get free protection for your applications and to get access to all the features.
package/nuxt.config.ts CHANGED
@@ -41,13 +41,11 @@ export default defineNuxtConfig({
41
41
  runtimeConfig: {
42
42
  public: {
43
43
  googleAnalyticsId: '', // set via environment variable `NUXT_PUBLIC_GOOGLE_ANALYTICS_ID` only
44
+ isTesting: false,
44
45
  ...{
45
46
  siteName: SITE_NAME,
46
47
  siteUrl: BASE_URL,
47
48
  },
48
- i18n: {
49
- baseUrl: BASE_URL,
50
- },
51
49
  },
52
50
  },
53
51
  typescript: {
@@ -112,12 +110,15 @@ export default defineNuxtConfig({
112
110
  logLevel: 'warning',
113
111
  },
114
112
  i18n: {
113
+ baseUrl: BASE_URL,
115
114
  defaultLocale: 'en', // Must be set for the default prefix_except_default prefix strategy.
116
115
  detectBrowserLanguage: false, // Enabling browser language detection does not generate (!) other languages than the default one.
117
116
  langDir: 'locales',
118
117
  lazy: true,
119
118
  locales: LOCALES,
120
- vueI18n: '~/i18n.config.ts',
119
+ vueI18n: {
120
+ fallbackWarn: false, // TODO: don't show incorrect warnings (https://github.com/intlify/vue-i18n-next/issues/776)
121
+ },
121
122
  },
122
123
  linkChecker: {
123
124
  failOn404: false, // TODO: enable (https://github.com/harlan-zw/nuxt-seo-kit/issues/4#issuecomment-1434522124)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dargmuesli/nuxt-vio",
3
- "version": "1.11.0",
3
+ "version": "1.11.2",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -40,7 +40,7 @@
40
40
  "@dargmuesli/nuxt-cookie-control": "5.10.2",
41
41
  "@http-util/status-i18n": "0.7.0",
42
42
  "@nuxtjs/html-validator": "1.4.0",
43
- "@nuxtjs/i18n": "npm:@nuxtjs/i18n-edge@8.0.0-beta.12-28122654.89ddb67",
43
+ "@nuxtjs/i18n": "8.0.0-beta.10",
44
44
  "@nuxtjs/tailwindcss": "6.8.0",
45
45
  "@tailwindcss/typography": "0.5.9",
46
46
  "nuxt-seo-kit": "1.3.8",
package/utils/testing.ts DELETED
@@ -1,7 +0,0 @@
1
- export const isTesting = () => process.client && window.Cypress
2
-
3
- declare global {
4
- interface Window {
5
- Cypress: any
6
- }
7
- }