Skip to content

Commit

Permalink
chore(be): nest-cli plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
krystxf committed Oct 6, 2024
1 parent e08e40c commit ac6557e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
16 changes: 15 additions & 1 deletion backend-nest/nest-cli.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,20 @@
"collection": "@nestjs/schematics",
"sourceRoot": "src",
"compilerOptions": {
"deleteOutDir": true
"deleteOutDir": true,
"plugins": [
{
"name": "@nestjs/graphql",
"options": {
"introspectComments": true
}
},
{
"name": "@nestjs/swagger",
"options": {
"introspectComments": true
}
}
]
}
}
2 changes: 1 addition & 1 deletion backend-nest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@metro-now/backend-nest",
"version": "0.0.1",
"scripts": {
"prebuild": "pnpm prisma:generate",
"prebuild": "rimraf dist && pnpm prisma:generate",
"build": "nest build",
"start": "pnpm dlx dotenv-cli -e .env.local -- nest start",
"dev": "pnpm dlx dotenv-cli -e .env.local -- nest start --watch",
Expand Down

0 comments on commit ac6557e

Please sign in to comment.