Skip to content

Commit

Permalink
Merge pull request #56 from Brints/swagger_doc
Browse files Browse the repository at this point in the history
migrations: Setting up typeorm migrations.
  • Loading branch information
aniebietafia authored Nov 9, 2024
2 parents 2190c82 + 7163f42 commit 68e098e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
5 changes: 4 additions & 1 deletion brints-estate-api/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -131,4 +131,7 @@ dist
.pnp.*

# documenation
documentation/
documentation/

# Configuration for typeorm
typeorm-cli.config.ts
3 changes: 2 additions & 1 deletion brints-estate-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "jest --config ./test/jest-e2e.json",
"api:doc": "npx @compodoc/compodoc -p tsconfig.json -s --port 3002 --watch -d ./documentation"
"api:doc": "npx @compodoc/compodoc -p tsconfig.json -s --port 3002 --watch -d ./documentation",
"migration:generate": "ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli.js migration:generate -n"
},
"dependencies": {
"@aws-sdk/client-dynamodb": "^3.658.1",
Expand Down
2 changes: 1 addition & 1 deletion brints-estate-api/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "./tsconfig.json",
"include": ["src/**/*.ts", "src/**/*.d.ts"],
"include": ["src/**/*.ts", "src/**/*.d.ts", "**/*.ts"],
"exclude": ["node_modules", "test", "dist", "**/*spec.ts"]
}

0 comments on commit 68e098e

Please sign in to comment.