Azure / Azure/static-web-apps-cli

Support for deployment in deno environments

オープン
#953 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
668
フォーク
156
PR マージ指標
30日以内にマージされた PR はありません

説明

**Is your feature request related to a problem? Please describe.**
My web project is Deno based so I'm trying to run all my dependences through Deno.

**Describe the solution you'd like**
A execution workflow that doesn't seem to depend on the `node` executable.

**Describe alternatives you've considered**
I did get pretty far with ` deno install -g npm:@azure/static-web-apps-cli -n swa` but got stuck at trying to run the emulator:
```
Welcome to Azure Static Web Apps CLI (2.0.5)

Using configuration "webmain" from file:
C:\dev\projects\sites\webmain\swa-cli.config.json

***********************************************************************
* WARNING: This emulator may not match the cloud environment exactly. *
* Always deploy and test your app in Azure. *
***********************************************************************

'node' is not recognized as an internal or external command,
operable program or batch file.
✖ SWA emulator stopped because .
```
**Additional context**
Add any other context or screenshots about the feature request here.
Note if you use\test this, swa needs plenty of permissions. Add this to the swa stub:
`"--allow-sys" "--allow-env" "--allow-read" "--allow-run" "--allow-write" "--allow-net"`

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

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

調査の方向性

issue に記載されたエミュレーターの実行パスから始め、示されている swa-cli.config.json と Deno の権限フラグを使って再現します。エミュレーターが node 実行可能ファイルをどのように呼び出すかを特定します。Deno ベースのプロジェクトで node を必要とせずにワークフローを実行できれば完了です。

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

評価

技術スタック
deno, node.js, typescript
領域
cli, cloud
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

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

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