|
4 | 4 | "node": "18.16.0" |
5 | 5 | }, |
6 | 6 | "scripts": { |
7 | | - "dev": "concurrently \"next dev\" \"graphql-codegen --watch --config codegen.ts \" ", |
8 | | - "build": "next build", |
| 7 | + "dev": "run-s generate:pageindex dev:watch", |
| 8 | + "dev:watch": "concurrently \"next dev\" \"yarn graphql:codegen:watch\"", |
| 9 | + "build": "run-s generate:pageindex build:next", |
| 10 | + "build:next": "next build", |
9 | 11 | "start": "next start", |
10 | 12 | "lint": "run-p lint:format lint:js lint:css", |
11 | 13 | "lint:format": "prettier --check --no-error-on-unmatched-pattern ./{src,pages}/**/*.{js,jsx,ts,tsx,graphql,md,mdpart}", |
|
15 | 17 | "fix:format": "prettier --write --no-error-on-unmatched-pattern ./{src,pages}/**/*.{js,jsx,ts,tsx,graphql,md,mdpart}", |
16 | 18 | "fix:js": "eslint --fix {src,pages} --ext ts,tsx,js,jsx", |
17 | 19 | "fix:css": "stylelint src/**/*.css --fix", |
18 | | - "graphql:codegen": "graphql-codegen --config codegen.yml" |
| 20 | + "graphql:codegen": "graphql-codegen --config codegen.yml", |
| 21 | + "graphql:codegen:watch": "graphql-codegen --watch --config codegen.yml", |
| 22 | + "generate:pageindex": "node index-pages.mjs" |
19 | 23 | }, |
20 | 24 | "dependencies": { |
21 | 25 | "@apollo/client": "3.7.15", |
|
48 | 52 | "js-yaml": "4.1.0", |
49 | 53 | "lodash": "4.17.21", |
50 | 54 | "memoize-one": "6.0.0", |
51 | | - "next": "13.4.4", |
| 55 | + "next": "13.4.5", |
52 | 56 | "next-compose-plugins": "2.2.1", |
53 | 57 | "next-transpile-modules": "10.0.0", |
54 | | - "posthog-js": "1.66.1", |
| 58 | + "posthog-js": "1.68.1", |
55 | 59 | "raw-loader": "4.0.2", |
56 | 60 | "react": "18.2.0", |
57 | 61 | "react-dom": "18.2.0", |
|
72 | 76 | "@graphql-codegen/client-preset": "4.0.0", |
73 | 77 | "@pluralsh/eslint-config-typescript": "2.5.41", |
74 | 78 | "@pluralsh/stylelint-config": "1.1.3", |
75 | | - "@types/node": "20.2.5", |
| 79 | + "@types/node": "20.3.1", |
76 | 80 | "@types/react": "18.2.12", |
77 | 81 | "@types/react-dom": "18.2.5", |
78 | 82 | "@types/styled-components": "5.1.26", |
79 | 83 | "@typescript-eslint/eslint-plugin": "5.59.11", |
80 | | - "concurrently": "8.1.0", |
| 84 | + "concurrently": "8.2.0", |
81 | 85 | "eslint": "8.42.0", |
82 | | - "eslint-config-next": "13.4.4", |
| 86 | + "eslint-config-next": "13.4.5", |
83 | 87 | "eslint-config-prettier": "8.8.0", |
84 | 88 | "eslint-import-resolver-typescript": "3.5.5", |
85 | 89 | "eslint-plugin-import": "2.27.5", |
|
0 commit comments