Skip to content

Commit

Permalink
chore: refactor backend and shared for better clean code
Browse files Browse the repository at this point in the history
  • Loading branch information
brunotot committed Aug 28, 2024
1 parent 1df9236 commit d213bc9
Show file tree
Hide file tree
Showing 119 changed files with 902 additions and 1,896 deletions.
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"sourceType": "module"
},
"plugins": ["@typescript-eslint"],
"ignorePatterns": ["node_modules/", "dist/", "logger.js", "docs/", "updateDepDocs.js", "npx", "scripts", "keycloak.js"],
"ignorePatterns": ["node_modules/", "dist/", "logger.js", "docs/", "npx", "assets"],
"rules": {
"@typescript-eslint/consistent-type-imports": "error",
"@typescript-eslint/ban-ts-comment": "off"
Expand Down
1 change: 0 additions & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@
#pnpm run build:docs:dev
npm run test
npx lint-staged
npm run script:writeDependenciesMarkdown
npm run script:writeReadmeMarkdown
git add README.md
28 changes: 7 additions & 21 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@
},
{
"name": "root > typedoc",
"runtimeArgs": ["typedoc"],
"runtimeArgs": ["run", "typedoc"],
"presentation": { "group": "1" },
// Defaults below
"runtimeVersion": "21.7.0",
"type": "node",
"request": "launch",
"runtimeExecutable": "pnpm",
"runtimeExecutable": "npm",
"console": "integratedTerminal",
"outputCapture": "std",
"autoAttachChildProcesses": false
Expand All @@ -66,20 +66,6 @@
"outputCapture": "std",
"autoAttachChildProcesses": false
},

{
"name": "script > writeDependenciesMarkdown",
"runtimeArgs": ["run", "script:writeDependenciesMarkdown"],
"presentation": { "group": "2" },
// Defaults below
"runtimeVersion": "21.7.0",
"type": "node",
"request": "launch",
"runtimeExecutable": "pnpm",
"console": "integratedTerminal",
"outputCapture": "std",
"autoAttachChildProcesses": false
},
{
"name": "script > writeReadmeMarkdown",
"runtimeArgs": ["run", "script:writeReadmeMarkdown"],
Expand All @@ -88,7 +74,7 @@
"runtimeVersion": "21.7.0",
"type": "node",
"request": "launch",
"runtimeExecutable": "pnpm",
"runtimeExecutable": "npm",
"console": "integratedTerminal",
"outputCapture": "std",
"autoAttachChildProcesses": false
Expand All @@ -113,13 +99,13 @@
},
{
"name": "backend > dev - nodemon",
"runtimeArgs": ["--filter", "backend", "run", "dev"],
"runtimeArgs": ["run", "dev", "--prefix", "packages/backend"],
"presentation": { "group": "3" },
// Defaults below
"runtimeVersion": "21.7.0",
"type": "node",
"request": "launch",
"runtimeExecutable": "pnpm",
"runtimeExecutable": "npm",
"console": "integratedTerminal",
"outputCapture": "std",
"autoAttachChildProcesses": false
Expand Down Expand Up @@ -243,13 +229,13 @@
},
{
"name": "shared > build",
"runtimeArgs": ["run", "--filter", "shared", "build"],
"runtimeArgs": ["run", "shared:build"],
"presentation": { "group": "5" },
// Defaults below
"runtimeVersion": "21.7.0",
"type": "node",
"request": "launch",
"runtimeExecutable": "pnpm",
"runtimeExecutable": "npm",
"console": "integratedTerminal",
"outputCapture": "std",
"autoAttachChildProcesses": false
Expand Down
Loading

0 comments on commit d213bc9

Please sign in to comment.