Skip to content

Commit

Permalink
feat(app)!: ✨ add logger & zod for env
Browse files Browse the repository at this point in the history
  • Loading branch information
navin-moorthy committed Jun 28, 2023
1 parent 542eb98 commit 23bd5e8
Show file tree
Hide file tree
Showing 16 changed files with 505 additions and 70 deletions.
11 changes: 2 additions & 9 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const commonTypescriptIgnoredRules = {

const commonNodeIgnoredRules = {
...commonIgnoredRules,
"node/no-process-env": "off",
"import/no-useless-path-segments": "off",
};

/**
Expand All @@ -56,13 +56,6 @@ module.exports = {
},
rules: {
...commonNodeIgnoredRules,
"import/extensions": [
"error",
"always",
{
ignorePackages: true,
},
],
},
overrides: [
{
Expand All @@ -72,7 +65,7 @@ module.exports = {
],
},
{
files: ["./*.ts", "src/**/*.ts"],
files: ["./*.ts", "scripts/**/*.ts", "src/**/*.ts"],
extends: [
"canonical",
"canonical/node",
Expand Down
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,12 @@
]
},
"dependencies": {
"consola": "3.2.2",
"dotenv": "16.3.1",
"envalid": "7.3.1"
"envalid": "7.3.1",
"winston": "3.9.0",
"winston-daily-rotate-file": "4.7.1",
"zod": "^3.21.4"
},
"devDependencies": {
"@babel/plugin-syntax-import-assertions": "7.22.5",
Expand Down
Loading

0 comments on commit 23bd5e8

Please sign in to comment.