From 033b0851ef77cf280c2d1215a5cb66bd209e177b Mon Sep 17 00:00:00 2001 From: Samuelfaure Date: Fri, 19 Jul 2019 10:42:24 +0200 Subject: [PATCH 1/3] Added .nvmrc for locking node version with NVM --- .nvmrc | 1 + 1 file changed, 1 insertion(+) create mode 100644 .nvmrc diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..933dbb1 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +11.10.0 From 52b7a665b42a43aaebaaaee68ec41c780cd6dd12 Mon Sep 17 00:00:00 2001 From: Samuelfaure Date: Mon, 22 Jul 2019 11:06:14 +0200 Subject: [PATCH 2/3] upgraded template data gouv package --- package-lock.json | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4cdc2cd..48cae6f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11442,9 +11442,9 @@ } }, "template.data.gouv.fr": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/template.data.gouv.fr/-/template.data.gouv.fr-1.1.6.tgz", - "integrity": "sha512-3292v2oVFp3Gmi48EgvwNySLpOZAIrqLMQ7bOQIXgH6aFR0nyZU5wB7U7P2FW58Szzwm0sLj5j/Xl2vfLelf7g==" + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/template.data.gouv.fr/-/template.data.gouv.fr-1.2.2.tgz", + "integrity": "sha512-lBG3pSBDVOLoBD7mQoHMoBWZppdI5UU9EAwZtnk6oQY4GjQB87ccnfWePgV+SmQxX3ZeqP+CbeOerR12lzcMJA==" }, "terser": { "version": "3.17.0", diff --git a/package.json b/package.json index c55f793..967bd9c 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "jwt-decode": "^2.2.0", "marked": "^0.6.2", "moment": "^2.22.1", - "template.data.gouv.fr": "^1.1.6", + "template.data.gouv.fr": "^1.2.2", "vee-validate": "^2.0.8", "vue": "^2.6.10", "vue-clipboard2": "^0.1.0", From 70e32a91e137582a6ece092eb36f4cb10e3721b7 Mon Sep 17 00:00:00 2001 From: Samuelfaure Date: Mon, 22 Jul 2019 14:00:37 +0200 Subject: [PATCH 3/3] boyscout --- src/components/AccountConfirmation.vue | 2 +- src/components/resource/jwt_api_entreprise/Index.vue | 4 ++-- src/components/resource/jwt_api_entreprise/Show.vue | 4 ++-- src/main.js | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/AccountConfirmation.vue b/src/components/AccountConfirmation.vue index 424e8eb..7691e0a 100644 --- a/src/components/AccountConfirmation.vue +++ b/src/components/AccountConfirmation.vue @@ -53,7 +53,7 @@ export default { confirmation_token: this.$route.query.confirmation_token } this.$store.dispatch('auth/confirm', payload) - .then(data => { + .then(() => { this.$router.push({ name: 'application-panel' }) }) .catch(error => { diff --git a/src/components/resource/jwt_api_entreprise/Index.vue b/src/components/resource/jwt_api_entreprise/Index.vue index 32c9c13..68561eb 100644 --- a/src/components/resource/jwt_api_entreprise/Index.vue +++ b/src/components/resource/jwt_api_entreprise/Index.vue @@ -1,7 +1,7 @@ @@ -15,7 +15,7 @@ export default { props: ['jwtList'], components: { - 'jwt-api-entreprise-card': JwtApiEntrepriseShow + 'jwt-api-entreprise-show': JwtApiEntrepriseShow } } diff --git a/src/components/resource/jwt_api_entreprise/Show.vue b/src/components/resource/jwt_api_entreprise/Show.vue index cc7c8ae..45d2c1e 100644 --- a/src/components/resource/jwt_api_entreprise/Show.vue +++ b/src/components/resource/jwt_api_entreprise/Show.vue @@ -85,9 +85,9 @@ export default { return date.toLocaleString('fr-FR') }, - clipboardSuccess (e) { this.showClipboardSuccessMsg = true }, + clipboardSuccess () { this.showClipboardSuccessMsg = true }, - clipboardError (e) { this.showClipboardErrorMsg = true }, + clipboardError () { this.showClipboardErrorMsg = true }, blacklistJwt () { this.$store.dispatch('user/blacklistToken', { id: this.jwt.payload.jti }) diff --git a/src/main.js b/src/main.js index 7f92abe..0ddf385 100644 --- a/src/main.js +++ b/src/main.js @@ -9,7 +9,7 @@ import store from './store' import 'babel-polyfill' import Vuetify from 'vuetify' -import 'template.data.gouv.fr/dist/style/main.css' +import 'template.data.gouv.fr/dist/main.css' require('@/polyfill') require('@/style/app.scss')