Skip to content

Commit 0d84417

Browse files
renovate[bot]kfcampbell
andauthoredJun 13, 2023
fix(deps): update dependency @octokit/tsconfig to v2 (#532)
* fix(deps): update dependency @octokit/tsconfig to v2 * Add test tsconfig * Add transform for jest --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Keegan Campbell <me@kfcampbell.com>
1 parent adbe3b9 commit 0d84417

File tree

3 files changed

+25
-9
lines changed

3 files changed

+25
-9
lines changed
 

‎package-lock.json

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+9-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
],
2626
"license": "MIT",
2727
"dependencies": {
28-
"@octokit/tsconfig": "^1.0.2",
28+
"@octokit/tsconfig": "^2.0.0",
2929
"@octokit/types": "^9.3.2"
3030
},
3131
"peerDependencies": {
@@ -49,7 +49,14 @@
4949
"typescript": "^5.0.0"
5050
},
5151
"jest": {
52-
"preset": "ts-jest",
52+
"transform": {
53+
"^.+\\.(ts|tsx)$": [
54+
"ts-jest",
55+
{
56+
"tsconfig": "test/tsconfig.test.json"
57+
}
58+
]
59+
},
5360
"coverageThreshold": {
5461
"global": {
5562
"statements": 100,

‎test/tsconfig.test.json

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"extends": "../tsconfig.json",
3+
"compilerOptions": {
4+
"emitDeclarationOnly": false,
5+
"noEmit": true,
6+
"verbatimModuleSyntax": false
7+
},
8+
"include": ["src/**/*"]
9+
}

0 commit comments

Comments
 (0)
Please sign in to comment.