Skip to content

Commit a53f09f

Browse files
authored
Merge pull request #56 from aave/fix/naming
fix/naming
2 parents fc61221 + a18078c commit a53f09f

8 files changed

Lines changed: 22 additions & 18 deletions

.env.test

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# you can get an access token from https://thegraph.com/explorer/dashboard
2-
ACCESS_TOKEN="<accesstoken>"
3-
# create a graph and copy its slug
4-
SLUG="<username>/<graphname>"
2+
ACCESS_TOKEN=<accesstoken>
3+
# create a graph and copy its slug, example: aave/protocol-v2
4+
SLUG=<username>/<graphname>

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
2-
"name": "subgraph-protocol-v2-v3",
2+
"name": "protocol-subgraphs",
33
"version": "1.0.0",
4-
"description": "This package contains subgraphs of the protocol v2 and v3",
4+
"description": "This package contains subgraphs of the Aave protocol v2 and v3",
55
"scripts": {
6-
"generate:schema": "cp ./schemas/${VERSION:-v2}.schema.graphql schema.graphql",
7-
"prepare:subgraph": "mustache ./config/${NETWORK}-${VERSION}.json ./templates/${BLOCKCHAIN:-ethereum}.subgraph.template.yaml > subgraph.yaml && rm -rf generated && npm run generate:schema && npm run subgraph:codegen && npm run subgraph:build",
6+
"generate:schema": "cp ./schemas/${VERSION}.schema.graphql schema.graphql",
7+
"prepare:subgraph": "mustache ./config/${NETWORK}-${VERSION}.json ./templates/${BLOCKCHAIN}.subgraph.template.yaml > subgraph.yaml && rm -rf generated && npm run generate:schema && npm run subgraph:codegen && npm run subgraph:build",
88
"subgraph:codegen": "graph codegen --output-dir ./generated",
99
"subgraph:build": "graph build",
1010
"subgraph:deploy:hosted": "graph deploy $SLUG --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/ --access-token $ACCESS_TOKEN",
@@ -31,7 +31,7 @@
3131
},
3232
"repository": {
3333
"type": "git",
34-
"url": "https://github.com/aave/protocol-v2-subgraph"
34+
"url": "https://github.com/aave/protocol-subgraphs"
3535
},
3636
"author": "AAVE <tech@aave.com>",
3737
"contributors": [
@@ -46,6 +46,10 @@
4646
{
4747
"name": "Andrey Kozlov",
4848
"email": "andrey@aave.com"
49+
},
50+
{
51+
"name": "Andrew Schmidt",
52+
"email": "andrew@aave.com"
4953
}
5054
],
5155
"license": "MIT",

templates/avalanche.subgraph.template.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
specVersion: 0.0.4
2-
description: Protocol v2 subgraph
3-
repository: https://github.com/aave/protocol-v2-subgraph
2+
description: Aave protocol subgraph
3+
repository: https://github.com/aave/protocol-subgraphs
44
schema:
55
file: ./schema.graphql
66
dataSources:

templates/ethereum-arc.subgraph.template.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
specVersion: 0.0.4
2-
description: Protocol v2 subgraph
3-
repository: https://github.com/aave/protocol-v2-subgraph
2+
description: Aave protocol subgraph
3+
repository: https://github.com/aave/protocol-subgraphs
44
schema:
55
file: ./schema.graphql
66
dataSources:

templates/ethereum.subgraph.template.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
specVersion: 0.0.4
2-
description: Protocol v2 subgraph
3-
repository: https://github.com/aave/protocol-v2-subgraph
2+
description: Aave protocol subgraph
3+
repository: https://github.com/aave/protocol-subgraphs
44
schema:
55
file: ./schema.graphql
66
dataSources:

templates/matic.subgraph.template.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
specVersion: 0.0.4
2-
description: Protocol v2 subgraph
3-
repository: https://github.com/aave/protocol-v2-subgraph
2+
description: Aave protocol subgraph
3+
repository: https://github.com/aave/protocol-subgraphs
44
schema:
55
file: ./schema.graphql
66
dataSources:

templates/v3.subgraph.template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
specVersion: 0.0.4
22
description: Protocol v3 subgraph
3-
repository: https://github.com/aave/protocol-v2-subgraph
3+
repository: https://github.com/aave/protocol-subgraphs
44
schema:
55
file: ./schema.graphql
66
dataSources:

0 commit comments

Comments
 (0)