Skip to content

Commit e33a522

Browse files
elrrrrrrrclaude
andcommitted
fix: remove unused egg peerDeps from packages not importing it
controller-decorator, mcp-client-plugin, egg-bin, scripts only reference egg in tests/comments, not in src code. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 2bb75d5 commit e33a522

File tree

4 files changed

+2
-10
lines changed

4 files changed

+2
-10
lines changed

tegg/core/controller-decorator/package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,6 @@
5656
"@types/node": "catalog:",
5757
"typescript": "catalog:"
5858
},
59-
"peerDependencies": {
60-
"egg": "workspace:*"
61-
},
6259
"engines": {
6360
"node": ">=22.18.0"
6461
}

tegg/plugin/mcp-client/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,7 @@
6666
"zod": "catalog:"
6767
},
6868
"peerDependencies": {
69-
"@eggjs/tegg-plugin": "workspace:*",
70-
"egg": "workspace:*"
69+
"@eggjs/tegg-plugin": "workspace:*"
7170
},
7271
"engines": {
7372
"node": ">=22.18.0"

tools/egg-bin/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,7 @@
8787
"typescript": "catalog:"
8888
},
8989
"peerDependencies": {
90-
"@eggjs/mock": "workspace:*",
91-
"egg": "workspace:*"
90+
"@eggjs/mock": "workspace:*"
9291
},
9392
"peerDependenciesMeta": {
9493
"@eggjs/mock": {

tools/scripts/package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,6 @@
7171
"urllib": "catalog:",
7272
"vitest": "catalog:"
7373
},
74-
"peerDependencies": {
75-
"egg": "workspace:*"
76-
},
7774
"oclif": {
7875
"additionalHelpFlags": [
7976
"-h"

0 commit comments

Comments
 (0)