From 2cf28883fe4e0818fd4d1e4b3f96d7b21b22a28d Mon Sep 17 00:00:00 2001 From: Octokit Bot Date: Mon, 18 Dec 2023 15:58:46 -0600 Subject: [PATCH] bump octokit/types (#700) * WIP octokit/openapi updated * Use .js in import for RestEndpointMethodTypes * npm run update-endpoints:types --------- Co-authored-by: Keegan Campbell --- package-lock.json | 16 ++++++++-------- package.json | 2 +- scripts/update-endpoints/types.mjs | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index 46e566f6d..c2dacaf43 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "0.0.0-development", "license": "MIT", "dependencies": { - "@octokit/types": "^12.3.0" + "@octokit/types": "^12.4.0" }, "devDependencies": { "@octokit/core": "^5.0.0", @@ -1590,9 +1590,9 @@ } }, "node_modules/@octokit/openapi-types": { - "version": "19.0.2", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-19.0.2.tgz", - "integrity": "sha512-8li32fUDUeml/ACRp/njCWTsk5t17cfTM1jp9n08pBrqs5cDFJubtjsSnuz56r5Tad6jdEPJld7LxNp9dNcyjQ==" + "version": "19.1.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-19.1.0.tgz", + "integrity": "sha512-6G+ywGClliGQwRsjvqVYpklIfa7oRPA0vyhPQG/1Feh+B+wU0vGH1JiJ5T25d3g1JZYBHzR2qefLi9x8Gt+cpw==" }, "node_modules/@octokit/request": { "version": "8.0.4", @@ -1660,11 +1660,11 @@ "license": "MIT" }, "node_modules/@octokit/types": { - "version": "12.3.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-12.3.0.tgz", - "integrity": "sha512-nJ8X2HRr234q3w/FcovDlA+ttUU4m1eJAourvfUUtwAWeqL8AsyRqfnLvVnYn3NFbUnsmzQCzLNdFerPwdmcDQ==", + "version": "12.4.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-12.4.0.tgz", + "integrity": "sha512-FLWs/AvZllw/AGVs+nJ+ELCDZZJk+kY0zMen118xhL2zD0s1etIUHm1odgjP7epxYU1ln7SZxEUWYop5bhsdgQ==", "dependencies": { - "@octokit/openapi-types": "^19.0.2" + "@octokit/openapi-types": "^19.1.0" } }, "node_modules/@pkgjs/parseargs": { diff --git a/package.json b/package.json index 9c5bf6a94..5929cefb6 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "author": "Gregor Martynus (https://twitter.com/gr2m)", "license": "MIT", "dependencies": { - "@octokit/types": "^12.3.0" + "@octokit/types": "^12.4.0" }, "devDependencies": { "@octokit/core": "^5.0.0", diff --git a/scripts/update-endpoints/types.mjs b/scripts/update-endpoints/types.mjs index 919f58e2e..3e0a958cd 100644 --- a/scripts/update-endpoints/types.mjs +++ b/scripts/update-endpoints/types.mjs @@ -87,7 +87,7 @@ async function generateTypes() { const methodTypesSource = await format( [ `import type { EndpointInterface, RequestInterface } from "@octokit/types";`, - `import type { RestEndpointMethodTypes } from "./parameters-and-response-types";`, + `import type { RestEndpointMethodTypes } from "./parameters-and-response-types.js";`, "", `export type RestEndpointMethods = { ${RestEndpointMethodNamespaceTypes.join("\n")}