Azure / Azure/static-web-apps-cli
Support for deployment in deno environments
- 主要言語
- 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