Nx adapter: select a project's target when a changed file matches its Nx inputs

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

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

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

Đá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
68/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
ci-cd, testing

Hướng nghiên cứu

Start by reading the Nx adapter’s target selection logic and its existing fixture tests; the issue does not name file paths, so locate them in the repository. Check how it reads the project graph and nx.json inputs, then add fixtures for a matched named input, a negated input, and an uncovered file. Done means matched targets are selected, excluded files do not select them, and uncovered files still trigger the full-suite fallback.

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

Mô tả

adapter enhancement help wanted

Part of #111.

A changed file that no import reaches, but that a target's inputs match ({projectRoot}/vite.config.ts, sharedGlobals, externalDependencies), should select that project's target instead of falling back to the full suite as an unknown file. Read namedInputs from nx.json and each target's inputs from the graph. Respect negated patterns (!{projectRoot}/**/*.md).

Fixtures: a changed config file covered by namedInputs; a changed file excluded by a negated input; a changed file no input covers (still falls back).

Ngôn ngữ chính
TypeScript
Star
0
Fork
4
Merge trung bình
18 giờ 41 phút
Pull request đã merge (30 ngày)
48

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

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

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 DiffCI/core

Tất cả issue của DiffCI/core

Issue tương tự

Thêm issue về TypeScript

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.