From 2f21fce76421fff29ee69cbcd3af63aa2b06a935 Mon Sep 17 00:00:00 2001 From: David Kajpust Date: Sat, 22 Aug 2020 15:26:36 -0500 Subject: [PATCH] Set up staging testnet npm package --- package.json | 8 ++++---- yarn.lock | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 6a244c9b..7ee23da0 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "@graphprotocol/testnet-subgraph", + "name": "@graphprotocol/staging-testnet-subgraph", "version": "v0.5.0-testnet-phase1", "description": "Subgraph for the Graph Network", "repository": "https://github.com/graphprotocol/graph-network-subgraph", @@ -11,10 +11,10 @@ "deployment.json" ], "scripts": { - "prepublishOnly": "yarn && yarn build:ipfs", + "prepublishOnly": "yarn build:ipfs", "codegen": "graph codegen --output-dir src/types/", "build": "graph build", - "build:ipfs": "graph build --ipfs https://testnet.thegraph.com/ipfs/", + "build:ipfs": "yarn && yarn prepare:addresses:kovan && graph build --ipfs https://testnet.thegraph.com/ipfs/", "deploy-beta": "yarn prepare:kovan && graph deploy graphprotocol/graph-network-beta --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/", "deploy-phase1": "yarn prepare:rinkeby && graph deploy graphprotocol/graph-network-rinkeby --ipfs https://testnet.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/ && yarn build:ipfs", "deploy-testing": "yarn prepare:rinkeby && graph deploy davekaj/graph-network-rinkeby-practice --ipfs https://testnet.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/ && yarn build:ipfs", @@ -28,7 +28,7 @@ "prettier-write": "prettier --write '**/*.ts'" }, "devDependencies": { - "@graphprotocol/contracts": "^0.5.0-testnet-phase1", + "@graphprotocol/contracts": "0.4.10-testnet-phase1", "@graphprotocol/graph-cli": "^0.18.0", "@graphprotocol/graph-ts": "^0.18.1", "@types/node": "^14.0.13", diff --git a/yarn.lock b/yarn.lock index 11f21937..c486991c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -30,10 +30,10 @@ dependencies: regenerator-runtime "^0.13.4" -"@graphprotocol/contracts@^0.5.0-testnet-phase1": - version "0.5.0-testnet-phase1" - resolved "https://registry.npmjs.org/@graphprotocol/contracts/-/contracts-0.5.0-testnet-phase1.tgz#db457821ce9d849262d51d020b9564706808b7eb" - integrity sha512-Geph8Q71q9R1JQ4q6Ph7tF87yLnwDwDiIjw7he/KfRqwtcrseCmTJ0vFgRAhqD9mWszljj5BUt8qiDommUCkPQ== +"@graphprotocol/contracts@0.4.10-testnet-phase1": + version "0.4.10-testnet-phase1" + resolved "https://registry.yarnpkg.com/@graphprotocol/contracts/-/contracts-0.4.10-testnet-phase1.tgz#f42ced0ce0195aae7a49a0fa2c94a1c4e902bc47" + integrity sha512-I0xzBEF00rAbvak18QAT4fCMaGC19Uv+StZolpt6dxZQGyNjGpJa8mdyXOEFbJvgk5Qhn9mkMINkAkbGZtb1kw== "@graphprotocol/graph-cli@^0.18.0": version "0.18.0"