Skip to content

Commit

Permalink
bump octokit/types (#700)
Browse files Browse the repository at this point in the history
* WIP octokit/openapi updated

* Use .js in import for RestEndpointMethodTypes

* npm run update-endpoints:types

---------

Co-authored-by: Keegan Campbell <[email protected]>
  • Loading branch information
octokitbot and kfcampbell authored Dec 18, 2023
1 parent 5782c3a commit 2cf2888
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion scripts/update-endpoints/types.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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")}
Expand Down

0 comments on commit 2cf2888

Please sign in to comment.