ModusCreateOrg / ModusCreateOrg/modus-cli

CLI could initialize the scaffolding for releasing React libs

Đang mở
#9 15 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

enhancement
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 eslint and prettier should stay there, but tweaks are possible
  • rollup is used over webpack, which may introduce a learning curve. Still, rollup has 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

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. 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

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.