Azure / Azure/static-web-apps-cli
Investigate using pre-installed func core tools rather than downloading to user home dir
- Lenguaje dominante
- TypeScript
- Estrellas
- 668
- Forks
- 156
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
**Is your feature request related to a problem? Please describe.**
Downloading the func core tools binary is bloating user disk space under $HOME/.swa/core-tools/$FUNC_VERSION
**Describe the solution you'd like**
In the scenario where it is already installed, we should check if core tools is already available on the user's machine and use that rather than downloading to the home directory
**Describe alternatives you've considered**
We can also consider using the minified releases of core tools which will take up less space in the user's home dir
**Additional context**
Changes should be made in this file: https://github.com/Azure/static-web-apps-cli/blob/main/src/core/func-core-tools.ts
Guía de contribución
Línea de trabajo
Empieza en src/core/func-core-tools.ts y sigue cómo la CLI localiza, descarga e invoca el binario de func core tools. Comprueba la ruta de instalación existente y define el comportamiento para una instalación ya disponible, considerando también la alternativa de una release minificada. Se considera terminado cuando se usa un binario preinstalado disponible sin descargar otra copia en $HOME/.swa/core-tools/$FUNC_VERSION.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- typescript
- Área
- cli
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100