Skip to content

Commit

Permalink
Move dependencies out of devDependencies where they are used in the…
Browse files Browse the repository at this point in the history
… implementation (#2375)

Discovered these by running `compile:js` in each individual package, doing a `git clean -dfx .` between each.
  • Loading branch information
steveluscher committed Mar 23, 2024
1 parent 65f262c commit 94f2053
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 29 deletions.
2 changes: 1 addition & 1 deletion packages/compat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,14 @@
"node": ">=17.4"
},
"dependencies": {
"@solana/addresses": "workspace:*",
"@solana/errors": "workspace:*",
"@solana/functional": "workspace:*",
"@solana/instructions": "workspace:*",
"@solana/keys": "workspace:*",
"@solana/transactions": "workspace:*"
},
"devDependencies": {
"@solana/addresses": "workspace:*",
"@solana/keys": "workspace:*",
"@solana/rpc-types": "workspace:*",
"@solana/web3.js": "workspace:../library-legacy"
Expand Down
4 changes: 2 additions & 2 deletions packages/library-legacy-sham/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@
"@noble/ed25519": "^2.0.0",
"@noble/hashes": "^1.3.3",
"@solana/addresses": "workspace:*",
"@solana/transactions": "workspace:*"
"@solana/transactions": "workspace:*",
"@solana/rpc-types": "workspace:*"
},
"devDependencies": {
"@solana/rpc-types": "workspace:*",
"@solana/web3.js-legacy": "workspace:../library-legacy"
},
"bundlewatch": {
Expand Down
4 changes: 1 addition & 3 deletions packages/rpc-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,11 @@
],
"dependencies": {
"@solana/addresses": "workspace:*",
"@solana/codecs-core": "workspace:*",
"@solana/codecs-numbers": "workspace:*",
"@solana/codecs-strings": "workspace:*",
"@solana/errors": "workspace:*"
},
"devDependencies": {
"@solana/codecs-core": "workspace:*"
},
"bundlewatch": {
"defaultCompression": "gzip",
"files": [
Expand Down
6 changes: 3 additions & 3 deletions packages/sysvars/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,15 @@
"dependencies": {
"@solana/accounts": "workspace:*",
"@solana/codecs": "workspace:*",
"@solana/errors": "workspace:*"
"@solana/errors": "workspace:*",
"@solana/rpc-types": "workspace:*"
},
"devDependencies": {
"@solana/addresses": "workspace:*",
"@solana/rpc-api": "workspace:*",
"@solana/rpc-parsed-types": "workspace:*",
"@solana/rpc-spec": "workspace:*",
"@solana/rpc-transport-http": "workspace:*",
"@solana/rpc-types": "workspace:*"
"@solana/rpc-transport-http": "workspace:*"
},
"bundlewatch": {
"defaultCompression": "gzip",
Expand Down
4 changes: 1 addition & 3 deletions packages/transactions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,8 @@
"@solana/codecs-strings": "workspace:*",
"@solana/errors": "workspace:*",
"@solana/functional": "workspace:*",
"@solana/keys": "workspace:*"
},
"devDependencies": {
"@solana/instructions": "workspace:*",
"@solana/keys": "workspace:*",
"@solana/rpc-types": "workspace:*"
},
"bundlewatch": {
Expand Down
32 changes: 15 additions & 17 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 94f2053

Please sign in to comment.