ModusCreateOrg / ModusCreateOrg/modus-cli
CLI could initialize the scaffolding for releasing React libs
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- JavaScript
- Star
- 0
- Fork
- 0
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Description
Releasing open source React components requires heavy scaffolding. Once we are done with tests, CI, and examples for react-idle, we could use that setup for other similar projects
React Idle setup is somewhat opinionated but to a reasonable degree. For instance:
- Flow is set up. Not all projects require flow, but having type safety in an open source project is extremely helpful
- code formatting with
eslintandprettiershould stay there, but tweaks are possible rollupis used overwebpack, which may introduce a learning curve. Still,rolluphas certain advantages for libraries, which was also heavily researched by React team- testing suite may prove to be too specific, but we'll see that it's reasonable enough
- we like to work with different CIs and will need to pick one
This may require a separate repo. It would be interesting to create something like create-react-app so it can be maintained from one place
Hướng dẫn đóng góp
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.
Hướng nghiên cứu
Bắt đầu bằng việc xem xét thiết lập react-idle hiện có, bao gồm các bài kiểm thử, cấu hình CI, các ví dụ, việc sử dụng Flow, cùng cấu hình ESLint và Rollup. So sánh thiết lập đó với CLI được đề xuất theo kiểu create-react-app và quyết định scaffold nên thuộc repository này hay một repository riêng. Được xem là hoàn tất khi scaffold được hỗ trợ, lựa chọn CI và phạm vi của các giá trị mặc định có thể tái sử dụng được xác định rõ ràng.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- eslint, javascript, react, rollup, webpack
- Lĩnh vực
- build-system, ci-cd, cli, frontend, testing, tooling
- Loại issue
- Tính năng
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100