NativeScript / NativeScript/nx

Compatibility with `nx affected` for test / build executors

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

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

主要言語
TypeScript
スター
68
フォーク
15
PR マージ指標
30日以内にマージされた PR はありません

説明

Current behavior

The current setup fails when running the following:

  • nx run {my-app}:build
  • nx affected:build
  • nx 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.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

調査の方向性

まず nx run {my-app}:buildnx affected:buildnx affected --target build を再現し、test、build、ios、android の executor 設定を調査します。ios/android ターゲットが通常の build ターゲットをどのように利用しているかを追跡し、Nx targetDependencies を使った、提案されている webpack のみのビルドを評価します。3 つのコマンドがすべて、ios と Android の webpack ビルドを重複させずに成功すれば完了です。

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

評価

技術スタック
typescript, webpack
領域
build-system, mobile-dev
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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