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

オープン
#113 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
68/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
typescript
領域
ci-cd, testing

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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).

主要言語
TypeScript
スター
0
フォーク
4
平均マージ
18時間 41分
マージ済み PR(30日)
48

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

DiffCI/core のほかの issue

DiffCI/core の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。