From ec35082042d53477bd845cf22dc20d02b67c1775 Mon Sep 17 00:00:00 2001 From: ryley-o <30364988+ryley-o@users.noreply.github.com> Date: Wed, 25 Sep 2024 08:03:43 -0700 Subject: [PATCH] clean up scripts and configs --- .../{ => deprecated}/arbitrum-sepolia-staging.json | 0 config/{ => deprecated}/palm-testnet.json | 0 config/{ => deprecated}/palm.json | 0 package.json | 13 +++---------- 4 files changed, 3 insertions(+), 10 deletions(-) rename config/{ => deprecated}/arbitrum-sepolia-staging.json (100%) rename config/{ => deprecated}/palm-testnet.json (100%) rename config/{ => deprecated}/palm.json (100%) diff --git a/config/arbitrum-sepolia-staging.json b/config/deprecated/arbitrum-sepolia-staging.json similarity index 100% rename from config/arbitrum-sepolia-staging.json rename to config/deprecated/arbitrum-sepolia-staging.json diff --git a/config/palm-testnet.json b/config/deprecated/palm-testnet.json similarity index 100% rename from config/palm-testnet.json rename to config/deprecated/palm-testnet.json diff --git a/config/palm.json b/config/deprecated/palm.json similarity index 100% rename from config/palm.json rename to config/deprecated/palm.json diff --git a/package.json b/package.json index ff25c357..6401a084 100644 --- a/package.json +++ b/package.json @@ -9,27 +9,20 @@ "test:e2e:ci": "cd tests/e2e && GRAPH_NODE_BASE_IMAGE=graphprotocol/graph-node:latest docker compose -f docker-compose.yml -f docker-compose.ci.yml up --exit-code-from runner", "run:local": "cd tests/e2e && GRAPH_NODE_BASE_IMAGE=graph-node:latest docker compose -f docker-compose.yml -f docker-compose.local.yml up", "coverage": "graph test -- -c", - "deploy:mainnet-hosted": "yarn prepare:mainnet && graph deploy --product hosted-service --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ artblocks/art-blocks", - "deploy:mainnet-with-secondary-hosted": "yarn prepare:mainnet-with-secondary && graph deploy --product hosted-service --ac --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ artblocks/art-blocks-with-secondary", "deploy:studio": "yarn prepare:mainnet && graph deploy --studio art-blocks", "deploy:studio-base": "yarn prepare:base && graph deploy --studio art-blocks-base", - "deploy:studio-with-secondary": "yarn prepare:mainnet-with-secondary && graph deploy --studio art-blocks-with-secondary", - "deploy:sepolia-dev": "yarn prepare:sepolia-dev && graph deploy --studio art-blocks-dev-sepolia", - "deploy:sepolia-staging": "yarn prepare:sepolia-staging && graph deploy --studio art-blocks-staging-sepolia", - "deploy:arbitrum-sepolia-staging": "yarn prepare:arbitrum-sepolia-staging && graph deploy --product hosted-service artblocks/art-blocks-staging-arb-sepolia", - "deploy:arbitrum-one": "yarn prepare:arbitrum-one && graph deploy --product hosted-service --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ artblocks/art-blocks-arbitrum", + "deploy:studio-sepolia-dev": "yarn prepare:sepolia-dev && graph deploy --studio art-blocks-dev-sepolia", + "deploy:studio-sepolia-staging": "yarn prepare:sepolia-staging && graph deploy --studio art-blocks-staging-sepolia", + "deploy:studio-arbitrum-one": "yarn prepare:arbitrum-one && graph deploy --studio art-blocks-arbitrum", "create:local": "graph create --node http://localhost:8020/ artblocks/art-blocks", "remove:local": "graph remove --node http://localhost:8020/ artblocks/art-blocks", "deploy:local": "graph deploy --node http://localhost:8020/ --ipfs http://localhost:5001 artblocks/art-blocks", "prepare:mainnet": "yarn codegen:generic && mustache config/mainnet.json subgraph.template.yaml > subgraph.yaml", - "prepare:mainnet-with-secondary": "yarn codegen:generic && mustache config/mainnet-with-secondary.json subgraph.template.yaml > subgraph.yaml", "prepare:sepolia-staging": "yarn codegen:generic && mustache config/sepolia-staging.json subgraph.template.yaml > subgraph.yaml", "prepare:sepolia-dev": "yarn codegen:generic && mustache config/sepolia-dev.json subgraph.template.yaml > subgraph.yaml", "prepare:arbitrum-sepolia-staging": "yarn codegen:generic && mustache config/arbitrum-sepolia-staging.json subgraph.template.yaml > subgraph.yaml", "prepare:arbitrum-one": "yarn codegen:generic && mustache config/arbitrum-one.json subgraph.template.yaml > subgraph.yaml", "prepare:base": "yarn codegen:generic && mustache config/base.json subgraph.template.yaml > subgraph.yaml", - "prepare:palm": "yarn codegen:generic && mustache config/palm.json subgraph.template.yaml > subgraph.yaml", - "prepare:palm-testnet": "yarn codegen:generic && mustache config/palm-testnet.json subgraph.template.yaml > subgraph.yaml", "prepare:local": "yarn codegen:generic && mustache config/local.json subgraph.template.yaml > subgraph.yaml", "prepare:generic": "yarn codegen:generic", "codegen:generic": "yarn generate:abis && mkdir -p ./generated && rm -r ./generated && mustache config/generic.json subgraph.template.yaml > subgraph.yaml && graph codegen",