Feature Request: Add Boilerplate Templates to rc-apps create
@ShubhamS2005 đang làm issue này rồi.
Từ ngày 17/3/2026.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 55/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- typescript
- Lĩnh vực
- cli, developer-experience
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- TypeScript
- Star
- 49
- Fork
- 40
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của RocketChat/Rocket.Chat.Apps-cli
-
Windows: rc-apps deploy fails with File 'X.ts' not found while tsc compiles successfullyCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
RocketChat/Rocket.Chat.Apps-cli#177 · 3 bình luận ·
-
Bug: Infinite loop in rc-apps watchCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
-
`rc-apps pack` throws error with nodejs 24Có thể làm lại được @okayxsh đã nhận 231 ngày trước và không có pull request nào đang mở. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 64/100
RocketChat/Rocket.Chat.Apps-cli#173 · 3 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 38/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
RocketChat/Rocket.Chat.Apps-cli#164 · 1 bình luận ·
Tất cả issue của RocketChat/Rocket.Chat.Apps-cli
Issue tương tự
-
bug
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 68/100
amosblomqvist/learnharness#758 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Change WorkspacesĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
bitfocus/companion-module-renewedvision-propresenter-api#134 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
rcpch/digital-growth-charts-react-component-library#304 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
dsh-market/dsh-market#1210 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
trustjonathan/STUDY-HUB#13 ·