Skip to content

Commit

Permalink
fix(package): move local dependencies to peer dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Rubilmax committed Aug 2, 2024
1 parent bd4f046 commit d43f704
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 19 deletions.
13 changes: 8 additions & 5 deletions packages/blue-api-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@
"codegen": "graphql-codegen --config codegen.ts",
"build": "tsc --build tsconfig.build.json"
},
"dependencies": {
"@morpho-org/blue-sdk": "workspace:^",
"@morpho-org/blue-sdk-ethers": "workspace:^",
"@morpho-org/morpho-ts": "workspace:^"
},
"devDependencies": {
"@apollo/client": "^3.11.1",
"@graphql-codegen/cli": "^5.0.0",
Expand All @@ -24,10 +19,18 @@
"@graphql-codegen/typescript": "^4.0.1",
"@graphql-codegen/typescript-operations": "^4.0.1",
"@graphql-codegen/typescript-resolvers": "^4.1.0",
"@morpho-org/blue-sdk": "workspace:^",
"@morpho-org/blue-sdk-ethers": "workspace:^",
"@morpho-org/morpho-ts": "workspace:^",
"graphql": "^16.8.1",
"graphql-tag": "^2.12.6",
"typescript": "^5.4.5"
},
"peerDependencies": {
"@morpho-org/blue-sdk": "workspace:^",
"@morpho-org/blue-sdk-ethers": "workspace:^",
"@morpho-org/morpho-ts": "workspace:^"
},
"publishConfig": {
"access": "public"
}
Expand Down
10 changes: 3 additions & 7 deletions packages/blue-sdk-ethers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
"test-hardhat": "hardhat test"
},
"dependencies": {
"@morpho-org/blue-sdk": "workspace:^",
"@morpho-org/morpho-ts": "workspace:^",
"ethers": "^6.12.1",
"ethers-multicall-provider": "^6.3.0",
"ethers-types": "^3.17.1",
"rxjs": "^7.8.1"
},
"devDependencies": {
"@morpho-org/blue-sdk": "workspace:^",
"@morpho-org/morpho-test": "workspace:^",
"@morpho-org/morpho-ts": "workspace:^",
"@nomicfoundation/hardhat-ethers": "^3.0.6",
"@nomicfoundation/hardhat-network-helpers": "^1.0.11",
"@types/chai": "^4.3.14",
Expand All @@ -44,11 +44,7 @@
},
"peerDependencies": {
"@morpho-org/blue-sdk": "workspace:^",
"@morpho-org/morpho-ts": "workspace:^",
"ethers": "^6.12.1",
"ethers-multicall-provider": "^6.3.0",
"ethers-types": "^3.17.1",
"rxjs": "^7.8.1"
"@morpho-org/morpho-ts": "workspace:^"
},
"publishConfig": {
"access": "public"
Expand Down
4 changes: 2 additions & 2 deletions packages/blue-sdk-viem/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
"test": "hardhat test"
},
"dependencies": {
"@morpho-org/blue-sdk": "workspace:^",
"@morpho-org/morpho-ts": "workspace:^",
"viem": "^2.17.4"
},
"devDependencies": {
"@morpho-org/blue-sdk": "workspace:^",
"@morpho-org/morpho-test": "workspace:^",
"@morpho-org/morpho-ts": "workspace:^",
"@nomicfoundation/hardhat-network-helpers": "^1.0.11",
"@nomicfoundation/hardhat-viem": "^2.0.3",
"@types/chai": "^4.3.14",
Expand Down
5 changes: 4 additions & 1 deletion packages/blue-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,20 @@
"test": "jest"
},
"dependencies": {
"@morpho-org/morpho-ts": "workspace:^",
"keccak256": "^1.0.6"
},
"devDependencies": {
"@morpho-org/morpho-test": "workspace:^",
"@morpho-org/morpho-ts": "workspace:^",
"@types/jest": "^29.5.12",
"@types/node": "^22.0.0",
"jest": "^29.7.0",
"ts-jest": "^29.2.2",
"typescript": "^5.4.5"
},
"peerDependencies": {
"@morpho-org/morpho-ts": "workspace:^"
},
"publishConfig": {
"access": "public"
},
Expand Down
10 changes: 6 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2668,6 +2668,10 @@ __metadata:
graphql: "npm:^16.8.1"
graphql-tag: "npm:^2.12.6"
typescript: "npm:^5.4.5"
peerDependencies:
"@morpho-org/blue-sdk": "workspace:^"
"@morpho-org/blue-sdk-ethers": "workspace:^"
"@morpho-org/morpho-ts": "workspace:^"
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -2703,10 +2707,6 @@ __metadata:
peerDependencies:
"@morpho-org/blue-sdk": "workspace:^"
"@morpho-org/morpho-ts": "workspace:^"
ethers: ^6.12.1
ethers-multicall-provider: ^6.3.0
ethers-types: ^3.17.1
rxjs: ^7.8.1
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -2752,6 +2752,8 @@ __metadata:
keccak256: "npm:^1.0.6"
ts-jest: "npm:^29.2.2"
typescript: "npm:^5.4.5"
peerDependencies:
"@morpho-org/morpho-ts": "workspace:^"
languageName: unknown
linkType: soft

Expand Down

0 comments on commit d43f704

Please sign in to comment.