Skip to content

Commit

Permalink
fix: remove bug-prone path aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
cybor97 committed Jan 27, 2024
1 parent 82fb087 commit 063431e
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 1,096 deletions.
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"pkg": "^5.8.1",
"telegraf": "^4.15.3",
"telegraf-ratelimit": "^2.0.0",
"tspath": "^2.6.8",
"typeorm": "^0.3.17",
"winston": "^3.11.0",
"winston-loki": "^6.0.8"
Expand All @@ -23,8 +22,8 @@
"version": "1.0.1",
"main": "index.js",
"scripts": {
"dev": "nodemon -r tsconfig-paths/register ./src/index.ts",
"build": "tsc -p tsconfig.json && tspath -f",
"dev": "nodemon ./src/index.ts",
"build": "tsc -p tsconfig.json",
"start": "node ./dist/src/index.js",
"db": "typeorm-ts-node-commonjs"
},
Expand Down
2 changes: 1 addition & 1 deletion src/services/SQSService/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { EventEmitter } from "stream";
import { SQS, SQSClientConfig } from "@aws-sdk/client-sqs";
import logger from "@utils/logger";
import { SQSConfig } from "./types";
import logger from "../../utils/logger";

const CONSUMER_DELAY = 500;

Expand Down
3 changes: 0 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@
"resolveJsonModule": true,
"outDir": "dist",
"baseUrl": ".",
"paths": {
"@utils/*": ["./src/utils/*"]
},
"typeRoots": ["src/typings", "node_modules/@types"]
},
"include": ["package.json", "src"],
Expand Down
Loading

0 comments on commit 063431e

Please sign in to comment.