Passage en version 1.0.1

This commit is contained in:
Emmy D'Anello 2024-12-17 23:17:51 +01:00
parent 5e61cabcdc
commit abb5c3c584
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85
4 changed files with 5 additions and 4 deletions

View File

@ -2,7 +2,7 @@
"expo": { "expo": {
"name": "Traintrape-moi", "name": "Traintrape-moi",
"slug": "traintrape-moi-client", "slug": "traintrape-moi-client",
"version": "1.0.0", "version": "1.0.1",
"orientation": "portrait", "orientation": "portrait",
"icon": "./assets/images/icon.png", "icon": "./assets/images/icon.png",
"scheme": "traintrapemoi", "scheme": "traintrapemoi",

View File

@ -1,7 +1,7 @@
{ {
"name": "traintrape-moi-client", "name": "traintrape-moi-client",
"main": "expo-router/entry", "main": "expo-router/entry",
"version": "1.0.0", "version": "1.0.1",
"scripts": { "scripts": {
"start": "expo start", "start": "expo start",
"android": "expo run:android", "android": "expo run:android",

View File

@ -1,6 +1,6 @@
{ {
"name": "traintrape-moi-server", "name": "traintrape-moi-server",
"version": "0.0.1", "version": "1.0.1",
"description": "", "description": "",
"author": "", "author": "",
"private": true, "private": true,

View File

@ -10,10 +10,11 @@ async function bootstrap() {
app.useGlobalPipes(new ValidationPipe({ transform: true })) app.useGlobalPipes(new ValidationPipe({ transform: true }))
app.useGlobalInterceptors(new ClassSerializerInterceptor(app.get(Reflector))) app.useGlobalInterceptors(new ClassSerializerInterceptor(app.get(Reflector)))
const { version } = require('../../package.json')
const config = new DocumentBuilder() const config = new DocumentBuilder()
.setTitle('Traintrape-moi') .setTitle('Traintrape-moi')
.setDescription('API permettant de stocker les données de Traintrape-moi') .setDescription('API permettant de stocker les données de Traintrape-moi')
.setVersion('1.0') .setVersion(version)
.addBearerAuth() .addBearerAuth()
.build() .build()
const document = SwaggerModule.createDocument(app, config) const document = SwaggerModule.createDocument(app, config)