Passage en version 1.0.1
This commit is contained in:
parent
5e61cabcdc
commit
abb5c3c584
@ -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",
|
||||||
|
@ -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",
|
||||||
|
@ -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,
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user