adobe / adobe/aio-cli-plugin-runtime
export command produces manifest in different format and breaks the app commands
- Langage dominant
- JavaScript
- Étoiles
- 21
- Forks
- 33
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
**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.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez au point d’entrée de la commande `aio rt export` et suivez la manière dont elle assemble le manifeste. Comparez sa sortie avec la structure attendue par les commandes `aio app`, puis reproduisez l’exportation et exécutez une commande de l’application pour confirmer que l’imbrication de `packages` est corrigée.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- javascript
- Domaine
- cli
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100