adobe / adobe/aio-cli-plugin-runtime
export command produces manifest in different format and breaks the app commands
- Lingua principale
- JavaScript
- Stelle
- 21
- Fork
- 33
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
**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.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia dal punto di ingresso del comando `aio rt export` e segui come assembla il manifest. Confronta il suo output con la struttura prevista dai comandi `aio app`, quindi riproduci l’esportazione ed esegui un comando dell’app per confermare che l’annidamento di `packages` sia stato corretto.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript
- Ambito
- cli
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100