Skip to content

Commit

Permalink
chore(deps): update dependency prettier to v3 (#146)
Browse files Browse the repository at this point in the history
* chore(deps): update dependency prettier to v3

* Update imports

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Keegan Campbell <me@kfcampbell.com>
  • Loading branch information
renovate[bot] and kfcampbell committed Jul 6, 2023
1 parent d9f125d commit 5fa11cb
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 19 deletions.
18 changes: 9 additions & 9 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 @@ -276,7 +276,7 @@
"handlebars": "^4.7.7",
"open-cli": "^7.1.0",
"openapi-typescript": "^6.2.1",
"prettier": "^2.3.2",
"prettier": "^3.0.0",
"sinon": "^15.0.0",
"sort-keys": "^5.0.0",
"tsd": "^0.28.0",
Expand Down
4 changes: 2 additions & 2 deletions scripts/types-openapi/update.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { readdir, mkdir, rm, writeFile } from "node:fs/promises";

import prettier from "prettier";
import * as prettier from "prettier";
import openapiTS from "openapi-typescript";

if (!process.env.OCTOKIT_OPENAPI_VERSION) {
Expand Down Expand Up @@ -68,7 +68,7 @@ async function run() {
> Generated TypeScript definitions based on GitHub's OpenAPI spec for api.github.com
This package is continously updated based on [GitHub's OpenAPI specification](https://github.com/github/rest-api-description/)
This package is continously updated based on [GitHub's OpenAPI specification](https://github.com/github/rest-api-description/)
## Usage
Expand Down
10 changes: 5 additions & 5 deletions scripts/types-rest-api-diff/update.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { readdir, mkdir, rm, writeFile } from "node:fs/promises";
import { resolve } from "node:path";

import Handlebars from "handlebars";
import prettier from "prettier";
import * as prettier from "prettier";
import sortKeys from "sort-keys";

if (!process.env.OCTOKIT_OPENAPI_VERSION) {
Expand Down Expand Up @@ -120,7 +120,7 @@ async function run() {
🚫⚠️ This package is part of an experimental Octokit SDK for testing purpose only - DO NOT USE
[learn more](https://github.com/octokit/octokit-next.js)
`,
{ parser: "markdown" }
)
Expand Down Expand Up @@ -274,8 +274,8 @@ const ghesOnlyResponse = await octokit.request("GET /admins/users", {
},
});
\`\`\`
`,
{ parser: "markdown" }
)
Expand Down Expand Up @@ -323,7 +323,7 @@ declare module "@octokit-next/types" {
};
}
}
}
}
`,
{ parser: "typescript" }
)
Expand Down
2 changes: 1 addition & 1 deletion scripts/types-rest-api/download.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { writeFileSync } from "node:fs";
import { resolve } from "node:path";

import graphql from "github-openapi-graphql-query";
import prettier from "prettier";
import * as prettier from "prettier";

if (!process.env.OCTOKIT_OPENAPI_VERSION) {
throw new Error(`OCTOKIT_OPENAPI_VERSION environment variable must be set`);
Expand Down
2 changes: 1 addition & 1 deletion scripts/types-rest-api/update.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { readFileSync, writeFileSync } from "node:fs";
import { resolve } from "node:path";

import Handlebars from "handlebars";
import prettier from "prettier";
import * as prettier from "prettier";
import sortKeys from "sort-keys";

const ENDPOINTS = JSON.parse(
Expand Down

0 comments on commit 5fa11cb

Please sign in to comment.