Skip to content
This repository was archived by the owner on Dec 9, 2024. It is now read-only.

Commit b65fbdc

Browse files
committed
chore(update): v1.0.1
- scripts : installation verbeuse et utilisation de nuxi cleanup - notice pour JWT_SECRET dans le Readme - derniers changements de Tab-Magiques vers Senescalade - closes #253, en forcant une update des composants en redimensionnant la page - maj de dépendances - closes #246 (rimraf) - closes #247 (sass) - closes #256 (vue) - closes #235 (nuxt)
1 parent 96a34c0 commit b65fbdc

File tree

6 files changed

+1722
-1237
lines changed

6 files changed

+1722
-1237
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ DB_PORT=3306
7070
DEV_PORT=8000
7171
GMAIL_USER="adresse-email@gmail.com"
7272
GMAIL_PASS="abcd efgh ijkl mnop"
73+
JWT_SECRET="cb20dc39dcaaa4fe93d7902f9bc4e4e9bb73a35653dfd1931ad710c9d1ef9a56dbe1e02186a84c72fc1551cefe7951823af3d1bd3b056e187d7e400cc70c19f1"
7374
MYSQL_ROOT_PASSWORD="SomethingStrong"
7475
PORT=56860
7576
```
@@ -85,11 +86,13 @@ DB_PORT=3306
8586
DEV_PORT=56860
8687
GMAIL_USER="adresse-email@gmail.com"
8788
GMAIL_PASS="abcd efgh ijkl mnop"
89+
JWT_SECRET="cb20dc39dcaaa4fe93d7902f9bc4e4e9bb73a35653dfd1931ad710c9d1ef9a56dbe1e02186a84c72fc1551cefe7951823af3d1bd3b056e187d7e400cc70c19f1"
8890
MYSQL_ROOT_PASSWORD="SomethingStrong"
8991
PORT=56860
9092
```
9193

92-
`GMAIL_PASS` : Mot de passe d'application spécifique, voir https://nodemailer.com/usage/using-gmail/ et https://support.google.com/accounts/answer/185833
94+
`GMAIL_PASS` : Mot de passe d'application spécifique, voir https://nodemailer.com/usage/using-gmail/ et https://support.google.com/accounts/answer/185833
95+
`JWT_SECRET` : Clé secrète pour les tokens JWT, à générer avec `node -e "console.log(require('crypto').randomBytes(64).toString('hex'))"`
9396

9497
```bash
9598
npm run docker-start

components/FullCalendarView.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<v-tooltip
1313
v-if="showTooltip"
1414
:activator="tooltipActivator"
15-
model-value="showTooltip"
15+
:model-value="showTooltip"
1616
location="top"
1717
theme="light"
1818
>
@@ -160,7 +160,7 @@ onMounted(async () => {
160160
const startOfWeek = daysOfTheCurrentWeek()[0]
161161
162162
formattedEvents.value = events.map((event) => {
163-
if (props.birthdate !== "") {
163+
if (props.birthdate && props.birthdate !== "") {
164164
const [ type, niveau ] = determineCategory(props.birthdate)
165165
166166
if (type === null && niveau === null) {

nuxt.config.js

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,25 @@ export default defineNuxtConfig({
77
app: {
88
pageTransition: { name: "page", mode: "out-in" }
99
},
10+
1011
build: {
1112
transpile: [ "vuetify" ]
1213
},
14+
1315
css: [ "~/assets/styles/main.scss" ],
16+
1417
devtools: {
1518
enabled: true,
1619
telemetry: false,
1720
timeline: { enabled: true }
1821
},
22+
1923
eslint: {
2024
config: {
2125
stylistic: eslintStylisticRules
2226
}
2327
},
28+
2429
googleFonts: {
2530
display: "swap",
2631
download: true,
@@ -33,6 +38,7 @@ export default defineNuxtConfig({
3338
preconnect: true,
3439
prefetch: true
3540
},
41+
3642
i18n: {
3743
defaultLocale: "fr",
3844
detectBrowserLanguage: {
@@ -47,6 +53,7 @@ export default defineNuxtConfig({
4753
],
4854
strategy: "no_prefix"
4955
},
56+
5057
modules: [
5158
(_options, nuxt) => {
5259
nuxt.hooks.hook("vite:extendConfig", (config) => {
@@ -59,18 +66,23 @@ export default defineNuxtConfig({
5966
"@nuxtjs/i18n",
6067
"@pinia/nuxt"
6168
],
69+
6270
nitro: {
6371
esbuild: {
6472
options: {
6573
target: "esnext"
6674
}
6775
}
6876
},
77+
6978
ssr: false,
7079
telemetry: false,
80+
7181
vite: {
7282
vue: {
7383
template: { transformAssetUrls }
7484
}
75-
}
76-
})
85+
},
86+
87+
compatibilityDate: "2024-07-19"
88+
})

0 commit comments

Comments
 (0)