Feature Request: Add Boilerplate Templates to rc-apps create
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 55/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- typescript
調査の方向性
Start with the rc-apps create command and inspect the existing templates folder to understand how generated app files are selected and copied. Define how the --boilerplate option handles slash-command, api-endpoint, and settings, then verify that each selected option produces the corresponding template file in the new app.
索引モデルが issue の本文から書いたものです。
説明
Problem
When developers create a new Rocket.Chat app using the rc-apps create command, the generated project only contains the basic app structure. Developers often need to manually create common components such as:
- Slash Commands
- API Endpoints
- App Settings
This requires additional manual setup and boilerplate code.
Proposed Solution
Add a --boilerplate flag to the create command that allows users to automatically generate common starter templates during app creation.
Example usage:
rc-apps create --name=MyApp --boilerplate slash-command
Supported options could include:
- slash-command
- api-endpoint
- settings
The CLI would then generate the corresponding template file inside the newly created app.
Benefits
- Reduces manual setup for developers
- Improves developer experience
- Helps new developers start building Rocket.Chat apps faster
Additional Notes
The boilerplate templates already exist in the repository under the templates folder, so the feature mainly connects them to the create command.
I would be happy to work on implementing this feature.
- 主要言語
- TypeScript
- スター
- 49
- フォーク
- 40
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
RocketChat/Rocket.Chat.Apps-cli のほかの issue
-
Windows: rc-apps deploy fails with File 'X.ts' not found while tsc compiles successfully対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
RocketChat/Rocket.Chat.Apps-cli#177 · コメント 3 件 ·
-
Bug: Infinite loop in rc-apps watch再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
-
`rc-apps pack` throws error with nodejs 24再び着手できるかも @okayxsh が 231 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 64/100
RocketChat/Rocket.Chat.Apps-cli#173 · コメント 3 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 38/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
RocketChat/Rocket.Chat.Apps-cli#164 · コメント 1 件 ·
RocketChat/Rocket.Chat.Apps-cli の issue をすべて見る
似ている issue
-
bug
難易度 2/5 半日 初心者へのやさしさ 68/100
amosblomqvist/learnharness#758 ·
メンテナーはふだん 2 日以内に返信
-
Change Workspacesオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
bitfocus/companion-module-renewedvision-propresenter-api#134 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
rcpch/digital-growth-charts-react-component-library#304 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
dsh-market/dsh-market#1210 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
trustjonathan/STUDY-HUB#13 ·