|
26 | 26 | }
|
27 | 27 | },
|
28 | 28 | "scripts": {
|
29 |
| - "build": "tsup", |
| 29 | + "build": "pnpm codegen:github && tsc --noEmit && tsup", |
| 30 | + "codegen:github": "graphql-codegen --config src/github/codegen.ts", |
30 | 31 | "format:check": "prettier --check \"**/*.{ts,tsx,md}\"",
|
31 | 32 | "format:fix": "prettier --write \"**/*.{ts,tsx,md}\"",
|
32 | 33 | "lint": "eslint . --max-warnings 0",
|
33 | 34 | "test": "jest",
|
34 |
| - "test:watch": "jest --watch" |
| 35 | + "test:watch": "jest --watch", |
| 36 | + "test:ci": "ts-node src/test/ci" |
35 | 37 | },
|
36 | 38 | "devDependencies": {
|
| 39 | + "@actions/github": "^6.0.0", |
37 | 40 | "@changesets/cli": "^2.27.7",
|
| 41 | + "@graphql-codegen/cli": "^5.0.2", |
| 42 | + "@graphql-codegen/import-types-preset": "^3.0.0", |
| 43 | + "@graphql-codegen/typescript": "^4.0.4", |
| 44 | + "@graphql-codegen/typescript-operations": "^4.0.4", |
| 45 | + "@octokit/core": "^6.1.2", |
| 46 | + "@octokit/graphql": "^8.1.1", |
| 47 | + "@octokit/graphql-schema": "^14.56.0", |
38 | 48 | "@types/eslint": "^8.56.5",
|
39 | 49 | "@types/jest": "^29.5.12",
|
40 | 50 | "@types/node": "^20.11.24",
|
41 | 51 | "@typescript-eslint/eslint-plugin": "^7.16.0",
|
42 | 52 | "@typescript-eslint/parser": "^7.16.0",
|
| 53 | + "dotenv": "^16.4.5", |
43 | 54 | "eslint": "^8.57.0",
|
44 | 55 | "eslint-config-prettier": "^9.1.0",
|
45 | 56 | "eslint-plugin-jest": "^28.6.0",
|
46 | 57 | "eslint-plugin-only-warn": "^1.1.0",
|
47 | 58 | "jest": "^29.7.0",
|
| 59 | + "pino": "^9.3.2", |
| 60 | + "pino-pretty": "^11.2.2", |
48 | 61 | "prettier": "^3.3.3",
|
49 | 62 | "ts-jest": "^29.2.0",
|
| 63 | + "ts-node": "^10.9.2", |
50 | 64 | "tsup": "^8.1.0",
|
51 | 65 | "typescript": "^5.3.3"
|
52 | 66 | },
|
|
0 commit comments