-
-
Notifications
You must be signed in to change notification settings - Fork 18
Backend refactoring #1454
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Backend refactoring #1454
Changes from all commits
bea5f7e
447a794
3876ce5
6c54801
b74fec7
33c70c0
499d2e4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| { | ||
| "$schema": "https://unpkg.com/knip@5/schema.json", | ||
| "ignoreExportsUsedInFile": { | ||
| "interface": true, | ||
| "type": true | ||
| }, | ||
| "ignore": ["src/migrations/**", "src/shared/config/datasource.config.ts", "src/enums/widget-type.enum.ts"], | ||
| "tags": ["-lintignore"] | ||
| } |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -29,7 +29,8 @@ | |||||
| "migration:generate": "yarn run typeorm migration:generate -d dist/shared/config/datasource.config.js", | ||||||
| "migration:create": "yarn run typeorm migration:create -d dist/shared/config/datasource.config.js", | ||||||
| "migration:run": "yarn run typeorm migration:run -d dist/shared/config/datasource.config.js", | ||||||
| "migration:revert": "npm run typeorm -- migration:revert -d dist/shared/config/datasource.config.js" | ||||||
| "migration:revert": "npm run typeorm -- migration:revert -d dist/shared/config/datasource.config.js", | ||||||
| "knip": "knip" | ||||||
| }, | ||||||
| "dependencies": { | ||||||
| "@amplitude/node": "1.10.2", | ||||||
|
|
@@ -39,7 +40,6 @@ | |||||
| "@nestjs/common": "11.1.8", | ||||||
| "@nestjs/config": "4.0.2", | ||||||
| "@nestjs/core": "11.1.8", | ||||||
| "@nestjs/microservices": "^11.1.8", | ||||||
| "@nestjs/platform-express": "11.1.8", | ||||||
| "@nestjs/schedule": "^6.0.1", | ||||||
| "@nestjs/swagger": "^11.2.1", | ||||||
|
|
@@ -71,7 +71,6 @@ | |||||
| "dotenv": "17.2.3", | ||||||
| "eslint-plugin-security": "3.0.1", | ||||||
| "express": "5.1.0", | ||||||
| "express-rate-limit": "8.1.0", | ||||||
| "fetch-blob": "^4.0.0", | ||||||
| "helmet": "8.1.0", | ||||||
| "i18n-iso-countries": "^7.14.0", | ||||||
|
|
@@ -116,7 +115,7 @@ | |||||
| "@types/express": "^5.0.5", | ||||||
| "@types/ibm_db": "^3.2.0", | ||||||
| "@types/json2csv": "^5.0.7", | ||||||
| "@types/node": "^24.9.1", | ||||||
| "@types/node": "^24.10.1", | ||||||
| "@types/safe-regex": "^1.1.6", | ||||||
| "@types/supertest": "^6.0.3", | ||||||
| "@types/uuid": "^11.0.0", | ||||||
|
|
@@ -127,12 +126,13 @@ | |||||
| "eslint": "^9.38.0", | ||||||
| "eslint-config-prettier": "^10.1.8", | ||||||
| "eslint-plugin-import": "^2.32.0", | ||||||
| "knip": "^5.70.2", | ||||||
| "nock": "^14.0.10", | ||||||
| "prettier": "^3.6.2", | ||||||
| "supertest": "^7.1.4", | ||||||
| "ts-loader": "^9.5.4", | ||||||
| "ts-node": "^10.9.2", | ||||||
| "tsconfig-paths": "^4.2.0", | ||||||
| "typescript": "5.9.3" | ||||||
| "typescript": "^5.9.3" | ||||||
|
||||||
| "typescript": "^5.9.3" | |
| "typescript": "5.9.3" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| export { AuthMiddleware } from './auth.middleware.js'; | ||
| export { BasicAuthMiddleware } from './basic-auth.middleware.js'; | ||
| export { IRequestWithCognitoInfo, ICognitoDecodedData } from './cognito-decoded.interface.js'; | ||
| export { IRequestWithCognitoInfo } from './cognito-decoded.interface.js'; |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1 @@ | ||
| export { CreateConnectionPropertiesDto } from './create-connection-properties.dto.js'; | ||
| export { UpdateConnectionPropertiesDto } from './update-connection-properties.dto.js'; |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] A new
knipscript has been added to help identify unused code. Ensure that the team is aware of this new tool and how to use it. Consider adding documentation about runningyarn knipas part of the development or CI/CD process to maintain code cleanliness.