|
1 | 1 | { |
2 | 2 | "name": "auto-merge-bot", |
3 | | - "version": "1.0.1", |
| 3 | + "version": "1.1.0", |
4 | 4 | "description": "Bot which enables or disable auto-merge", |
5 | 5 | "main": "src/index.ts", |
6 | 6 | "scripts": { |
7 | 7 | "start": "node dist", |
8 | 8 | "build": "ncc build --license LICENSE", |
9 | 9 | "test": "jest", |
10 | 10 | "fix": "eslint --fix 'src/**/*'", |
11 | | - "lint": "eslint 'src/**/*'" |
| 11 | + "lint": "eslint 'src/**/*'", |
| 12 | + "codegen": "graphql-codegen --config codegen.ts", |
| 13 | + "copy": "node scripts/copy-files.js", |
| 14 | + "postinstall": "npm-run-all codegen copy" |
12 | 15 | }, |
13 | 16 | "repository": { |
14 | 17 | "type": "git", |
|
25 | 28 | "@actions/github": "^6.0.0", |
26 | 29 | "@octokit/graphql": "^8.0.1", |
27 | 30 | "@octokit/graphql-schema": "^14.58.0", |
28 | | - "@octokit/webhooks-types": "^7.3.2" |
| 31 | + "@octokit/webhooks-types": "^7.4.0", |
| 32 | + "graphql": "^16.8.1" |
29 | 33 | }, |
30 | 34 | "devDependencies": { |
31 | 35 | "@eng-automation/js-style": "^2.3.0", |
| 36 | + "@graphql-codegen/cli": "5.0.2", |
| 37 | + "@graphql-codegen/typescript": "4.0.6", |
| 38 | + "@graphql-codegen/typescript-resolvers": "^4.0.6", |
32 | 39 | "@types/jest": "^29.5.12", |
33 | 40 | "@vercel/ncc": "^0.38.1", |
34 | 41 | "jest": "^29.7.0", |
35 | 42 | "jest-mock-extended": "^3.0.5", |
| 43 | + "npm-run-all": "^4.1.5", |
36 | 44 | "ts-jest": "^29.1.2", |
37 | | - "typescript": "^5.3.3" |
| 45 | + "typescript": "^5.4.3" |
38 | 46 | } |
39 | 47 | } |
0 commit comments