Skip to content

Commit

Permalink
fix: README commands and add tsx files to prettier (#120)
Browse files Browse the repository at this point in the history
* fix: add tsx files to prettier lint

* fix: README commands
  • Loading branch information
dcroote authored Jan 21, 2025
1 parent c4bcbc7 commit e79c851
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ Developers can run some or all services locally using Docker Swarm, or even bare
One combination is running just postgres locally using Docker, eg:

```bash
docker run --rm -ti -p 5432:5432 postgres:15
docker run --rm -ti -p 5432:5432 -e POSTGRES_PASSWORD=postgres postgres:15
```

and then running the FE and BE services directly (refer to Cron jobs below and `yarn next dev` in `package.json`).
and then running the FE and BE services directly (refer to Cron jobs below and `yarn dev` in `package.json`).

Alternatively, one can run services using Docker Swarm, but this lacks hot-reloading.

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"ens:download": "API3TRACKER_ENDPOINT=${API3TRACKER_ENDPOINT:-`chainstate --endpoints -t alchemy,mainnet`} TS_NODE_PROJECT=./tsconfig.cli.json yarn ts-node -T cli.ts ens download",
"lint:eslint": "eslint --report-unused-disable-directives --ext .ts,.tsx --max-warnings 0 .",
"lint:next": "next lint",
"lint:prettier": "prettier --check \"./**/*.{ts,js,md,json}\"",
"lint:prettier": "prettier --check \"./**/*.{ts,tsx,js,md,json}\"",
"lint:tsc": "tsc --build .",
"lint": "yarn run lint:eslint && yarn run lint:next && yarn run lint:prettier && yarn run lint:tsc",
"logs:reset": "TS_NODE_PROJECT=./tsconfig.cli.json yarn ts-node -T cli.ts logs reset",
Expand Down

0 comments on commit e79c851

Please sign in to comment.