adobe / adobe/aio-cli-plugin-runtime
export command produces manifest in different format and breaks the app commands
- 主要言語
- JavaScript
- スター
- 21
- フォーク
- 33
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
**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.
コントリビューションガイド
調査の方向性
`aio rt export` コマンドのエントリポイントから始め、マニフェストの組み立て方を追跡します。その出力を `aio app` コマンドが想定する構造と比較し、次にエクスポートを再現してアプリコマンドを実行し、生成された `packages` のネストが修正されていることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript
- 領域
- cli
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100