From e80aff4993c36663ac9fee6540e8c2c82f097f20 Mon Sep 17 00:00:00 2001 From: Matteo Manzi <33622899+matteoettam09@users.noreply.github.com> Date: Sun, 1 Dec 2024 06:49:48 -0500 Subject: [PATCH] readme typo, silence warning, bump dependency. (#32) * fix: readme typo * fix: the attribute is obsolete, it will be ignored, please remove it to avoid potential confusion * bump dependency, document docker * fix: lock * fix: manual lock sync * fix: manual lock sync --- .husky/pre-commit | 3 --- .prettierignore | 4 +++- README.md | 3 +-- docker-compose.yml | 3 ++- yarn.lock | 1 + 5 files changed, 7 insertions(+), 7 deletions(-) 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