Skip to content

Commit 8a6bef7

Browse files
mikolalysenkoclaude
andcommitted
fix: restore bin and optionalDependencies to npm wrapper package.json
These fields were mistakenly removed in e91377a, which broke CLI execution ("could not determine executable to run"). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 5dc7c8d commit 8a6bef7

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

npm/socket-patch/package.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
"name": "@socketsecurity/socket-patch",
33
"version": "1.7.0",
44
"description": "CLI tool and schema library for applying security patches to dependencies",
5+
"bin": {
6+
"socket-patch": "bin/socket-patch"
7+
},
58
"exports": {
69
"./schema": {
710
"types": "./dist/schema/manifest-schema.d.ts",
@@ -37,5 +40,17 @@
3740
"devDependencies": {
3841
"typescript": "^5.3.0",
3942
"@types/node": "^20.0.0"
43+
},
44+
"optionalDependencies": {
45+
"@socketsecurity/socket-patch-android-arm64": "1.7.0",
46+
"@socketsecurity/socket-patch-darwin-arm64": "1.7.0",
47+
"@socketsecurity/socket-patch-darwin-x64": "1.7.0",
48+
"@socketsecurity/socket-patch-linux-arm": "1.7.0",
49+
"@socketsecurity/socket-patch-linux-arm64": "1.7.0",
50+
"@socketsecurity/socket-patch-linux-ia32": "1.7.0",
51+
"@socketsecurity/socket-patch-linux-x64": "1.7.0",
52+
"@socketsecurity/socket-patch-win32-arm64": "1.7.0",
53+
"@socketsecurity/socket-patch-win32-ia32": "1.7.0",
54+
"@socketsecurity/socket-patch-win32-x64": "1.7.0"
4055
}
4156
}

0 commit comments

Comments
 (0)