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": {
"name": "Traintrape-moi",
"slug": "traintrape-moi-client",
"version": "1.0.0",
"version": "1.0.1",
"orientation": "portrait",
"icon": "./assets/images/icon.png",
"scheme": "traintrapemoi",

View File

@ -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",

View File

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

View File

@ -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)