Skip to content

Commit 73cb751

Browse files
committed
fix: link to local @socketsecurity/sdk for development
Replace @socketsecurity/sdk version dependency with link to sibling socket-sdk-js directory. Remove SDK patch as types are now fixed at source. This enables development on SDK and CLI simultaneously and ensures we're testing against the latest SDK changes.
1 parent e949f78 commit 73cb751

File tree

2 files changed

+4
-14
lines changed

2 files changed

+4
-14
lines changed

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
"@socketsecurity/config": "3.0.1",
106106
"@socketsecurity/lib": "1.0.4",
107107
"@socketsecurity/registry": "2.0.0",
108-
"@socketsecurity/sdk": "2.0.1",
108+
"@socketsecurity/sdk": "link:../socket-sdk-js",
109109
"@types/cmd-shim": "5.0.2",
110110
"@types/ink": "2.0.3",
111111
"@types/js-yaml": "4.0.9",
@@ -245,8 +245,7 @@
245245
"lodash@4.17.21": "patches/lodash@4.17.21.patch",
246246
"string_decoder@0.10.31": "patches/string_decoder@0.10.31.patch",
247247
"ink@6.3.1": "patches/ink@6.3.1.patch",
248-
"yoga-layout": "patches/yoga-layout.patch",
249-
"@socketsecurity/sdk@2.0.1": "patches/@socketsecurity__sdk@2.0.1.patch"
248+
"yoga-layout": "patches/yoga-layout.patch"
250249
}
251250
},
252251
"typeCoverage": {

pnpm-lock.yaml

Lines changed: 2 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)