From 31e9222334066b9fb9612751af52cce17f634efa Mon Sep 17 00:00:00 2001 From: Kevin Cluzel Date: Tue, 28 Nov 2023 16:33:23 +0100 Subject: [PATCH] fix: :package: updated data.gouv.fr-components, fixing error on build --- package-lock.json | 8 ++++---- package.json | 2 +- src/main.js | 3 ++- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index cd1b27564..b8d7cc6da 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,7 +8,7 @@ "name": "ecospheres-front", "version": "0.3.0", "dependencies": { - "@etalab/data.gouv.fr-components": "^1.5.6", + "@etalab/data.gouv.fr-components": "^1.6.0", "@gouvminint/vue-dsfr": "^3.6.0", "@vueform/multiselect": "^2.6.2", "axios": "^1.6.2", @@ -584,9 +584,9 @@ } }, "node_modules/@etalab/data.gouv.fr-components": { - "version": "1.5.6", - "resolved": "https://registry.npmjs.org/@etalab/data.gouv.fr-components/-/data.gouv.fr-components-1.5.6.tgz", - "integrity": "sha512-NWrN31hAyJw8XhsUlG2q0cWtXFr9gNSik5StzirYcRoUnNkntDJ12f9Q5qZAcdpJ49XU00Zvtn4+Z5QMV/oKHg==", + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@etalab/data.gouv.fr-components/-/data.gouv.fr-components-1.6.0.tgz", + "integrity": "sha512-PKFpoS4rdWbQos8AACag1ky7+PDxhdi5lscwdoqS0de87FO07gltpqpmaSaYmo0vq63l2kqUUJ+msaBzb9/NxQ==", "dependencies": { "@gouvfr/dsfr": "~1.9.2", "vue": "^3.3.8" diff --git a/package.json b/package.json index 8aeb39ccb..632dd11b3 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "prepare": "husky install" }, "dependencies": { - "@etalab/data.gouv.fr-components": "^1.5.6", + "@etalab/data.gouv.fr-components": "^1.6.0", "@gouvminint/vue-dsfr": "^3.6.0", "@vueform/multiselect": "^2.6.2", "axios": "^1.6.2", diff --git a/src/main.js b/src/main.js index d9cb63a30..e9e02e07d 100644 --- a/src/main.js +++ b/src/main.js @@ -1,4 +1,4 @@ -import { i18n } from '@etalab/data.gouv.fr-components' +import { setupI18n } from '@etalab/data.gouv.fr-components' import '@etalab/data.gouv.fr-components/dist/style.css' import '@gouvfr/dsfr/dist/dsfr.min.css' import '@gouvfr/dsfr/dist/utility/utility.min.css' @@ -22,6 +22,7 @@ import router from './router' const app = createApp(App) const pinia = createPinia() +const i18n = setupI18n() app.use(router) app.use(VueDsfr, { icons: Object.values(icons) })