Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up scripts and configs #316

Merged
merged 1 commit into from
Sep 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
File renamed without changes.
13 changes: 3 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Loading