From b600524c8cea876f9c3bd5b19094c03967476ace Mon Sep 17 00:00:00 2001 From: Nabarun Gogoi Date: Thu, 10 Aug 2023 09:58:50 +0530 Subject: [PATCH] Fix dependencies in cli and eth-client packages (#401) * Fix dependencies in cli and eth-client packages * Upgrade package versions --- lerna.json | 2 +- packages/cache/package.json | 2 +- packages/cli/package.json | 12 +++++++++--- packages/codegen/package.json | 4 ++-- .../src/templates/package-template.handlebars | 10 +++++----- packages/graph-node/package.json | 10 +++++----- packages/ipld-eth-client/package.json | 4 ++-- packages/peer/package.json | 2 +- packages/rpc-eth-client/package.json | 17 ++++++++--------- packages/solidity-mapper/package.json | 4 ++-- packages/test/package.json | 2 +- packages/tracing-client/package.json | 2 +- packages/util/package.json | 6 +++--- 13 files changed, 41 insertions(+), 36 deletions(-) diff --git a/lerna.json b/lerna.json index 57478ded..09c99665 100644 --- a/lerna.json +++ b/lerna.json @@ -2,7 +2,7 @@ "packages": [ "packages/*" ], - "version": "0.2.51", + "version": "0.2.52", "npmClient": "yarn", "useWorkspaces": true, "command": { diff --git a/packages/cache/package.json b/packages/cache/package.json index bb334720..4141e048 100644 --- a/packages/cache/package.json +++ b/packages/cache/package.json @@ -1,6 +1,6 @@ { "name": "@cerc-io/cache", - "version": "0.2.51", + "version": "0.2.52", "description": "Generic object cache", "main": "dist/index.js", "scripts": { diff --git a/packages/cli/package.json b/packages/cli/package.json index b7c9fe55..4a100f89 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@cerc-io/cli", - "version": "0.2.51", + "version": "0.2.52", "main": "dist/index.js", "license": "AGPL-3.0", "scripts": { @@ -11,16 +11,22 @@ "chat": "DEBUG='vulcanize:*, laconic:*' node dist/chat.js" }, "dependencies": { - "@cerc-io/peer": "^0.2.51", - "@cerc-io/util": "^0.2.51", + "@apollo/client": "^3.7.1", + "@cerc-io/cache": "^0.2.52", + "@cerc-io/ipld-eth-client": "^0.2.52", + "@cerc-io/peer": "^0.2.52", + "@cerc-io/rpc-eth-client": "^0.2.52", + "@cerc-io/util": "^0.2.52", "@ethersproject/providers": "^5.4.4", "@graphql-tools/utils": "^9.1.1", "@ipld/dag-cbor": "^8.0.0", "@libp2p/interface-peer-id": "^2.0.0", "apollo-server-express": "^3.11.1", "debug": "^4.3.1", + "ethers": "^5.4.4", "express": "^4.18.2", "graphql-subscriptions": "^2.0.0", + "lodash": "^4.17.21", "pluralize": "^8.0.0", "reflect-metadata": "^0.1.13", "typeorm": "0.2.37", diff --git a/packages/codegen/package.json b/packages/codegen/package.json index 516b1c95..de434673 100644 --- a/packages/codegen/package.json +++ b/packages/codegen/package.json @@ -1,6 +1,6 @@ { "name": "@cerc-io/codegen", - "version": "0.2.51", + "version": "0.2.52", "description": "Code generator", "private": true, "main": "index.js", @@ -20,7 +20,7 @@ }, "homepage": "https://github.com/cerc-io/watcher-ts#readme", "dependencies": { - "@cerc-io/util": "^0.2.51", + "@cerc-io/util": "^0.2.52", "@graphql-tools/load-files": "^6.5.2", "@poanet/solidity-flattener": "https://github.com/vulcanize/solidity-flattener.git", "@solidity-parser/parser": "^0.13.2", diff --git a/packages/codegen/src/templates/package-template.handlebars b/packages/codegen/src/templates/package-template.handlebars index cee6a8d6..4c0cd91a 100644 --- a/packages/codegen/src/templates/package-template.handlebars +++ b/packages/codegen/src/templates/package-template.handlebars @@ -41,12 +41,12 @@ "homepage": "https://github.com/cerc-io/watcher-ts#readme", "dependencies": { "@apollo/client": "^3.3.19", - "@cerc-io/cli": "^0.2.51", - "@cerc-io/ipld-eth-client": "^0.2.51", - "@cerc-io/solidity-mapper": "^0.2.51", - "@cerc-io/util": "^0.2.51", + "@cerc-io/cli": "^0.2.52", + "@cerc-io/ipld-eth-client": "^0.2.52", + "@cerc-io/solidity-mapper": "^0.2.52", + "@cerc-io/util": "^0.2.52", {{#if (subgraphPath)}} - "@cerc-io/graph-node": "^0.2.51", + "@cerc-io/graph-node": "^0.2.52", {{/if}} "@ethersproject/providers": "^5.4.4", "apollo-type-bigint": "^0.1.3", diff --git a/packages/graph-node/package.json b/packages/graph-node/package.json index d840f485..8e8c0370 100644 --- a/packages/graph-node/package.json +++ b/packages/graph-node/package.json @@ -1,10 +1,10 @@ { "name": "@cerc-io/graph-node", - "version": "0.2.51", + "version": "0.2.52", "main": "dist/index.js", "license": "AGPL-3.0", "devDependencies": { - "@cerc-io/solidity-mapper": "^0.2.51", + "@cerc-io/solidity-mapper": "^0.2.52", "@ethersproject/providers": "^5.4.4", "@graphprotocol/graph-ts": "^0.22.0", "@nomiclabs/hardhat-ethers": "^2.0.2", @@ -51,9 +51,9 @@ "dependencies": { "@apollo/client": "^3.3.19", "@cerc-io/assemblyscript": "0.19.10-watcher-ts-0.1.2", - "@cerc-io/cache": "^0.2.51", - "@cerc-io/ipld-eth-client": "^0.2.51", - "@cerc-io/util": "^0.2.51", + "@cerc-io/cache": "^0.2.52", + "@cerc-io/ipld-eth-client": "^0.2.52", + "@cerc-io/util": "^0.2.52", "@types/json-diff": "^0.5.2", "@types/yargs": "^17.0.0", "bn.js": "^4.11.9", diff --git a/packages/ipld-eth-client/package.json b/packages/ipld-eth-client/package.json index 7a5fd96f..f2460ee4 100644 --- a/packages/ipld-eth-client/package.json +++ b/packages/ipld-eth-client/package.json @@ -1,6 +1,6 @@ { "name": "@cerc-io/ipld-eth-client", - "version": "0.2.51", + "version": "0.2.52", "description": "IPLD ETH Client", "main": "dist/index.js", "scripts": { @@ -20,7 +20,7 @@ "homepage": "https://github.com/cerc-io/watcher-ts#readme", "dependencies": { "@apollo/client": "^3.7.1", - "@cerc-io/cache": "^0.2.51", + "@cerc-io/cache": "^0.2.52", "cross-fetch": "^3.1.4", "debug": "^4.3.1", "ethers": "^5.4.4", diff --git a/packages/peer/package.json b/packages/peer/package.json index 52fa44fc..b1fa8418 100644 --- a/packages/peer/package.json +++ b/packages/peer/package.json @@ -1,6 +1,6 @@ { "name": "@cerc-io/peer", - "version": "0.2.51", + "version": "0.2.52", "description": "libp2p module", "main": "dist/index.js", "exports": "./dist/index.js", diff --git a/packages/rpc-eth-client/package.json b/packages/rpc-eth-client/package.json index f69d15e2..53fbfa27 100644 --- a/packages/rpc-eth-client/package.json +++ b/packages/rpc-eth-client/package.json @@ -1,6 +1,6 @@ { "name": "@cerc-io/rpc-eth-client", - "version": "0.2.51", + "version": "0.2.52", "description": "RPC ETH Client", "main": "dist/index.js", "scripts": { @@ -19,18 +19,17 @@ }, "homepage": "https://github.com/cerc-io/watcher-ts#readme", "dependencies": { - "@cerc-io/cache": "^0.2.51", - "@cerc-io/ipld-eth-client": "^0.2.51", - "@cerc-io/util": "^0.2.51", - "cross-fetch": "^3.1.4", - "debug": "^4.3.1", + "@cerc-io/cache": "^0.2.52", + "@cerc-io/ipld-eth-client": "^0.2.52", + "@cerc-io/util": "^0.2.52", + "chai": "^4.3.4", "ethers": "^5.4.4", "left-pad": "^1.3.0", - "ws": "^8.11.0", - "zen-observable-ts": "^1.1.0" + "mocha": "^8.4.0" }, "devDependencies": { - "@types/ws": "^8.5.3", + "@types/chai": "^4.2.19", + "@types/mocha": "^8.2.2", "@typescript-eslint/eslint-plugin": "^5.47.1", "@typescript-eslint/parser": "^5.47.1", "eslint": "^8.35.0", diff --git a/packages/solidity-mapper/package.json b/packages/solidity-mapper/package.json index 74aa83f7..d28d3018 100644 --- a/packages/solidity-mapper/package.json +++ b/packages/solidity-mapper/package.json @@ -1,10 +1,10 @@ { "name": "@cerc-io/solidity-mapper", - "version": "0.2.51", + "version": "0.2.52", "main": "dist/index.js", "license": "AGPL-3.0", "devDependencies": { - "@cerc-io/ipld-eth-client": "^0.2.51", + "@cerc-io/ipld-eth-client": "^0.2.52", "@ethersproject/abi": "^5.3.0", "@nomiclabs/hardhat-ethers": "^2.0.2", "@nomiclabs/hardhat-waffle": "^2.0.1", diff --git a/packages/test/package.json b/packages/test/package.json index b8b7297e..34461d47 100644 --- a/packages/test/package.json +++ b/packages/test/package.json @@ -1,6 +1,6 @@ { "name": "@cerc-io/test", - "version": "0.2.51", + "version": "0.2.52", "main": "dist/index.js", "license": "AGPL-3.0", "private": true, diff --git a/packages/tracing-client/package.json b/packages/tracing-client/package.json index 576d1b4a..5f9be451 100644 --- a/packages/tracing-client/package.json +++ b/packages/tracing-client/package.json @@ -1,6 +1,6 @@ { "name": "@cerc-io/tracing-client", - "version": "0.2.51", + "version": "0.2.52", "description": "ETH VM tracing client", "main": "dist/index.js", "scripts": { diff --git a/packages/util/package.json b/packages/util/package.json index 48a72a3b..5d061590 100644 --- a/packages/util/package.json +++ b/packages/util/package.json @@ -1,12 +1,12 @@ { "name": "@cerc-io/util", - "version": "0.2.51", + "version": "0.2.52", "main": "dist/index.js", "license": "AGPL-3.0", "dependencies": { "@apollo/utils.keyvaluecache": "^1.0.1", "@cerc-io/nitro-client": "^0.1.5", - "@cerc-io/solidity-mapper": "^0.2.51", + "@cerc-io/solidity-mapper": "^0.2.52", "@cerc-io/ts-channel": "1.0.3-ts-nitro-0.1.1", "@ethersproject/providers": "^5.4.4", "@graphql-tools/schema": "^9.0.10", @@ -40,7 +40,7 @@ "yargs": "^17.0.1" }, "devDependencies": { - "@cerc-io/cache": "^0.2.51", + "@cerc-io/cache": "^0.2.52", "@nomiclabs/hardhat-waffle": "^2.0.1", "@types/express": "^4.17.14", "@types/fs-extra": "^9.0.11",