Azure / Azure/static-web-apps-cli
Ship StaticSitesClient with swa-cli
- Vorherrschende Sprache
- TypeScript
- Sterne
- 668
- Forks
- 156
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
**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.
Beitragsleitfaden
Rechercherichtung
Beginne damit, nachzuverfolgen, wie swa-cli StaticSitesClient vor der Bereitstellung in Azure Static Web Apps herunterlädt. Identifiziere die beteiligten Package- und Deployment-Einstiegspunkte und prüfe anschließend die vorhandenen Tests für diesen Ablauf. Die Aufgabe ist abgeschlossen, wenn StaticSitesClient mit der CLI ausgeliefert wird und die Bereitstellung nicht mehr zur Laufzeit heruntergeladen wird.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- azure, typescript
- Bereich
- cli, cloud
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100