Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/vorant94/sofash
Browse files Browse the repository at this point in the history
  • Loading branch information
Mordechai Dror committed Sep 21, 2023
2 parents 31ba867 + a601e4d commit 9ad7e35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/server/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ if (isMain(import.meta.url)) {
logger.info(`server is listening on port ${env.NODE_PORT}`);
});

// TODO: upgrade ts and try to use using keyword (https://simonkoeck.medium.com/typescript-5-2s-using-keyword-managing-resources-with-ease-e0a31efa3eec#:~:text=The%20using%20keyword%20is%20designed,future%20addition%20to%20JavaScript%20itself.)
setupGracefulShutdown(server, true);
}

Expand Down
1 change: 1 addition & 0 deletions libs/db/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"rootDir": "./src",
"outDir": "./dist",
"emitDecoratorMetadata": true,
// TODO: upgrade ts and try to use es6 decorators insead (https://devblogs.microsoft.com/typescript/announcing-typescript-5-0/#decorators)
"experimentalDecorators": true
},
// to exclude ormconfig.ts. the exclude fields results in build errors,
Expand Down

0 comments on commit 9ad7e35

Please sign in to comment.