Skip to content

Fix TypeScript documentation gaps#1204

Open
sebastienros wants to merge 4 commits into
mainfrom
sebastienros/fix-typescript-docs-gaps
Open

Fix TypeScript documentation gaps#1204
sebastienros wants to merge 4 commits into
mainfrom
sebastienros/fix-typescript-docs-gaps

Conversation

@sebastienros
Copy link
Copy Markdown
Contributor

Summary

  • Add supported TypeScript AppHost examples for docs-only gaps identified by the language audit
  • Add TypeScript package/config guidance for Community Toolkit integrations
  • Keep C#-only notes where TypeScript APIs are still unavailable

Validation

  • pnpm --dir ./src/frontend test:unit:twoslash-blocks
  • git --no-pager diff --check

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings June 3, 2026 17:49
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 aspire.dev documentation to close identified TypeScript AppHost coverage gaps by replacing “C#-only / not available in TypeScript” notes with supported TypeScript examples, and by adding TypeScript-oriented installation/config guidance for several Community Toolkit integrations (including aspire add + aspire.config.json).

Changes:

  • Add TypeScript AppHost code samples (many twoslash-annotated) across “what’s new”, fundamentals, deployment, AppHost, and multiple integration reference pages.
  • Add/adjust TypeScript installation guidance for Community Toolkit integrations using aspire add and aspire.config.json.
  • Update Japanese docs to include TypeScript equivalents where the TypeScript SDK surface is now available.

Reviewed changes

Copilot reviewed 26 out of 26 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
src/frontend/src/content/docs/whats-new/aspire-13-4.mdx Adds a TypeScript tab/example for the highlighted feature in 13.4 release notes.
src/frontend/src/content/docs/ja/fundamentals/external-parameters.mdx Replaces prior TS limitation note with a TS parameter example using description/custom input APIs.
src/frontend/src/content/docs/ja/deployment/pipelines.mdx Adds a TypeScript pipeline step example (replacing C#-only note).
src/frontend/src/content/docs/ja/app-host/container-files.mdx Adds TypeScript example for container files workflows.
src/frontend/src/content/docs/ja/app-host/certificate-configuration.mdx Adds TypeScript examples for certificate configuration/trust sections.
src/frontend/src/content/docs/integrations/observability/seq/seq-host.mdx Replaces TS guidance note with a TS example using volume + lifetime + EULA configuration.
src/frontend/src/content/docs/integrations/messaging/lavinmq.mdx Adds TypeScript installation + usage examples for LavinMQ Community Toolkit integration.
src/frontend/src/content/docs/integrations/messaging/apache-kafka/apache-kafka-host.mdx Replaces TS limitation note with a TS example using connection string resource approach.
src/frontend/src/content/docs/integrations/devtools/sql-projects.mdx Adds TypeScript install + usage examples for SQL Database Projects (Toolkit).
src/frontend/src/content/docs/integrations/devtools/k6.mdx Adds TypeScript install + usage examples (and updates guidance text to mention TS APIs).
src/frontend/src/content/docs/integrations/devtools/dab.mdx Adds TypeScript install + usage examples for Data API Builder (Toolkit).
src/frontend/src/content/docs/integrations/databases/sql-server/sql-server-extensions.mdx Adds TypeScript examples for DbGate/Adminer extensions and TS package guidance.
src/frontend/src/content/docs/integrations/databases/postgres/postgresql-extensions.mdx Adds TypeScript examples for DbGate/Adminer extensions and TS package guidance.
src/frontend/src/content/docs/integrations/databases/mysql/mysql-host.mdx Updates TypeScript example to use persistent lifetime + replaces prior TS limitation note.
src/frontend/src/content/docs/integrations/databases/mysql/mysql-extensions.mdx Adds TypeScript examples for DbGate/Adminer extensions and TS package guidance.
src/frontend/src/content/docs/integrations/databases/mongodb/mongodb-extensions.mdx Adds TypeScript example for DbGate extension and TS package guidance.
src/frontend/src/content/docs/integrations/compute/docker.mdx Replaces TS limitation notes with TS examples for withImagePushOptions.
src/frontend/src/content/docs/integrations/cloud/azure/container-app-jobs.mdx Replaces TS limitation note with TS scheduled job publish example.
src/frontend/src/content/docs/integrations/cloud/azure/azure-data-explorer.mdx Replaces TS limitation note with TS example using withCreationScript.
src/frontend/src/content/docs/integrations/caching/redis-extensions.mdx Adds TypeScript install + DbGate example for Redis extensions.
src/frontend/src/content/docs/integrations/ai/ollama/ollama-host.mdx Replaces TS limitation note with TS example enabling Open WebUI.
src/frontend/src/content/docs/deployment/pipelines.mdx Adds TypeScript pipeline step example (replacing C#-only note).
src/frontend/src/content/docs/deployment/docker-compose.mdx Adds TypeScript example for withImagePushOptions in Docker Compose publishing.
src/frontend/src/content/docs/app-host/withdockerfile.mdx Replaces TS limitation notes with TS examples using Dockerfile factory APIs.
src/frontend/src/content/docs/app-host/container-files.mdx Adds TypeScript example for container files workflows.
src/frontend/src/content/docs/app-host/certificate-configuration.mdx Adds TypeScript examples for certificate configuration/trust sections.

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

Comment thread src/frontend/src/content/docs/app-host/certificate-configuration.mdx Outdated
Comment thread src/frontend/src/content/docs/app-host/certificate-configuration.mdx Outdated
Comment thread src/frontend/src/content/docs/ja/app-host/certificate-configuration.mdx Outdated
Comment thread src/frontend/src/content/docs/ja/app-host/certificate-configuration.mdx Outdated
sebastienros and others added 2 commits June 3, 2026 11:14
The additional TypeScript examples still render as TypeScript code blocks, but not through twoslash. This avoids the frontend production build exceeding the default Node heap while preserving existing twoslash coverage.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@aspire-repo-bot
Copy link
Copy Markdown
Contributor

Frontend HTML artifact ready

The latest frontend build uploaded the frontend-dist artifact for PR #1204. Use the VS Code button below to open this PR with GitHub Artifacts Explorer and browse the built HTML locally.

VS Code: Open PR #1204 artifacts

This comment updates automatically when a new frontend build artifact is uploaded.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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