NativeScript / NativeScript/nx
Compatibility with `nx affected` for test / build executors
Nessuno ha ancora preso questa issue.
- Lingua principale
- TypeScript
- Stelle
- 68
- Fork
- 15
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Current behavior
The current setup fails when running the following:
nx run {my-app}:buildnx affected:buildnx affected --target build
Expected Behavior
The above succeed.
Notes
This is partially due to the setup of ios / android targets that pull config from the actual build target, which does not work on its own. This target should be made to work (possibly by invoking a webpack-only build), and then the ios / android targets could invoke it.
If the ios / android targets could consume a webpack-only build, then their executor could use targetDependencies to require the regular build target be hit first, and not have to do a separate webpack build for android and ios.
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia riproducendo nx run {my-app}:build, nx affected:build e nx affected --target build, quindi esamina la configurazione degli executor test, build, ios e android. Traccia il modo in cui i target ios/android utilizzano il target build standard e valuta la build proposta solo webpack con Nx targetDependencies. Il lavoro è completato quando tutti e tre i comandi hanno esito positivo senza duplicare la build webpack per ios e Android.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- typescript, webpack
- Ambito
- build-system, mobile-dev
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100