Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: upgrade openapi-typescript #104

Merged
merged 11 commits into from
Mar 31, 2023
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 @@ -275,7 +275,7 @@
"github-openapi-graphql-query": "^4.0.0",
"handlebars": "^4.7.7",
"open-cli": "^7.1.0",
"openapi-typescript": "^6.0.0",
"openapi-typescript": "^6.2.1",
"prettier": "^2.3.2",
"sinon": "^15.0.0",
"sort-keys": "^5.0.0",
Expand Down
683 changes: 348 additions & 335 deletions packages/types-openapi-ghec-diff-to-api.github.com/index.d.ts

Large diffs are not rendered by default.

18,189 changes: 9,604 additions & 8,585 deletions packages/types-openapi-ghec/index.d.ts

Large diffs are not rendered by default.

2,170 changes: 1,141 additions & 1,029 deletions packages/types-openapi-ghes-3.2-diff-to-ghes-3.3/index.d.ts

Large diffs are not rendered by default.

14,894 changes: 8,001 additions & 6,893 deletions packages/types-openapi-ghes-3.2/index.d.ts

Large diffs are not rendered by default.

1,286 changes: 698 additions & 588 deletions packages/types-openapi-ghes-3.3-diff-to-ghes-3.4/index.d.ts

Large diffs are not rendered by default.

15,580 changes: 8,427 additions & 7,153 deletions packages/types-openapi-ghes-3.3/index.d.ts

Large diffs are not rendered by default.

1,163 changes: 596 additions & 567 deletions packages/types-openapi-ghes-3.4-diff-to-ghes-3.5/index.d.ts

Large diffs are not rendered by default.

15,858 changes: 8,519 additions & 7,339 deletions packages/types-openapi-ghes-3.4/index.d.ts

Large diffs are not rendered by default.

2,680 changes: 1,410 additions & 1,270 deletions packages/types-openapi-ghes-3.5-diff-to-ghes-3.6/index.d.ts

Large diffs are not rendered by default.

16,226 changes: 8,706 additions & 7,520 deletions packages/types-openapi-ghes-3.5/index.d.ts

Large diffs are not rendered by default.

2,868 changes: 1,571 additions & 1,297 deletions packages/types-openapi-ghes-3.6-diff-to-api.github.com/index.d.ts

Large diffs are not rendered by default.

18,575 changes: 10,300 additions & 8,275 deletions packages/types-openapi-ghes-3.6/index.d.ts

Large diffs are not rendered by default.

3,343 changes: 1,807 additions & 1,536 deletions packages/types-openapi-github.ae-diff-to-api.github.com/index.d.ts

Large diffs are not rendered by default.

17,083 changes: 9,715 additions & 7,368 deletions packages/types-openapi-github.ae/index.d.ts

Large diffs are not rendered by default.

17,521 changes: 9,272 additions & 8,249 deletions packages/types-openapi/index.d.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scripts/types-openapi/update.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ type Repository = components["schemas"]["full-repository"]

await writeFile(
`packages/${packageName}/index.d.ts`,
await openapiTS(`cache/types-openapi/${sourceFilename}`)
prettier.format(await openapiTS(`cache/types-openapi/${sourceFilename}`), { parser: "typescript" })
);
console.log(`packages/${packageName}/index.d.ts written`);
}
Expand Down