Skip to content

Commit

Permalink
chore: script for prettier check
Browse files Browse the repository at this point in the history
  • Loading branch information
saihaj committed Jul 15, 2024
1 parent a969604 commit fefce4c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"prepare": "lerna run prepare",
"release": "./scripts/release.sh",
"format": "lerna --concurrency 1 run format --stream",
"format:check": "lerna --concurrency 1 run format:check --stream",
"lint": "lerna --concurrency 1 run lint --stream",
"test": "lerna --concurrency 1 run test --stream --ignore @graphprotocol/indexer-service",
"test:ci": "lerna --concurrency 1 run test:ci --stream --ignore @graphprotocol/indexer-service",
Expand Down
1 change: 1 addition & 0 deletions packages/indexer-agent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"private": false,
"scripts": {
"format": "prettier --write 'src/**/*.ts'",
"format:check": "prettier --check 'src/**/*.ts'",
"lint": "eslint . --ext .ts,.tsx --fix",
"compile": "tsc --build",
"prepare": "yarn format && yarn lint && yarn compile",
Expand Down
1 change: 1 addition & 0 deletions packages/indexer-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
},
"scripts": {
"format": "prettier --write 'src/**/*.ts'",
"format:check": "prettier --check 'src/**/*.ts'",
"lint": "eslint . --ext .ts,.tsx --fix",
"compile": "tsc --build",
"prepare": "yarn format && yarn lint && yarn compile",
Expand Down
1 change: 1 addition & 0 deletions packages/indexer-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"license": "MIT",
"scripts": {
"format": "prettier --write 'src/**/*.ts'",
"format:check": "prettier --check 'src/**/*.ts'",
"lint": "eslint . --ext .ts,.tsx --fix",
"compile": "tsc",
"prepare": "yarn format && yarn lint && yarn compile",
Expand Down
1 change: 1 addition & 0 deletions packages/indexer-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"publish-github": "node-pre-gyp-github publish --release",
"build-test-pack-publish": "yarn build-release && yarn test && yarn package && yarn publish-github-draft",
"format": "prettier --write 'lib/**/*.js'",
"format:check": "prettier --check 'lib/**/*.js'",
"lint": "eslint .",
"prepare": "yarn format && yarn lint",
"install": "yarn pull-or-build",
Expand Down
1 change: 1 addition & 0 deletions packages/indexer-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"private": false,
"scripts": {
"format": "prettier --write 'src/**/*.ts'",
"format:check": "prettier --check 'src/**/*.ts'",
"lint": "eslint . --ext .ts,.tsx --fix",
"compile": "tsc --build",
"prepare": "yarn format && yarn lint && yarn compile",
Expand Down

0 comments on commit fefce4c

Please sign in to comment.