From 615edf6961d9479030bc71c353f2a7c1b1f9cb32 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 15 Jun 2023 09:43:04 -0700
Subject: [PATCH] chore(deps): update dependency @octokit/tsconfig to v2 (#308)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@octokit/tsconfig](https://togithub.com/octokit/tsconfig) | [`^1.0.2`
->
`^2.0.0`](https://renovatebot.com/diffs/npm/@octokit%2ftsconfig/1.0.2/2.0.0)
|
[![age](https://badges.renovateapi.com/packages/npm/@octokit%2ftsconfig/2.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@octokit%2ftsconfig/2.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@octokit%2ftsconfig/2.0.0/compatibility-slim/1.0.2)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@octokit%2ftsconfig/2.0.0/confidence-slim/1.0.2)](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
octokit/tsconfig
###
[`v2.0.0`](https://togithub.com/octokit/tsconfig/releases/tag/v2.0.0)
[Compare
Source](https://togithub.com/octokit/tsconfig/compare/v1.0.2...v2.0.0)
##### Features
- add `verbatimModuleSyntax` compiler option
([#15](https://togithub.com/octokit/tsconfig/issues/15))
([6341002](https://togithub.com/octokit/tsconfig/commit/63410020586909187c451e9a2dd7a3aff50c12f2))
##### BREAKING CHANGES
- this will throw errors during Typescript compilation when types are
not imported using the `import type` keywords.
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
â™» **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/octokit/rest.js).
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Keegan Campbell
---
package-lock.json | 40 +++++++++++++++++++++++++++++++++-------
package.json | 11 +++++++++--
test/tsconfig.test.json | 9 +++++++++
tsconfig.json | 4 +++-
4 files changed, 54 insertions(+), 10 deletions(-)
create mode 100644 test/tsconfig.test.json
diff --git a/package-lock.json b/package-lock.json
index 1f42521b..30acc296 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -19,7 +19,7 @@
"@octokit/auth-app": "^4.0.13",
"@octokit/fixtures-server": "^7.0.0",
"@octokit/request": "^6.2.5",
- "@octokit/tsconfig": "^1.0.2",
+ "@octokit/tsconfig": "^2.0.0",
"@types/jest": "^29.0.0",
"@types/node": "^18.0.0",
"esbuild": "^0.18.0",
@@ -2029,6 +2029,11 @@
"@octokit/core": ">=4"
}
},
+ "node_modules/@octokit/plugin-paginate-rest/node_modules/@octokit/tsconfig": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/@octokit/tsconfig/-/tsconfig-1.0.2.tgz",
+ "integrity": "sha512-I0vDR0rdtP8p2lGMzvsJzbhdOWy405HcGovrspJ8RRibHnyRgggUSNO5AIox5LmqiwmatHKYsvj6VGFHkqS7lA=="
+ },
"node_modules/@octokit/plugin-request-log": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/@octokit/plugin-request-log/-/plugin-request-log-1.0.4.tgz",
@@ -2113,9 +2118,10 @@
}
},
"node_modules/@octokit/tsconfig": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/@octokit/tsconfig/-/tsconfig-1.0.2.tgz",
- "integrity": "sha512-I0vDR0rdtP8p2lGMzvsJzbhdOWy405HcGovrspJ8RRibHnyRgggUSNO5AIox5LmqiwmatHKYsvj6VGFHkqS7lA=="
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/@octokit/tsconfig/-/tsconfig-2.0.0.tgz",
+ "integrity": "sha512-tWnrai3quGt8+gRN2edzo9fmraWekeryXPeXDomMw2oFSpu/lH3VSWGn/q4V+rwjTRMeeXk/ci623/01Zet4VQ==",
+ "dev": true
},
"node_modules/@octokit/types": {
"version": "9.3.1",
@@ -2275,6 +2281,12 @@
"@octokit/core": ">=4"
}
},
+ "node_modules/@semantic-release/github/node_modules/@octokit/tsconfig": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/@octokit/tsconfig/-/tsconfig-1.0.2.tgz",
+ "integrity": "sha512-I0vDR0rdtP8p2lGMzvsJzbhdOWy405HcGovrspJ8RRibHnyRgggUSNO5AIox5LmqiwmatHKYsvj6VGFHkqS7lA==",
+ "dev": true
+ },
"node_modules/@semantic-release/github/node_modules/debug": {
"version": "4.3.4",
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
@@ -15518,6 +15530,13 @@
"requires": {
"@octokit/tsconfig": "^1.0.2",
"@octokit/types": "^9.2.3"
+ },
+ "dependencies": {
+ "@octokit/tsconfig": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/@octokit/tsconfig/-/tsconfig-1.0.2.tgz",
+ "integrity": "sha512-I0vDR0rdtP8p2lGMzvsJzbhdOWy405HcGovrspJ8RRibHnyRgggUSNO5AIox5LmqiwmatHKYsvj6VGFHkqS7lA=="
+ }
}
},
"@octokit/plugin-request-log": {
@@ -15578,9 +15597,10 @@
}
},
"@octokit/tsconfig": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/@octokit/tsconfig/-/tsconfig-1.0.2.tgz",
- "integrity": "sha512-I0vDR0rdtP8p2lGMzvsJzbhdOWy405HcGovrspJ8RRibHnyRgggUSNO5AIox5LmqiwmatHKYsvj6VGFHkqS7lA=="
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/@octokit/tsconfig/-/tsconfig-2.0.0.tgz",
+ "integrity": "sha512-tWnrai3quGt8+gRN2edzo9fmraWekeryXPeXDomMw2oFSpu/lH3VSWGn/q4V+rwjTRMeeXk/ci623/01Zet4VQ==",
+ "dev": true
},
"@octokit/types": {
"version": "9.3.1",
@@ -15703,6 +15723,12 @@
"@octokit/types": "^9.3.1"
}
},
+ "@octokit/tsconfig": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/@octokit/tsconfig/-/tsconfig-1.0.2.tgz",
+ "integrity": "sha512-I0vDR0rdtP8p2lGMzvsJzbhdOWy405HcGovrspJ8RRibHnyRgggUSNO5AIox5LmqiwmatHKYsvj6VGFHkqS7lA==",
+ "dev": true
+ },
"debug": {
"version": "4.3.4",
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
diff --git a/package.json b/package.json
index 14d98206..30736a8a 100644
--- a/package.json
+++ b/package.json
@@ -42,7 +42,7 @@
"@octokit/auth-app": "^4.0.13",
"@octokit/fixtures-server": "^7.0.0",
"@octokit/request": "^6.2.5",
- "@octokit/tsconfig": "^1.0.2",
+ "@octokit/tsconfig": "^2.0.0",
"@types/jest": "^29.0.0",
"@types/node": "^18.0.0",
"esbuild": "^0.18.0",
@@ -67,7 +67,14 @@
},
"license": "MIT",
"jest": {
- "preset": "ts-jest",
+ "transform": {
+ "^.+\\.(ts|tsx)$": [
+ "ts-jest",
+ {
+ "tsconfig": "test/tsconfig.test.json"
+ }
+ ]
+ },
"testPathIgnorePatterns": [
"/docs/"
],
diff --git a/test/tsconfig.test.json b/test/tsconfig.test.json
new file mode 100644
index 00000000..b0961e18
--- /dev/null
+++ b/test/tsconfig.test.json
@@ -0,0 +1,9 @@
+{
+ "extends": "../tsconfig.json",
+ "compilerOptions": {
+ "emitDeclarationOnly": false,
+ "noEmit": true,
+ "verbatimModuleSyntax": false
+ },
+ "include": ["src/**/*"]
+}
diff --git a/tsconfig.json b/tsconfig.json
index c684ab8d..8b076469 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -7,5 +7,7 @@
"emitDeclarationOnly": true,
"sourceMap": true
},
- "include": ["src/**/*"]
+ "include": [
+ "src/**/*"
+ ]
}