diff --git a/.husky/pre-commit b/.husky/pre-commit index 36af219..2312dc5 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - npx lint-staged diff --git a/.prettierignore b/.prettierignore index 2fb097e..684f49b 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,3 +1,5 @@ subgraph.template.yaml src/config.template.ts -tests/.latest.json \ No newline at end of file +tests/.latest.json +.prettierignore +yarn.lock \ No newline at end of file diff --git a/README.md b/README.md index be6c1b5..dff418c 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ yarn install ## Running a local instance of graph-node locally ```bash -yarn infra:strat +yarn infra:start ``` ## Deploying the subgraph locally @@ -59,7 +59,6 @@ yarn deploy-local # deploy the subgraph locally ```bash yarn test # run all tests -yarn test:graph # run only matchstick-as graph tests yarn test:lint # run prettier linter ``` diff --git a/docker-compose.yml b/docker-compose.yml index b5e7cfb..e70d02b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,4 +1,3 @@ -version: "3" services: postgres: image: postgres:14 @@ -42,6 +41,8 @@ services: graph-node: image: graphprotocol/graph-node + # Note, this image is not supported by M1 machines, see here for a workaround: + # https://github.com/graphprotocol/graph-node/tree/master/docker#running-graph-node-on-an-macbook-m1 ports: - "8000:8000" - "8001:8001" diff --git a/yarn.lock b/yarn.lock index 8dcccc6..c4078f4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3990,3 +3990,4 @@ yn@3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/yn/-/yn-3.1.1.tgz#1e87401a09d767c1d5eab26a6e4c185182d2eb50" integrity sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q== + \ No newline at end of file