Skip to content
This repository was archived by the owner on Oct 13, 2020. It is now read-only.

Commit 83eaa9c

Browse files
committed
build(deps): update all dependencies
- update all dependencies to the latest versions - fix issues with types with `@octokit/rest` - update dependabot to use `build` for the prefix as `chore` is no longer valid [ch8743]
1 parent 593f33e commit 83eaa9c

File tree

4 files changed

+505
-481
lines changed

4 files changed

+505
-481
lines changed

.dependabot/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ update_configs:
77
default_labels:
88
- '🤖 Dependency update'
99
commit_message:
10-
prefix: 'chore'
10+
prefix: 'build'
1111
include_scope: true

package.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -48,35 +48,35 @@
4848
"dependencies": {
4949
"@actions/core": "^1.2.2",
5050
"@actions/github": "^2.1.0",
51-
"@octokit/core": "^2.2.0",
52-
"@octokit/rest": "^16.39.0"
51+
"@octokit/core": "^2.4.0",
52+
"@octokit/rest": "^16.43.1"
5353
},
5454
"devDependencies": {
55-
"@attest/config-babel-preset-env-node": "^0.1.17",
56-
"@attest/config-babel-preset-jest": "^0.1.17",
57-
"@attest/config-babel-preset-typescript": "^0.1.1",
58-
"@attest/config-jest": "^0.3.13",
59-
"@attest/config-npm-package-json-lint": "^0.2.6",
55+
"@attest/config-babel-preset-env-node": "^0.1.19",
56+
"@attest/config-babel-preset-jest": "^0.1.19",
57+
"@attest/config-babel-preset-typescript": "^0.2.0",
58+
"@attest/config-jest": "^0.3.17",
59+
"@attest/config-npm-package-json-lint": "^0.2.7",
6060
"@attest/config-prettier": "^0.3.1",
61-
"@attest/config-rollup-typescript": "^0.1.34",
61+
"@attest/config-rollup-typescript": "^0.1.41",
6262
"@attest/config-typescript": "^1.0.5",
63-
"@attest/conventional-changelog": "^0.1.15",
64-
"@attest/eslint-config": "^0.1.1",
63+
"@attest/conventional-changelog": "^0.1.17",
64+
"@attest/eslint-config": "^0.2.0",
6565
"@attest/eslint-config-node": "^0.1.0",
66-
"@attest/eslint-config-typescript": "^0.1.4",
67-
"@attest/generate-codeowners": "^0.1.3",
68-
"@attest/standard-commits": "^0.1.29",
69-
"@babel/core": "^7.8.3",
66+
"@attest/eslint-config-typescript": "^0.1.10",
67+
"@attest/generate-codeowners": "^0.1.5",
68+
"@attest/standard-commits": "^0.1.31",
69+
"@babel/core": "^7.8.4",
7070
"@semantic-release/changelog": "^5.0.0",
71-
"@semantic-release/commit-analyzer": "^8.0.0",
71+
"@semantic-release/commit-analyzer": "^8.0.1",
7272
"@semantic-release/git": "^9.0.0",
73-
"@semantic-release/github": "^6.0.2",
73+
"@semantic-release/github": "^7.0.3",
7474
"@semantic-release/release-notes-generator": "^9.0.0",
75-
"husky": "^4.2.1",
76-
"lint-staged": "^10.0.3",
75+
"husky": "^4.2.3",
76+
"lint-staged": "^10.0.7",
7777
"npm-run-all": "^4.1.5",
78-
"rimraf": "^3.0.1",
79-
"semantic-release": "^17.0.0",
78+
"rimraf": "^3.0.2",
79+
"semantic-release": "^17.0.3",
8080
"typescript": "^3.7.5"
8181
},
8282
"optionalDependencies": {

src/github.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Annotations } from '@/annotations'
2-
import { ChecksCreateResponse, ChecksUpdateParamsOutputAnnotations } from '@octokit/rest'
32
import { Context } from '@actions/github/lib/context'
3+
import { Octokit } from '@octokit/rest'
44
import github from '@actions/github'
55

66
export class Github {
@@ -9,7 +9,7 @@ export class Github {
99
private readonly owner: string
1010
private readonly repo: string
1111
private readonly sha: string
12-
private check: ChecksCreateResponse | null = null
12+
private check: Octokit.ChecksCreateResponse | null = null
1313

1414
public constructor(token: string) {
1515
this.client = new github.GitHub({
@@ -23,7 +23,7 @@ export class Github {
2323

2424
private static githubAnnotationFromAnnotation(
2525
annotations: Annotations,
26-
): ChecksUpdateParamsOutputAnnotations[] {
26+
): Octokit.ChecksUpdateParamsOutputAnnotations[] {
2727
return annotations.map(annotation => {
2828
const { level, message, path, column = {}, line = {} } = annotation
2929

0 commit comments

Comments
 (0)