Skip to content

Commit a775362

Browse files
rekmarksclaude
andcommitted
fix(netlayer): reconcile package dependencies with depcheck
CI's strict `yarn lint` (depcheck) flagged dependency mismatches the local `lint:fix` runs did not surface: - @metamask/netlayer: drop unused @metamask/superstruct, add @types/node - @metamask/netlayer-loopback: drop unused @metamask/logger (+ its tsconfig references), add @types/node - @MetaMask/ocap-kernel: drop @noble/curves, now unused after identity.ts moved to @metamask/netlayer Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 3a94ee4 commit a775362

6 files changed

Lines changed: 5 additions & 9 deletions

File tree

packages/netlayer-loopback/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@
5959
"dependencies": {
6060
"@metamask/kernel-errors": "workspace:^",
6161
"@metamask/kernel-utils": "workspace:^",
62-
"@metamask/logger": "workspace:^",
6362
"@metamask/netlayer": "workspace:^",
6463
"@metamask/superstruct": "^3.2.1"
6564
},
@@ -72,6 +71,7 @@
7271
"@ocap/repo-tools": "workspace:^",
7372
"@ts-bridge/cli": "^0.6.3",
7473
"@ts-bridge/shims": "^0.1.1",
74+
"@types/node": "^22.13.1",
7575
"@typescript-eslint/eslint-plugin": "^8.29.0",
7676
"@typescript-eslint/parser": "^8.29.0",
7777
"@typescript-eslint/utils": "^8.29.0",

packages/netlayer-loopback/tsconfig.build.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@
1010
"references": [
1111
{ "path": "../netlayer/tsconfig.build.json" },
1212
{ "path": "../kernel-errors/tsconfig.build.json" },
13-
{ "path": "../kernel-utils/tsconfig.build.json" },
14-
{ "path": "../logger/tsconfig.build.json" }
13+
{ "path": "../kernel-utils/tsconfig.build.json" }
1514
],
1615
"files": [],
1716
"include": ["./src"]

packages/netlayer-loopback/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
{ "path": "../netlayer" },
1010
{ "path": "../kernel-errors" },
1111
{ "path": "../kernel-utils" },
12-
{ "path": "../logger" },
1312
{ "path": "../repo-tools" }
1413
],
1514
"include": [

packages/netlayer/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@
6060
"@metamask/kernel-errors": "workspace:^",
6161
"@metamask/kernel-utils": "workspace:^",
6262
"@metamask/logger": "workspace:^",
63-
"@metamask/superstruct": "^3.2.1",
6463
"@metamask/utils": "^11.9.0",
6564
"@noble/curves": "^1.9.7",
6665
"multiformats": "^13.3.6",
@@ -75,6 +74,7 @@
7574
"@ocap/repo-tools": "workspace:^",
7675
"@ts-bridge/cli": "^0.6.3",
7776
"@ts-bridge/shims": "^0.1.1",
77+
"@types/node": "^22.13.1",
7878
"@typescript-eslint/eslint-plugin": "^8.29.0",
7979
"@typescript-eslint/parser": "^8.29.0",
8080
"@typescript-eslint/utils": "^8.29.0",

packages/ocap-kernel/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@
100100
"@metamask/superstruct": "^3.2.1",
101101
"@metamask/utils": "^11.9.0",
102102
"@multiformats/multiaddr": "^13.0.1",
103-
"@noble/curves": "^1.9.7",
104103
"@scure/bip39": "^2.0.1",
105104
"libp2p": "3.1.7",
106105
"multiformats": "^13.3.6",

yarn.lock

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2860,12 +2860,12 @@ __metadata:
28602860
"@metamask/eslint-config-typescript": "npm:^15.0.0"
28612861
"@metamask/kernel-errors": "workspace:^"
28622862
"@metamask/kernel-utils": "workspace:^"
2863-
"@metamask/logger": "workspace:^"
28642863
"@metamask/netlayer": "workspace:^"
28652864
"@metamask/superstruct": "npm:^3.2.1"
28662865
"@ocap/repo-tools": "workspace:^"
28672866
"@ts-bridge/cli": "npm:^0.6.3"
28682867
"@ts-bridge/shims": "npm:^0.1.1"
2868+
"@types/node": "npm:^22.13.1"
28692869
"@typescript-eslint/eslint-plugin": "npm:^8.29.0"
28702870
"@typescript-eslint/parser": "npm:^8.29.0"
28712871
"@typescript-eslint/utils": "npm:^8.29.0"
@@ -2902,12 +2902,12 @@ __metadata:
29022902
"@metamask/kernel-errors": "workspace:^"
29032903
"@metamask/kernel-utils": "workspace:^"
29042904
"@metamask/logger": "workspace:^"
2905-
"@metamask/superstruct": "npm:^3.2.1"
29062905
"@metamask/utils": "npm:^11.9.0"
29072906
"@noble/curves": "npm:^1.9.7"
29082907
"@ocap/repo-tools": "workspace:^"
29092908
"@ts-bridge/cli": "npm:^0.6.3"
29102909
"@ts-bridge/shims": "npm:^0.1.1"
2910+
"@types/node": "npm:^22.13.1"
29112911
"@typescript-eslint/eslint-plugin": "npm:^8.29.0"
29122912
"@typescript-eslint/parser": "npm:^8.29.0"
29132913
"@typescript-eslint/utils": "npm:^8.29.0"
@@ -2995,7 +2995,6 @@ __metadata:
29952995
"@metamask/superstruct": "npm:^3.2.1"
29962996
"@metamask/utils": "npm:^11.9.0"
29972997
"@multiformats/multiaddr": "npm:^13.0.1"
2998-
"@noble/curves": "npm:^1.9.7"
29992998
"@ocap/repo-tools": "workspace:^"
30002999
"@scure/bip39": "npm:^2.0.1"
30013000
"@ts-bridge/cli": "npm:^0.6.3"

0 commit comments

Comments
 (0)