Skip to content

dep updates#445

Open
gregnazario wants to merge 1 commit into
mainfrom
deps-5-8
Open

dep updates#445
gregnazario wants to merge 1 commit into
mainfrom
deps-5-8

Conversation

@gregnazario
Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings May 9, 2026 00:25
@vercel
Copy link
Copy Markdown

vercel Bot commented May 9, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
aptos-docs Error Error May 11, 2026 4:46pm

Request Review

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates project dependencies (notably @astrojs/starlight, starlight-openapi, and Scalar packages) and adapts the docs site’s OpenAPI/Sidebar integration code to updated upstream APIs, including a refreshed pnpm patch for starlight-openapi@0.25.1.

Changes:

  • Bump a range of dependencies (Astro/Starlight/Vercel/Scalar/OpenAPI tooling) and update packageManager to pnpm@10.33.2.
  • Update OpenAPI Astro components to new starlight-openapi APIs (schema type import path, dereference helper, response media handling, route type constants, path helpers).
  • Refactor sidebar helper typing to derive item/group types from Starlight’s public config types; replace the generic starlight-openapi patch with a version-pinned patch file.

Reviewed changes

Copilot reviewed 13 out of 14 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/config/sidebar.ts Derives sidebar entry/group typing from StarlightUserConfig and simplifies the group() helper.
src/components/OpenAPI/security/Security.astro Switches to updated starlight-openapi path helper and schema type import.
src/components/OpenAPI/Route.astro Uses new dereference helper and updated route prop typing / route type strings.
src/components/OpenAPI/response/Responses.astro Updates schema type import path.
src/components/OpenAPI/response/Response.astro Migrates response rendering to media-entry based flow with ContentPicker.
src/components/OpenAPI/RequestBody.astro Updates schema type import path.
src/components/OpenAPI/Overview.astro Removes interspece usage and rewrites contact link rendering.
src/components/OpenAPI/operation/OperationExamples/OperationScalarModal.astro Updates Scalar modal integration to new imports + workspace store usage.
src/components/OpenAPI/operation/OperationDescription.astro Updates schema type import path.
src/components/OpenAPI/operation/Operation.astro Updates schema type import path.
patches/starlight-openapi@0.25.1.patch Adds/updates patch for starlight-openapi@0.25.1 (route entrypoint option, safer security checks, exports pattern).
patches/starlight-openapi.patch Removes the previous unversioned patch file.
package.json Dependency bumps, patched dependency key update, and new overrides.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +37 to +41
{contacts.map((contact, index) => (
<>
{index > 0 && " - "}
<a href={index === 1 ? `mailto:${contact}` : contact}>{contact}</a>
)),
)}
</>
Comment on lines +40 to +54
hasMediaTypes ? (
<ContentPicker
label="Select media type"
labelSingle="Media type"
types={mediaEntries.map((e) => e.mediaType).filter((t): t is string => t !== undefined)}
>
{mediaEntries.map((entry, index) => (
<div data-openapi-content-type={entry.mediaType} hidden={index > 0} role="tabpanel">
<SchemaComponent
example={entry.example}
examples={isExamples(entry.examples) ? entry.examples : undefined}
schema={isSchemaObject(entry.schema) ? entry.schema : undefined}
/>
</div>
))}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants