-
Notifications
You must be signed in to change notification settings - Fork 72
Update TypeScript AppHost GA docs #1057
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
base: release/13.4
Are you sure you want to change the base?
Changes from 3 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -63,13 +63,13 @@ Aspire は、実システムで頻出する多くの構成要素に対する統 | |
|
|
||
| **いいえ。** .NET は Aspire で特に強力な体験を提供しますが、アプリ モデルは 1 つのフレームワークやランタイムに限定されません。Aspire は複数スタックにまたがるサービス調整を目的に設計されており、TypeScript の AppHost によって既存の JavaScript / TypeScript アプリにも自然に適合します。 | ||
|
|
||
| 詳しくはこちら: [TypeScript AppHost サポート](/ja/whats-new/aspire-13-2/#-typescript-apphost-のサポート-プレビュー) | ||
| 詳しくはこちら: [TypeScript AppHost サポート](/ja/app-host/typescript-apphost/) | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The link target was updated from the 13.2 preview "what's new" anchor to the GA project-structure page, but the visible label still says "TypeScript AppHost サポート" (Support). The English FAQ was updated to "TypeScript AppHost project structure" — consider updating the Japanese label to match, e.g. |
||
|
|
||
| ## AppHost を TypeScript で書けますか? | ||
|
|
||
| **はい。** TypeScript の AppHost (`apphost.mts`) は、既存の JavaScript / TypeScript アプリケーション向けの第一級オプションです。この体験では、`aspire init --language typescript` のようなコマンドや、`addNodeApp`、`addViteApp`、`addJavaScriptApp` のような AppHost API を利用します。 | ||
|
|
||
| 詳しくはこちら: [`aspire init`](/ja/reference/cli/commands/aspire-init/)、[TypeScript AppHost サポート](/ja/whats-new/aspire-13-2/#-typescript-apphost-のサポート-プレビュー) | ||
| 詳しくはこちら: [`aspire init`](/ja/reference/cli/commands/aspire-init/)、[TypeScript AppHost サポート](/ja/app-host/typescript-apphost/) | ||
|
|
||
| ## Aspire は新規プロジェクト専用ですか? | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comment frames this alias as backward-compat for "historical snippets," but the only place in the repo that still imports from
./.modules/aspire.jsissrc/frontend/src/components/AppHostBuilder.astro— the live interactive AppHost builder, with ~30 snippet variants. Everywhere else (this PR'stypescript-apphost.mdx,add-aspire-existing-app.mdx,SimpleAppHostCode.shared.ts,data/twoslash/aspire.d.ts, the doc-writer skill) uses the GA path./.aspire/modules/aspire.mjs.Net effect: users who copy a snippet out of the interactive builder get an import path that doesn't match what
aspire initactually generates, so the file won't resolve in their project.Recommendation: migrate
AppHostBuilder.astroto emit./.aspire/modules/aspire.mjsacross all snippet variants and drop this alias. If that's out of scope for this PR, please reword the comment to make the temporary nature explicit, e.g.// Temporary: AppHostBuilder.astro still imports from the pre-GA path; remove this alias once it's migrated to .aspire/modules/aspire.mjs.