Return explicit ui5 dependencies config

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

Maintainer thường phản hồi trong vòng 2 ngày

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

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
javascript, node.js
Lĩnh vực
build-system, cli, tooling

Hướng nghiên cứu

Start by reviewing the linked v3 dependency-configuration migration and the current package.json-based dependency resolution. Compare the reported monorepo and TypeScript paths cases with the earlier middleware dependency approach and require.resolve behavior. Done should mean an agreed, documented way to configure or resolve UI5 dependencies for these setups, with implementation files and tests identified during investigation.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Hi!

I've noticed that since version 3.0 dependencies now are resolved via package.json.

I just wanted to give you the feedback that this kind of dependency collection will not work in case of monorepos.

If we use monorepo - we maintain all dependencies only on the root level. While in workspaces we use very minimalistic package.json without any dependencies ( they got automatically collected during build )

Moreover in TypeScript based scenario mapping can be resolved via tsconfig.json paths.

That's why the idea to have ui5 middleware dependencies were not bad actually and not that useless. It used probably native require.resolve() and supported all mentioned above techniques.

Ngôn ngữ chính
JavaScript
Star
510
Fork
80
Merge trung bình
2 ngày 22 giờ
Pull request đã merge (30 ngày)
12

Chuẩn bị môi trường

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.

Issue khác của UI5/cli

Tất cả issue của UI5/cli

Issue tương tự

Thêm issue về JavaScript

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.