Skip to content

Commit

Permalink
fix: ignored migration file and updated swagger settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Homoakin619 committed Jul 25, 2024
1 parent bed0593 commit b99e920
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 75 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839


# ignore migration folder
db/migrations

# User-specific stuff:
.idea/**/workspace.xml
.idea/**/tasks.xml
Expand Down
37 changes: 0 additions & 37 deletions db/migrations/1721827066728-migration.ts

This file was deleted.

37 changes: 0 additions & 37 deletions db/migrations/1721879262570-migration.ts

This file was deleted.

10 changes: 9 additions & 1 deletion nest-cli.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
"collection": "@nestjs/schematics",
"sourceRoot": "src",
"compilerOptions": {
"deleteOutDir": true
"deleteOutDir": true,
"plugins": [
{
"name": "@nestjs/swagger",
"options": {
"dtoFileNameSuffix": [".dto.ts", ".entity.ts"]
}
}
]
}
}

0 comments on commit b99e920

Please sign in to comment.