Skip to content

Commit e5d6d74

Browse files
Merge pull request #428 from technote-space/release/next-v5.3.10
release: v5.3.11
2 parents c177c4b + e525e6c commit e5d6d74

File tree

5 files changed

+859
-590
lines changed

5 files changed

+859
-590
lines changed

package.json

Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@technote-space/github-action-helper",
3-
"version": "5.3.10",
3+
"version": "5.3.11",
44
"description": "Helper for GitHub Action.",
55
"keywords": [
66
"github",
@@ -45,31 +45,29 @@
4545
"dependencies": {
4646
"@actions/core": "^1.10.0",
4747
"@actions/github": "^5.1.1",
48-
"@octokit/openapi-types": "^14.0.0",
49-
"@octokit/plugin-rest-endpoint-methods": "^6.7.0",
50-
"@technote-space/github-action-log-helper": "^0.2.9",
48+
"@technote-space/github-action-log-helper": "^0.2.10",
5149
"shell-escape": "^0.2.0",
5250
"sprintf-js": "^1.1.2"
5351
},
5452
"devDependencies": {
55-
"@commitlint/cli": "^17.3.0",
56-
"@commitlint/config-conventional": "^17.3.0",
57-
"@rollup/plugin-typescript": "^10.0.1",
53+
"@commitlint/cli": "^17.4.4",
54+
"@commitlint/config-conventional": "^17.4.4",
55+
"@rollup/plugin-typescript": "^11.0.0",
5856
"@sindresorhus/tsconfig": "^3.0.1",
59-
"@technote-space/github-action-test-helper": "^0.11.1",
60-
"@types/node": "^18.11.9",
57+
"@technote-space/github-action-test-helper": "^0.11.2",
58+
"@types/node": "^18.14.0",
6159
"@types/shell-escape": "^0.2.1",
62-
"@typescript-eslint/eslint-plugin": "^5.45.0",
63-
"@typescript-eslint/parser": "^5.45.0",
64-
"@vitest/coverage-c8": "^0.25.3",
65-
"eslint": "^8.28.0",
66-
"eslint-plugin-import": "^2.26.0",
67-
"husky": "^8.0.2",
68-
"lint-staged": "^13.0.4",
69-
"nock": "^13.2.9",
70-
"rollup": "^3.5.0",
71-
"typescript": "^4.9.3",
72-
"vitest": "^0.25.3"
60+
"@typescript-eslint/eslint-plugin": "^5.53.0",
61+
"@typescript-eslint/parser": "^5.53.0",
62+
"@vitest/coverage-c8": "^0.28.5",
63+
"eslint": "^8.34.0",
64+
"eslint-plugin-import": "^2.27.5",
65+
"husky": "^8.0.3",
66+
"lint-staged": "^13.1.2",
67+
"nock": "^13.3.0",
68+
"rollup": "^3.17.2",
69+
"typescript": "^4.9.5",
70+
"vitest": "^0.28.5"
7371
},
7472
"publishConfig": {
7573
"access": "public"

src/api-helper.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
import type { Octokit } from './types.js';
1+
import type { Octokit, components } from './types.js';
22
import type { Context } from '@actions/github/lib/context.js';
3-
import type { components } from '@octokit/openapi-types';
43
import type { OctokitResponse } from '@octokit/types';
54
import type { Logger } from '@technote-space/github-action-log-helper';
65
import fs from 'fs';

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import type { Octokit } from './types.js';
1+
import type { Octokit, components } from './types.js';
22
import ApiHelper from './api-helper.js';
33
import Command from './command.js';
44
import GitHelper from './git-helper.js';
55

66
export * as Utils from './utils.js';
77
export * as ContextHelper from './context-helper.js';
88

9-
export type { Octokit };
9+
export type { Octokit, components };
1010
export { Command, ApiHelper, GitHelper };

src/types.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import type { GitHub } from '@actions/github/lib/utils.js';
2-
import type { RestEndpointMethods } from '@octokit/plugin-rest-endpoint-methods/dist-types/generated/method-types.js';
32

4-
export type Octokit = InstanceType<typeof GitHub> & {
5-
rest: RestEndpointMethods;
6-
};
3+
export type Octokit = InstanceType<typeof GitHub>;
4+
5+
export type { components } from '@octokit/openapi-types';

0 commit comments

Comments
 (0)