Skip to content

Commit

Permalink
fix some package.json hardcoded wrong stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
sduchesneau committed Sep 1, 2024
1 parent 7a5b48c commit 3a1225b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions codegen/templates/subgraph/package.json.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
"license": "Apache-2.0",
"scripts": {
"codegen": "graph codegen",
"protogen": "buf generate --type=\"mydata.v1.MyData\" ../my-project-v0.1.0.spkg#format=bin; echo ''; echo '^^^ You can safely ignore warnings about \"non-conform Protobuf generation specification\": they come from the assemblyscript buf plugin'; echo ''",
"protogen": "buf generate --type=\"mydata.v1.MyData\" ../{{ .Name }}-v0.1.0.spkg#format=bin; echo ''; echo '^^^ You can safely ignore warnings about \"non-conform Protobuf generation specification\": they come from the assemblyscript buf plugin'; echo ''",
"build": "graph build",
"create-local": "graph create --node http://${LOCAL_GRAPH_NODE_HOSTNAME:-localhost}:8020/ {{ .Name }}",
"deploy-local": "graph deploy --node http://${LOCAL_GRAPH_NODE_HOSTNAME:-localhost}:8020/ --ipfs http://${LOCAL_IPFS_HOSTNAME:-localhost}:5001 {{ .Name }} --version-label=v0.0.1",
"deploy": "graph deploy --node https://api.studio.thegraph.com/deploy/ {{ .Name }}",
"publish": "graph publish",
"test": "graph test"
"remove-local": "graph remove --node http://${LOCAL_GRAPH_NODE_HOSTNAME:-localhost}:8020/ {{ .Name }}",
"test": "graph test",
"remove-local": "graph remove --node http://${LOCAL_GRAPH_NODE_HOSTNAME:-localhost}:8020/ {{ .Name }}"
},
"dependencies": {
"@graphprotocol/graph-cli": "^0.73.0",
Expand Down

0 comments on commit 3a1225b

Please sign in to comment.