Azure / Azure/static-web-apps-cli
Ship StaticSitesClient with swa-cli
- Lingua principale
- TypeScript
- Stelle
- 668
- Fork
- 156
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
**Is your feature request related to a problem? Please describe.**
swa-cli currently downloads a binary called StaticSitesClient from the internet before it uses it to deploy to Azure SWA. This leads to different issues: #557 #594 #615
It is not a good idea to change the behavior of software with the same version.
It is also not a good practice to download and run random code on running an NPM program (it is OK when installing the program).
**Describe the solution you'd like**
Package the StaticSitesClient with the swa-cli.
**Describe alternatives you've considered**
You could also pin the version of StaticSitesClient in the swa-cli and download the binary on "npm install". This would at least solve the issue with the change of behavior.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia tracciando il modo in cui swa-cli scarica StaticSitesClient prima del deployment in Azure Static Web Apps. Identifica i punti di ingresso del package e del deployment coinvolti, quindi controlla i test esistenti relativi a questo flusso. Il lavoro è completo quando StaticSitesClient viene distribuito con la CLI e il deployment non lo scarica più a runtime.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- azure, typescript
- Ambito
- cli, cloud
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100