|
1 | 1 | {
|
2 | 2 | "name": "the-graph-docs-monorepo",
|
3 | 3 | "private": true,
|
4 |
| - "packageManager": "pnpm@7.28.0", |
| 4 | + "packageManager": "pnpm@8.2.0", |
5 | 5 | "scripts": {
|
6 | 6 | "build": "pnpm -r build",
|
| 7 | + "check": "pnpm typecheck && pnpm lint && pnpm prettier:check", |
| 8 | + "check:fix": "pnpm typecheck; pnpm lint:fix; exit 0", |
7 | 9 | "dev": "pnpm --filter @graphprotocol/docs dev",
|
8 | 10 | "docker:build": "DOCKER_BUILDKIT=1 docker build . -t docs --no-cache",
|
9 | 11 | "docker:clean": "docker builder prune",
|
10 | 12 | "docker:up": "docker run --rm -it -p 3000:80 -v \"$(pwd)/nginx.conf:/etc/nginx/nginx.conf\" docs",
|
11 | 13 | "export": "pnpm --filter @graphprotocol/docs export",
|
12 |
| - "lint": "pnpm typecheck && eslint --ignore-path .gitignore --cache --ext .js,.jsx,.ts,.tsx,.mjs --max-warnings 0 . && pnpm prettier:check", |
13 |
| - "lint:fix": "pnpm typecheck && eslint --ignore-path .gitignore --cache --ext .js,.jsx,.ts,.tsx,.mjs --fix . && pnpm prettier", |
| 14 | + "lint": "eslint . --cache --ext .js,.jsx,.ts,.tsx,.mjs --ignore-path .gitignore --max-warnings 0", |
| 15 | + "lint:fix": "eslint . --cache --ext .js,.jsx,.ts,.tsx,.mjs --ignore-path .gitignore --fix && pnpm prettier", |
14 | 16 | "pre-commit": "lint-staged --concurrent false",
|
15 | 17 | "pre-push": "pnpm build",
|
16 | 18 | "prepare": "husky install && chmod +x .husky/*",
|
|
21 | 23 | },
|
22 | 24 | "devDependencies": {
|
23 | 25 | "@edgeandnode/eslint-config": "^1.3.1",
|
24 |
| - "eslint": "^8.36.0", |
| 26 | + "eslint": "^8.38.0", |
25 | 27 | "husky": "^8.0.3",
|
26 |
| - "lint-staged": "^13.2.0", |
27 |
| - "prettier": "^2.8.6", |
| 28 | + "lint-staged": "^13.2.1", |
| 29 | + "prettier": "^2.8.7", |
28 | 30 | "prettier-plugin-pkg": "^0.17.1",
|
29 |
| - "typescript": "5.0.2" |
| 31 | + "typescript": "5.0.4" |
30 | 32 | },
|
31 | 33 | "lint-staged": {
|
32 | 34 | "**/*.{js,jsx,ts,tsx,mjs,cjs}": "eslint --fix",
|
|
0 commit comments