Skip to content

Commit 82061b7

Browse files
committed
Refactor code structure for improved readability and maintainability
1 parent ed93565 commit 82061b7

File tree

6 files changed

+692
-197
lines changed

6 files changed

+692
-197
lines changed

autoadmin-ws-server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"zod": "^4.3.6"
2222
},
2323
"devDependencies": {
24-
"@biomejs/biome": "2.3.14",
24+
"@biomejs/biome": "2.4.0",
2525
"@types/jsonwebtoken": "^9.0.10",
2626
"@types/node": "^22.10.2",
2727
"@types/ws": "^8.18.1",

autoadmin-ws-server/yarn.lock

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@ __metadata:
55
version: 6
66
cacheKey: 8
77

8-
"@biomejs/biome@npm:2.3.14":
9-
version: 2.3.14
10-
resolution: "@biomejs/biome@npm:2.3.14"
8+
"@biomejs/biome@npm:2.4.0":
9+
version: 2.4.0
10+
resolution: "@biomejs/biome@npm:2.4.0"
1111
dependencies:
12-
"@biomejs/cli-darwin-arm64": 2.3.14
13-
"@biomejs/cli-darwin-x64": 2.3.14
14-
"@biomejs/cli-linux-arm64": 2.3.14
15-
"@biomejs/cli-linux-arm64-musl": 2.3.14
16-
"@biomejs/cli-linux-x64": 2.3.14
17-
"@biomejs/cli-linux-x64-musl": 2.3.14
18-
"@biomejs/cli-win32-arm64": 2.3.14
19-
"@biomejs/cli-win32-x64": 2.3.14
12+
"@biomejs/cli-darwin-arm64": 2.4.0
13+
"@biomejs/cli-darwin-x64": 2.4.0
14+
"@biomejs/cli-linux-arm64": 2.4.0
15+
"@biomejs/cli-linux-arm64-musl": 2.4.0
16+
"@biomejs/cli-linux-x64": 2.4.0
17+
"@biomejs/cli-linux-x64-musl": 2.4.0
18+
"@biomejs/cli-win32-arm64": 2.4.0
19+
"@biomejs/cli-win32-x64": 2.4.0
2020
dependenciesMeta:
2121
"@biomejs/cli-darwin-arm64":
2222
optional: true
@@ -36,62 +36,62 @@ __metadata:
3636
optional: true
3737
bin:
3838
biome: bin/biome
39-
checksum: 05bc8b81e5c9f0b395e40cbcf2d0645776100fb9d10e5cebbadd9c5290fa8f05948c4bb1f685c65e9b4a9ad9d70a2320ab387a3a53d59818328a49ecb73b6cf8
39+
checksum: 4712b7ce8513e4c26d2508c9c45297cb2622e4b9fc1fdf9132ebf53f2a55667df39e2f0bc270d65c070fdc7bc22cc12baadee11de44acc52733916759aa3c596
4040
languageName: node
4141
linkType: hard
4242

43-
"@biomejs/cli-darwin-arm64@npm:2.3.14":
44-
version: 2.3.14
45-
resolution: "@biomejs/cli-darwin-arm64@npm:2.3.14"
43+
"@biomejs/cli-darwin-arm64@npm:2.4.0":
44+
version: 2.4.0
45+
resolution: "@biomejs/cli-darwin-arm64@npm:2.4.0"
4646
conditions: os=darwin & cpu=arm64
4747
languageName: node
4848
linkType: hard
4949

50-
"@biomejs/cli-darwin-x64@npm:2.3.14":
51-
version: 2.3.14
52-
resolution: "@biomejs/cli-darwin-x64@npm:2.3.14"
50+
"@biomejs/cli-darwin-x64@npm:2.4.0":
51+
version: 2.4.0
52+
resolution: "@biomejs/cli-darwin-x64@npm:2.4.0"
5353
conditions: os=darwin & cpu=x64
5454
languageName: node
5555
linkType: hard
5656

57-
"@biomejs/cli-linux-arm64-musl@npm:2.3.14":
58-
version: 2.3.14
59-
resolution: "@biomejs/cli-linux-arm64-musl@npm:2.3.14"
57+
"@biomejs/cli-linux-arm64-musl@npm:2.4.0":
58+
version: 2.4.0
59+
resolution: "@biomejs/cli-linux-arm64-musl@npm:2.4.0"
6060
conditions: os=linux & cpu=arm64 & libc=musl
6161
languageName: node
6262
linkType: hard
6363

64-
"@biomejs/cli-linux-arm64@npm:2.3.14":
65-
version: 2.3.14
66-
resolution: "@biomejs/cli-linux-arm64@npm:2.3.14"
64+
"@biomejs/cli-linux-arm64@npm:2.4.0":
65+
version: 2.4.0
66+
resolution: "@biomejs/cli-linux-arm64@npm:2.4.0"
6767
conditions: os=linux & cpu=arm64 & libc=glibc
6868
languageName: node
6969
linkType: hard
7070

71-
"@biomejs/cli-linux-x64-musl@npm:2.3.14":
72-
version: 2.3.14
73-
resolution: "@biomejs/cli-linux-x64-musl@npm:2.3.14"
71+
"@biomejs/cli-linux-x64-musl@npm:2.4.0":
72+
version: 2.4.0
73+
resolution: "@biomejs/cli-linux-x64-musl@npm:2.4.0"
7474
conditions: os=linux & cpu=x64 & libc=musl
7575
languageName: node
7676
linkType: hard
7777

78-
"@biomejs/cli-linux-x64@npm:2.3.14":
79-
version: 2.3.14
80-
resolution: "@biomejs/cli-linux-x64@npm:2.3.14"
78+
"@biomejs/cli-linux-x64@npm:2.4.0":
79+
version: 2.4.0
80+
resolution: "@biomejs/cli-linux-x64@npm:2.4.0"
8181
conditions: os=linux & cpu=x64 & libc=glibc
8282
languageName: node
8383
linkType: hard
8484

85-
"@biomejs/cli-win32-arm64@npm:2.3.14":
86-
version: 2.3.14
87-
resolution: "@biomejs/cli-win32-arm64@npm:2.3.14"
85+
"@biomejs/cli-win32-arm64@npm:2.4.0":
86+
version: 2.4.0
87+
resolution: "@biomejs/cli-win32-arm64@npm:2.4.0"
8888
conditions: os=win32 & cpu=arm64
8989
languageName: node
9090
linkType: hard
9191

92-
"@biomejs/cli-win32-x64@npm:2.3.14":
93-
version: 2.3.14
94-
resolution: "@biomejs/cli-win32-x64@npm:2.3.14"
92+
"@biomejs/cli-win32-x64@npm:2.4.0":
93+
version: 2.4.0
94+
resolution: "@biomejs/cli-win32-x64@npm:2.4.0"
9595
conditions: os=win32 & cpu=x64
9696
languageName: node
9797
linkType: hard
@@ -1087,7 +1087,7 @@ __metadata:
10871087
version: 0.0.0-use.local
10881088
resolution: "rocketadmin-ws-server@workspace:."
10891089
dependencies:
1090-
"@biomejs/biome": 2.3.14
1090+
"@biomejs/biome": 2.4.0
10911091
"@hono/node-server": ^1.19.9
10921092
"@types/jsonwebtoken": ^9.0.10
10931093
"@types/node": ^22.10.2

backend/package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@
2525
},
2626
"dependencies": {
2727
"@amplitude/node": "1.10.2",
28-
"@aws-sdk/client-bedrock-runtime": "^3.987.0",
29-
"@aws-sdk/client-s3": "^3.987.0",
30-
"@aws-sdk/lib-dynamodb": "^3.987.0",
31-
"@aws-sdk/s3-request-presigner": "^3.987.0",
28+
"@aws-sdk/client-bedrock-runtime": "^3.990.0",
29+
"@aws-sdk/client-s3": "^3.990.0",
30+
"@aws-sdk/lib-dynamodb": "^3.990.0",
31+
"@aws-sdk/s3-request-presigner": "^3.990.0",
3232
"@electric-sql/pglite": "^0.3.15",
3333
"@faker-js/faker": "^10.3.0",
34-
"@langchain/aws": "^1.2.2",
35-
"@langchain/core": "^1.1.22",
34+
"@langchain/aws": "^1.2.3",
35+
"@langchain/core": "^1.1.24",
3636
"@langchain/openai": "^1.2.7",
3737
"@nestjs/common": "11.1.13",
3838
"@nestjs/config": "4.0.3",
@@ -45,11 +45,11 @@
4545
"@nestjsx/crud": "4.6.2",
4646
"@rocketadmin/shared-code": "workspace:*",
4747
"@sentry/minimal": "^6.19.7",
48-
"@sentry/node": "10.38.0",
48+
"@sentry/node": "10.39.0",
4949
"@types/crypto-js": "^4.2.2",
5050
"@types/jsonwebtoken": "^9.0.10",
5151
"@types/multer": "^2.0.0",
52-
"@types/nodemailer": "^7.0.9",
52+
"@types/nodemailer": "^7.0.10",
5353
"@types/nunjucks": "^3.2.6",
5454
"@types/qrcode": "^1.5.6",
5555
"@zapier/secret-scrubber": "^1.1.6",
@@ -65,7 +65,7 @@
6565
"crc": "^4.3.2",
6666
"crypto-js": "4.2.0",
6767
"csv": "^6.4.1",
68-
"dotenv": "17.2.4",
68+
"dotenv": "17.3.1",
6969
"express": "5.2.1",
7070
"fetch-blob": "^4.0.0",
7171
"helmet": "8.1.0",
@@ -74,20 +74,20 @@
7474
"json2csv": "^5.0.7",
7575
"jsonwebtoken": "^9.0.3",
7676
"knex": "3.1.0",
77-
"langchain": "^1.2.21",
77+
"langchain": "^1.2.24",
7878
"lru-cache": "^11.2.6",
7979
"nanoid": "5.1.6",
8080
"nodemailer": "^8.0.1",
8181
"nunjucks": "^3.2.4",
82-
"openai": "^6.21.0",
82+
"openai": "^6.22.0",
8383
"otplib": "^12.0.1",
8484
"p-queue": "9.1.0",
8585
"pg": "^8.18.0",
8686
"pg-connection-string": "^2.11.0",
8787
"qrcode": "^1.5.4",
8888
"query-string": "^9.3.1",
8989
"reflect-metadata": "0.2.2",
90-
"rimraf": "6.1.2",
90+
"rimraf": "6.1.3",
9191
"rxjs": "7.8.2",
9292
"safe-regex2": "^5.0.0",
9393
"secure-json-parse": "4.1.0",

biome.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.3.8/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/2.4.0/schema.json",
33
"vcs": {
44
"enabled": true,
55
"clientKind": "git",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"prepare": "husky"
2020
},
2121
"devDependencies": {
22-
"@biomejs/biome": "2.3.8",
22+
"@biomejs/biome": "2.4.0",
2323
"husky": "^9.1.7",
2424
"lint-staged": "^16.2.7"
2525
},

0 commit comments

Comments
 (0)