Skip to content

Commit

Permalink
chore(deps): update dependency @octokit/tsconfig to v2 (#568)
Browse files Browse the repository at this point in the history
Co-authored-by: Nick Floyd <139819+nickfloyd@users.noreply.github.com>
Co-authored-by: wolfy1339 <4595477+wolfy1339@users.noreply.github.com>
  • Loading branch information
3 people authored Jun 7, 2023
1 parent 69497a2 commit b4b25f6
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 12 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 9 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},
"devDependencies": {
"@octokit/auth": "^3.0.1",
"@octokit/tsconfig": "^1.0.2",
"@octokit/tsconfig": "^2.0.0",
"@types/fetch-mock": "^7.3.1",
"@types/jest": "^29.0.0",
"@types/lolex": "^5.1.0",
Expand All @@ -53,7 +53,14 @@
"typescript": "^5.0.0"
},
"jest": {
"preset": "ts-jest",
"transform": {
"^.+\\.(ts|tsx)$": [
"ts-jest",
{
"tsconfig": "test/tsconfig.test.json"
}
]
},
"coverageThreshold": {
"global": {
"statements": 100,
Expand Down
5 changes: 3 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import { getUserAgent } from "universal-user-agent";
import { Collection, HookCollection } from "before-after-hook";
import type { HookCollection } from "before-after-hook";
import { Collection } from "before-after-hook";
import { request } from "@octokit/request";
import { graphql, withCustomRequest } from "@octokit/graphql";
import { createTokenAuth } from "@octokit/auth-token";

import {
import type {
Constructor,
Hooks,
OctokitOptions,
Expand Down
2 changes: 1 addition & 1 deletion test/auth.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
createActionAuth,
createOAuthAppAuth,
} from "@octokit/auth";
import lolex, { Clock } from "lolex";
import lolex, { type Clock } from "lolex";

import { Octokit } from "../src";

Expand Down
11 changes: 11 additions & 0 deletions test/tsconfig.test.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"emitDeclarationOnly": false,
"noEmit": true,
"verbatimModuleSyntax": false
},
"include": [
"src/**/*"
]
}

0 comments on commit b4b25f6

Please sign in to comment.