Skip to content

Commit

Permalink
fix: added explicit dependencies between nftx packages
Browse files Browse the repository at this point in the history
  • Loading branch information
jackmellis committed Jan 11, 2023
1 parent 9d33d4f commit 3e0dd33
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 33 deletions.
14 changes: 5 additions & 9 deletions packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,16 @@
"build": "rm -rf dist && rollup -c && tsc -d --outDir dist/ts --emitDeclarationOnly",
"prepublishOnly": "yarn build"
},
"dependencies": {
"@nftx/config": "^0.3.0",
"@nftx/types": "^0.3.0"
},
"peerDependencies": {
"@ethersproject/bignumber": "^5.6.0",
"@nftx/config": "<1.0.0",
"@nftx/types": "<1.0.0"
"@ethersproject/bignumber": "^5.6.0"
},
"devDependencies": {
"@ethersproject/bignumber": "^5.6.0"
},
"nx": {
"implicitDependencies": [
"@nftx/types",
"@nftx/config"
]
},
"bugs": {
"url": "https://github.com/NFTX-project/nftxjs/issues"
},
Expand Down
9 changes: 1 addition & 8 deletions packages/config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,12 @@
"prepublishOnly": "yarn build",
"docs": "jsdoc -c ../../jsdoc.js src"
},
"peerDependencies": {
"@nftx/constants": "<1.0.0"
},
"bugs": {
"url": "https://github.com/NFTX-project/nftxjs/issues"
},
"sideEffects": false,
"dependencies": {
"@nftx/constants": "^0.3.0",
"deepmerge": "^4.2.2"
},
"nx": {
"implicitDependencies": [
"@nftx/constants"
]
}
}
12 changes: 7 additions & 5 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,15 @@
"@ethersproject/constants": "^5.6.0",
"@ethersproject/providers": "^5.6.2",
"@ethersproject/units": "^5.6.0",
"@nftx/config": "<1.0.0",
"@nftx/constants": "<1.0.0",
"@nftx/subgraph": "<1.0.0",
"@nftx/types": "<1.0.0",
"@nftx/utils": "<1.0.0",
"ethers": "^5.6.2"
},
"dependencies": {
"@nftx/config": "^0.3.0",
"@nftx/constants": "^0.3.0",
"@nftx/subgraph": "^0.3.0",
"@nftx/types": "^0.3.0",
"@nftx/utils": "^0.3.0"
},
"devDependencies": {
"@ethersproject/abi": "^5.6.0",
"@ethersproject/bignumber": "^5.6.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/subgraph/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
"url": "https://github.com/NFTX-project/nftxjs/issues"
},
"sideEffects": false,
"peerDependencies": {
"@nftx/config": "<1.0.0",
"@nftx/constants": "<1.0.0"
"dependencies": {
"@nftx/config": "^0.3.0",
"@nftx/constants": "^0.3.0"
}
}
10 changes: 6 additions & 4 deletions packages/trade/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,14 @@
"@ethersproject/contracts": "^5.6.0",
"@ethersproject/providers": "^5.6.2",
"@ethersproject/units": "^5.6.0",
"@nftx/config": "<1.0.0",
"@nftx/constants": "<1.0.0",
"@nftx/types": "<1.0.0",
"@nftx/utils": "<1.0.0",
"ethers": "^5.6.2"
},
"dependencies": {
"@nftx/config": "^0.3.0",
"@nftx/constants": "^0.3.0",
"@nftx/types": "^0.3.0",
"@nftx/utils": "^0.3.0"
},
"devDependencies": {
"@ethersproject/abi": "^5.6.0",
"@ethersproject/bignumber": "^5.6.0",
Expand Down
8 changes: 4 additions & 4 deletions packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@
"@ethersproject/contracts": "^5.6.0",
"@ethersproject/providers": "^5.6.2",
"@ethersproject/units": "^5.6.0",
"@nftx/config": "<1.0.0",
"@nftx/constants": "<1.0.0",
"@nftx/subgraph": "<1.0.0",
"@nftx/types": "<1.0.0",
"ethers": "^5.6.2"
},
"devDependencies": {
Expand All @@ -51,6 +47,10 @@
},
"sideEffects": false,
"dependencies": {
"@nftx/config": "^0.3.0",
"@nftx/constants": "^0.3.0",
"@nftx/subgraph": "^0.3.0",
"@nftx/types": "^0.3.0",
"keccak256": "^1.0.6",
"merkletreejs": "^0.2.32"
}
Expand Down

0 comments on commit 3e0dd33

Please sign in to comment.