adobe / adobe/aio-cli-plugin-runtime
Clean up numerous classnames
オープン
enhancement
good first issue
help wanted
- 主要言語
- JavaScript
- スター
- 21
- フォーク
- 33
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
All commands define their own classname even though it is not visible to other code.
example from `commands/runtime/action/create.js`
```
class ActionCreate extends RuntimeBaseCommand {
}
...
module.exports = ActionCreate
```
Ideally these should all just be `Command` or something generic, and they should all be the same, much like the way the tests all specify the commands they are testing with : `const TheCommand = require('..`
コントリビューションガイド
調査の方向性
commands/runtime/action/create.js から始め、commands ディレクトリ全体でコマンドクラスの宣言を比較します。テストで汎用の required command をローカル名に割り当てているパターンを確認し、その後、それぞれのモジュールに対してプライベートなすべてのコマンドクラス名を特定します。コマンドの動作を変更せずに、コマンドクラスが一貫した汎用名を使用することが完了の条件です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript
- 領域
- cli
- issue の種類
- リファクタリング
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100