Skip to content

Document first-party Deno hosting; remove Community Toolkit Deno integration - #2205

Open
David Pine (IEvangelist) wants to merge 6 commits into
mainfrom
ievangelist-deno-host-javascript-hosting
Open

David Pine (IEvangelist) wants to merge 6 commits into
mainfrom
ievangelist-deno-host-javascript-hosting

Conversation

@IEvangelist

Copy link
Copy Markdown
Member

Summary

Rewrites the Deno docs around the first-party Aspire.Hosting.JavaScript Deno APIs (AddDenoApp, WithDenoTask/WithDenoServe, permission and flag methods, WithDeno, publishing) and removes the CommunityToolkit.Aspire.Hosting.Deno package from the docs and integration data (aspire-integrations.json, aspire-integration-names.json, integration-docs.json, and its pkgs/ts-modules files). Updates the 13.6 what's-new note accordingly.

Third-party links and affiliations

None.

Validation

  • Claims in the new content verified against microsoft/aspire main (d6892bf) Deno hosting source; four nuances found and corrected (default -A behavior, task-mode permissions, serve-mode endpoint/PORT, automatic WithDeno()).
  • Not run: docs site build/dev server (no node_modules locally) and the doc-tester pass. ApiReference names and link validation still need CI confirmation.

…ntegration

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The removal leaves stale Deno APIs in the committed TypeScript bundle and omits the generator exclusion needed to prevent future refreshes from restoring the deleted integration.

1 open issue
What changed in this PR

Moves the Deno documentation to the first-party Aspire.Hosting.JavaScript integration and removes the Community Toolkit package from the site's catalog and API reference data.

Changes:

  • Rewrites Deno setup and hosting examples for first-party APIs, including permissions, runtime flags, and publishing.
  • Removes Toolkit Deno metadata and generated C# and TypeScript API files.
  • Updates the Aspire 13.6 release note to describe the replacement.
File Description
src/​frontend/​src/​data/​ts-modules/​CommunityToolkit.Aspire.Hosting.Deno.13.6.1.json Removes Toolkit TypeScript API metadata.
src/​frontend/​src/​data/​pkgs/​CommunityToolkit.Aspire.Hosting.Deno.13.6.1.json Removes Toolkit C# API metadata.
src/​frontend/​src/​data/​integration-docs.json Removes the Toolkit package's documentation mapping.
src/​frontend/​src/​data/​aspire-integrations.json Removes the Toolkit package from the integration catalog.
src/​frontend/​src/​data/​aspire-integration-names.json Removes the Toolkit package name.
src/​frontend/​src/​content/​docs/​whats-new/​aspire-13-6.mdx Updates the Deno migration note.
src/​frontend/​src/​content/​docs/​integrations/​frameworks/​deno/​deno-host.mdx Documents first-party hosting APIs and behavior.
src/​frontend/​src/​content/​docs/​integrations/​frameworks/​deno/​deno-get-started.mdx Migrates introductory examples to first-party hosting.

Review effort: Balanced

…Deno bindings

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <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 #2205. Use the VS Code button below to open this PR with GitHub Artifacts Explorer and browse the built HTML locally.

VS Code: Open PR #2205 artifacts

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

krishkhinchi

This comment was marked as low quality.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

[partial - phase A: static review; phase B: not run at the requester's instruction]

I reviewed the changed docs, samples, and integration metadata against microsoft/aspire main (112bef4129c35fcaaffc58be0afa38e975f4bcd0), Aspire tags v17.0.0 (2d325b13709752ba6d9a943635c5e2940a2530c0) and v13.6.0 (56f3e9c0d216c0c7069dabb49dd0464e4827744f), and CommunityToolkit/Aspire main (9767a4d3828000df210ddfd9d90c259c40b57dd2). The API shapes, TypeScript exports, serve endpoint, and Deno package-manager selection match the checked sources. The inline findings cover version guidance and two command-line behaviors. No samples, tests, or docs server were run.

…atch

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The follow-up addresses all three findings: both guides scope ASPIREDENO001 to Aspire 13.6, the publishing guidance explains that granular grants replace the default permissions, and the watch guidance now distinguishes local run/serve from task mode and publishing. One non-blocking clarification is inline. Static review only; no samples, tests, or docs server were run.

Co-authored-by: Copilot App <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.

4 participants