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

Aperta
#113 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
68/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
ci-cd, testing

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
TypeScript
Stelle
0
Fork
4
Merge medio
18h 41m
PR unite (30g)
48

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di DiffCI/core

Tutte le issue di DiffCI/core

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.