From abb5c3c5844f6cf5b73fe9a1bcbb29af296e6fc3 Mon Sep 17 00:00:00 2001 From: Emmy D'Anello Date: Tue, 17 Dec 2024 23:17:51 +0100 Subject: [PATCH] Passage en version 1.0.1 --- client/app.json | 2 +- client/package.json | 2 +- server/package.json | 2 +- server/src/main.ts | 3 ++- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/client/app.json b/client/app.json index 7afe28e..6075ad8 100644 --- a/client/app.json +++ b/client/app.json @@ -2,7 +2,7 @@ "expo": { "name": "Traintrape-moi", "slug": "traintrape-moi-client", - "version": "1.0.0", + "version": "1.0.1", "orientation": "portrait", "icon": "./assets/images/icon.png", "scheme": "traintrapemoi", diff --git a/client/package.json b/client/package.json index 6874e5b..72b0e30 100644 --- a/client/package.json +++ b/client/package.json @@ -1,7 +1,7 @@ { "name": "traintrape-moi-client", "main": "expo-router/entry", - "version": "1.0.0", + "version": "1.0.1", "scripts": { "start": "expo start", "android": "expo run:android", diff --git a/server/package.json b/server/package.json index 7112fc1..6490479 100644 --- a/server/package.json +++ b/server/package.json @@ -1,6 +1,6 @@ { "name": "traintrape-moi-server", - "version": "0.0.1", + "version": "1.0.1", "description": "", "author": "", "private": true, diff --git a/server/src/main.ts b/server/src/main.ts index 7f7936d..5b6c11d 100644 --- a/server/src/main.ts +++ b/server/src/main.ts @@ -10,10 +10,11 @@ async function bootstrap() { app.useGlobalPipes(new ValidationPipe({ transform: true })) app.useGlobalInterceptors(new ClassSerializerInterceptor(app.get(Reflector))) + const { version } = require('../../package.json') const config = new DocumentBuilder() .setTitle('Traintrape-moi') .setDescription('API permettant de stocker les données de Traintrape-moi') - .setVersion('1.0') + .setVersion(version) .addBearerAuth() .build() const document = SwaggerModule.createDocument(app, config)