adobe / adobe/aio-cli-plugin-runtime
export command produces manifest in different format and breaks the app commands
- Lenguaje dominante
- JavaScript
- Estrellas
- 21
- Forks
- 33
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
**Describe the bug**
With `aio rt export` the manifest we get looks like below.
```
project:
name: expproj
packages:
__APP_PACKAGE__:
```
Trying any of the app commands eg: `aio app logs` with this exported manifest fails with
```
TypeError: Cannot read property '__APP_PACKAGE__' of undefined
```
This is because app plugin expects the manifest format like below
```
project:
name: expproj
packages:
__APP_PACKAGE__:
```
Notice that `packages` is at the same level as `project`
**To Reproduce**
See above
**Expected behavior**
Should work
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
**Additional context**
Add any other context about the problem here.
Guía de contribución
Línea de trabajo
Comienza en el punto de entrada del comando `aio rt export` y sigue cómo ensambla el manifiesto. Compara su salida con la estructura esperada por los comandos `aio app`, luego reproduce la exportación y ejecuta un comando de la app para confirmar que se ha corregido el anidamiento de `packages`.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- javascript
- Área
- cli
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100