Skip to content

Commit

Permalink
chore(deps): update dependency @octokit/tsconfig to v2 (#340)
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Jun 13, 2023
1 parent 635a93a commit 68e7ff9
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 11 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 @@ -27,7 +27,7 @@
"once": "^1.4.0"
},
"devDependencies": {
"@octokit/tsconfig": "^1.0.2",
"@octokit/tsconfig": "^2.0.0",
"@types/jest": "^29.0.0",
"@types/node": "^18.0.0",
"@types/once": "^1.4.0",
Expand All @@ -39,7 +39,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
2 changes: 1 addition & 1 deletion test/request-error.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { RequestError } from "../src";
import { RequestErrorOptions } from "../src/types";
import type { RequestErrorOptions } from "../src/types";

const mockOptions: RequestErrorOptions = {
request: {
Expand Down
9 changes: 9 additions & 0 deletions test/tsconfig.test.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"emitDeclarationOnly": false,
"noEmit": true,
"verbatimModuleSyntax": false
},
"include": ["src/**/*"]
}
4 changes: 3 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@
"emitDeclarationOnly": true,
"sourceMap": true
},
"include": ["src/**/*"]
"include": [
"src/**/*"
]
}

0 comments on commit 68e7ff9

Please sign in to comment.