From 16d3d343c0fdcd344f6699d79cadc98124db6b0e Mon Sep 17 00:00:00 2001 From: Steven Luscher Date: Thu, 5 Dec 2024 03:50:17 +0000 Subject: [PATCH] Inlined dependencies must live in `devDependencies` so that they don't appear as dependencies in the published package --- packages/rpc-subscriptions-channel-websocket/package.json | 2 +- packages/rpc-subscriptions-spec/package.json | 4 +++- packages/rpc-subscriptions/package.json | 4 ++-- packages/rpc/package.json | 4 +++- packages/subscribable/package.json | 4 +++- packages/transaction-confirmation/package.json | 2 +- 6 files changed, 13 insertions(+), 7 deletions(-) diff --git a/packages/rpc-subscriptions-channel-websocket/package.json b/packages/rpc-subscriptions-channel-websocket/package.json index 0e0ebf57a67..317043618f7 100644 --- a/packages/rpc-subscriptions-channel-websocket/package.json +++ b/packages/rpc-subscriptions-channel-websocket/package.json @@ -72,12 +72,12 @@ ], "dependencies": { "@solana/errors": "workspace:*", - "@solana/event-target-impl": "workspace:*", "@solana/functional": "workspace:*", "@solana/rpc-subscriptions-spec": "workspace:*", "@solana/subscribable": "workspace:*" }, "devDependencies": { + "@solana/event-target-impl": "workspace:*", "@solana/ws-impl": "workspace:*", "jest-websocket-mock": "^2.5.0" }, diff --git a/packages/rpc-subscriptions-spec/package.json b/packages/rpc-subscriptions-spec/package.json index f71e1d79bad..2cb40f65ac5 100644 --- a/packages/rpc-subscriptions-spec/package.json +++ b/packages/rpc-subscriptions-spec/package.json @@ -72,11 +72,13 @@ ], "dependencies": { "@solana/errors": "workspace:*", - "@solana/event-target-impl": "workspace:*", "@solana/promises": "workspace:*", "@solana/rpc-spec-types": "workspace:*", "@solana/subscribable": "workspace:*" }, + "devDependencies": { + "@solana/event-target-impl": "workspace:*" + }, "peerDependencies": { "typescript": ">=5" }, diff --git a/packages/rpc-subscriptions/package.json b/packages/rpc-subscriptions/package.json index b3cac331868..85b4a31a7f7 100644 --- a/packages/rpc-subscriptions/package.json +++ b/packages/rpc-subscriptions/package.json @@ -72,7 +72,6 @@ ], "dependencies": { "@solana/errors": "workspace:*", - "@solana/event-target-impl": "workspace:*", "@solana/fast-stable-stringify": "workspace:*", "@solana/functional": "workspace:*", "@solana/promises": "workspace:*", @@ -85,7 +84,8 @@ "@solana/subscribable": "workspace:*" }, "devDependencies": { - "@solana/addresses": "workspace:*" + "@solana/addresses": "workspace:*", + "@solana/event-target-impl": "workspace:*" }, "peerDependencies": { "typescript": ">=5" diff --git a/packages/rpc/package.json b/packages/rpc/package.json index 8ffd37df2a5..2b311c0fe7b 100644 --- a/packages/rpc/package.json +++ b/packages/rpc/package.json @@ -72,7 +72,6 @@ ], "dependencies": { "@solana/errors": "workspace:*", - "@solana/event-target-impl": "workspace:*", "@solana/fast-stable-stringify": "workspace:*", "@solana/functional": "workspace:*", "@solana/rpc-api": "workspace:*", @@ -82,6 +81,9 @@ "@solana/rpc-transport-http": "workspace:*", "@solana/rpc-types": "workspace:*" }, + "devDependencies": { + "@solana/event-target-impl": "workspace:*" + }, "peerDependencies": { "typescript": ">=5" }, diff --git a/packages/subscribable/package.json b/packages/subscribable/package.json index cf3edbdbd5f..446a6fcd1a4 100644 --- a/packages/subscribable/package.json +++ b/packages/subscribable/package.json @@ -71,7 +71,9 @@ "maintained node versions" ], "dependencies": { - "@solana/errors": "workspace:*", + "@solana/errors": "workspace:*" + }, + "devDependencies": { "@solana/event-target-impl": "workspace:*" }, "peerDependencies": { diff --git a/packages/transaction-confirmation/package.json b/packages/transaction-confirmation/package.json index ff16928ebd5..1c2611aef3c 100644 --- a/packages/transaction-confirmation/package.json +++ b/packages/transaction-confirmation/package.json @@ -73,7 +73,6 @@ "@solana/addresses": "workspace:*", "@solana/codecs-strings": "workspace:*", "@solana/errors": "workspace:*", - "@solana/event-target-impl": "workspace:*", "@solana/keys": "workspace:*", "@solana/promises": "workspace:*", "@solana/rpc": "workspace:*", @@ -84,6 +83,7 @@ }, "devDependencies": { "@solana/codecs-core": "workspace:*", + "@solana/event-target-impl": "workspace:*", "@solana/instructions": "workspace:*" }, "peerDependencies": {