Azure / Azure/static-web-apps-cli

Proxy in client package.json used by default or actively ignored

オープン
#247 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
complexity: days priority: low (P2) scope: api type: enhancement type: RFC
主要言語
TypeScript
スター
668
フォーク
156
PR マージ指標
30日以内にマージされた PR はありません

説明

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

When running React with Azure functions (in an /api folder) as a single application, locally, without SWA CLI, I need a proxy in the package.json. Since the CLI is a bit new and not totally hardened, can the CLI either use the proxy if found (as the default) or ignore the proxy with a CLI switch?

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、アプリケーションが /api フォルダー内で React と Azure Functions を使用している場合に、CLI がクライアントの package.json をどのように処理するかを追跡します。SWA CLI を使わずにローカルセットアップを再現し、その後、プロキシがデフォルトで使用されるか、CLI のスイッチによって明示的に無視できるかを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
typescript
領域
cli
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。