Skip to content

Commit 2bb75d5

Browse files
elrrrrrrrclaude
andcommitted
fix: remove test-only peerDeps that trigger unused dep errors
These deps are only used in tests, not in src code. unplugin-unused correctly flags them as unused. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 3efe843 commit 2bb75d5

File tree

5 files changed

+0
-6
lines changed

5 files changed

+0
-6
lines changed

plugins/mock/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@
119119
"typescript": "catalog:"
120120
},
121121
"peerDependencies": {
122-
"@eggjs/tracer": "workspace:*",
123122
"egg": "workspace:*",
124123
"vitest": "catalog:"
125124
},

plugins/tracer/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@
6666
"typescript": "catalog:"
6767
},
6868
"peerDependencies": {
69-
"@eggjs/mock": "workspace:*",
7069
"egg": "workspace:*"
7170
},
7271
"engines": {

tegg/plugin/aop/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@
6161
"typescript": "catalog:"
6262
},
6363
"peerDependencies": {
64-
"@eggjs/tegg": "workspace:*",
6564
"@eggjs/tegg-plugin": "workspace:*",
6665
"egg": "workspace:*"
6766
},

tegg/plugin/dal/package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,6 @@
8383
"typescript": "catalog:"
8484
},
8585
"peerDependencies": {
86-
"@eggjs/aop-plugin": "workspace:*",
87-
"@eggjs/tegg": "workspace:*",
8886
"@eggjs/tegg-plugin": "workspace:*",
8987
"egg": "workspace:*"
9088
},

tegg/plugin/tegg/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@
109109
"typescript": "catalog:"
110110
},
111111
"peerDependencies": {
112-
"@eggjs/tegg": "workspace:*",
113112
"@eggjs/tegg-config": "workspace:*",
114113
"egg": "workspace:*"
115114
},

0 commit comments

Comments
 (0)