Skip to content

Commit

Permalink
Updated quite some packages
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonSimCity committed Jan 16, 2024
1 parent 9e75673 commit 1e1333a
Show file tree
Hide file tree
Showing 6 changed files with 2,151 additions and 2,383 deletions.
12 changes: 2 additions & 10 deletions i18n.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
// eslint-disable-next-line import/no-extraneous-dependencies
import type { NuxtI18nOptions } from "@nuxtjs/i18n";
import { LanguageEnum } from "@bcc-code/bmm-sdk-fetch";

import af from "./locales/af.json";
import bg from "./locales/bg.json";
import cs from "./locales/cs.json";
Expand All @@ -28,9 +24,7 @@ import tr from "./locales/tr.json";
import uk from "./locales/uk.json";
import zh from "./locales/zh.json";

const i18nConfig: NuxtI18nOptions["vueI18n"] & {
messages: { [key in LanguageEnum]?: any };
} = {
export default defineI18nConfig(() => ({

Check warning on line 27 in i18n.config.ts

View check run for this annotation

Codecov / codecov/patch

i18n.config.ts#L27

Added line #L27 was not covered by tests
legacy: false,
messages: {
af,
Expand Down Expand Up @@ -59,6 +53,4 @@ const i18nConfig: NuxtI18nOptions["vueI18n"] & {
uk,
zh,
},
};

export default i18nConfig;
}));

Check warning on line 56 in i18n.config.ts

View check run for this annotation

Codecov / codecov/patch

i18n.config.ts#L56

Added line #L56 was not covered by tests
6 changes: 1 addition & 5 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// https://nuxt.com/docs/api/configuration/nuxt-config
import type { NuxtConfig } from "nuxt/config";
import vueI18n from "./i18n.config";

const modules: NuxtConfig["modules"] = [
["nuxt-typed-router", { strict: true }],
Expand All @@ -11,7 +10,7 @@ const modules: NuxtConfig["modules"] = [
"@nuxtjs/tailwindcss",
"@nuxtjs/i18n",
"@nuxtjs/color-mode",
"nuxt-vitest",
"@nuxt/test-utils/module",

Check warning on line 13 in nuxt.config.ts

View check run for this annotation

Codecov / codecov/patch

nuxt.config.ts#L13

Added line #L13 was not covered by tests
["@pinia/nuxt", { autoImports: ["defineStore"] }],
"@pinia-plugin-persistedstate/nuxt",
"@vueuse/nuxt",
Expand All @@ -36,9 +35,6 @@ export default defineNuxtConfig({
strategy: "no_prefix",
skipSettingLocaleOnNavigate: true,
defaultLocale: "en",
// Due to a bug in @nuxtjs/[email protected] we have to use beta.10 with inline configuration. See: https://github.com/nuxt-modules/i18n/issues/1990
// Due to Electron not supporting ESM, we cannot switch to beta.13.
vueI18n,
},
imports: {
dirs: ["stores"],
Expand Down
62 changes: 31 additions & 31 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,57 +20,57 @@
"postinstall": "nuxt prepare"
},
"dependencies": {
"@auth0/auth0-vue": "^2.3.2",
"@auth0/auth0-vue": "^2.3.3",
"@bcc-code/bmm-sdk-fetch": "^7.1.0",
"@headlessui/vue": "^1.7.16",
"@microsoft/applicationinsights-web": "^3.0.5",
"@headlessui/vue": "^1.7.17",
"@microsoft/applicationinsights-web": "^3.0.7",
"@pinia/nuxt": "^0.5.1",
"@vueuse/core": "^10.5.0",
"@vueuse/core": "^10.7.2",
"class-variance-authority": "^0.7.0",
"cross-env": "^7.0.3",
"electron-updater": "^6.1.4",
"electron-updater": "^6.1.7",
"pinia": "^2.1.7",
"pinia-plugin-persistedstate": "^3.2.0",
"vue-draggable-plus": "^0.2.7"
"pinia-plugin-persistedstate": "^3.2.1",
"vue-draggable-plus": "^0.3.5"
},
"devDependencies": {
"@intlify/eslint-plugin-vue-i18n": "^2.0.0",
"@nuxt/devtools": "^0.6.4",
"@nuxt/kit": "^3.6.1",
"@nuxtjs/color-mode": "^3.3.0",
"@nuxt/kit": "^3.6.5",
"@nuxt/test-utils": "^3.9.0",
"@nuxtjs/color-mode": "^3.3.2",
"@nuxtjs/eslint-config-typescript": "^12.1.0",
"@nuxtjs/i18n": "8.0.0-beta.10",
"@nuxtjs/plausible": "^0.2.3",
"@nuxtjs/tailwindcss": "^6.9.4",
"@nuxtjs/i18n": "8.0.0",
"@nuxtjs/plausible": "^0.2.4",
"@nuxtjs/tailwindcss": "^6.10.4",
"@pinia-plugin-persistedstate/nuxt": "^1.2.0",
"@vitest/coverage-v8": "^0.34.6",
"@vue/test-utils": "^2.4.1",
"@vueuse/nuxt": "^10.5.0",
"@vitest/coverage-v8": "^1.2.0",
"@vue/test-utils": "^2.4.3",
"@vueuse/nuxt": "^10.7.2",
"chalk": "^5.3.0",
"cypress": "^13.4.0",
"electron": "^27.0.3",
"electron-builder": "^24.6.4",
"eslint": "^8.52.0",
"cypress": "^13.6.2",
"electron": "^28.1.3",
"electron-builder": "^24.9.1",
"eslint": "^8.56.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-vitest": "^0.3.9",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-vitest": "^0.3.20",
"glob": "^10.3.10",
"happy-dom": "^12.10.3",
"log-symbols": "^6.0.0",
"nuxt": "^3.6.1",
"nuxt-electron": "^0.6.0",
"nuxt-typed-router": "^3.3.2",
"nuxt-vitest": "^0.11.2",
"nuxt": "^3.6.5",
"nuxt-electron": "^0.7.0",
"nuxt-typed-router": "^3.5.1",
"prettier": "^3.2.2",
"prettier-plugin-tailwindcss": "0.5.11",
"stylelint": "^15.11.0",
"stylelint-config-recommended-scss": "^13.1.0",
"stylelint": "^16.1.0",
"stylelint-config-recommended-scss": "^14.0.0",
"stylelint-config-recommended-vue": "^1.5.0",
"typescript": "~5.2.2",
"vite-plugin-electron": "^0.14.1",
"typescript": "~5.3.3",
"vite-plugin-electron": "^0.28.0",
"vite-plugin-electron-renderer": "^0.14.5",
"vitest": "^1.0.0-beta.3",
"vue-tsc": "^1.8.22"
"vitest": "^1.2.0",
"vue-tsc": "^1.8.27"
}
}
Loading

0 comments on commit 1e1333a

Please sign in to comment.