generated from AthennaIO/Template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from AthennaIO/develop
feat: add tsconfig template and update http,logger and ioc
- Loading branch information
Showing
9 changed files
with
101 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"compilerOptions": { | ||
"outDir": "../../../dist", | ||
"rootDir": "../../../.", | ||
"baseUrl": "../../../.", | ||
"target": "es2020", | ||
"module": "commonjs", | ||
"lib": ["es2020"], | ||
"moduleResolution": "node", | ||
"declaration": true, | ||
"strictNullChecks": true, | ||
"noImplicitAny": false, | ||
"removeComments": false, | ||
"noUnusedLocals": true, | ||
"noUnusedParameters": true, | ||
"esModuleInterop": true, | ||
"skipLibCheck": true, | ||
"emitDecoratorMetadata": true, | ||
"experimentalDecorators": true, | ||
"paths": { | ||
"app/*": ["app/*"], | ||
"bootstrap/*": ["bootstrap/*"], | ||
"config/*": ["config/*"], | ||
"database/*": ["database/*"], | ||
"lang/*": ["lang/*"], | ||
"providers/*": ["providers/*"], | ||
"routes/*": ["routes/*"], | ||
"storage/*": ["storage/*"], | ||
"../../../tests/*": ["../../../tests/*"] | ||
}, | ||
"forceConsistentCasingInFileNames": true | ||
}, | ||
"include": ["../../../*.ts", "../../../**/*.ts"], | ||
"exclude": [ | ||
"../../../node_modules", | ||
"../../../build", | ||
"../../../dist", | ||
"../../../tests" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/** | ||
* @athenna/core | ||
* | ||
* (c) João Lenon <[email protected]> | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
import { Logger as ILogger } from '@athenna/logger' | ||
|
||
export const Logger = ioc.safeUse<ILogger>('Athenna/Core/Logger') |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters