Nx adapter: plan `nx run-many` commands for the selected projects

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

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

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

評価

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

調査の方向性

Read src/planner/test-command.ts and use the Maven planner branch as the model; then check how profiles and runner detection work in src/ci-inference/resolve.ts. Add tests for the project-level plan, file-level plan, and executors that must run the whole project. Done when Nx planning and runner detection follow the described command shapes and the Nx refusal is removed for profiles with Nx projects.

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

説明

adapter enhancement help wanted

Part of #111.

  • Add a profile field (for example nxProjects) and a planner branch in planSelectiveTestCommands (src/planner/test-command.ts). The Maven branch, which maps files to modules and emits -pl x,y -am, is the closest model.
  • Default: nx run-many -t test -p <projects>. Also nx run-many -t typecheck,lint -p <projects> when those targets exist.
  • Agent pre-push only: nx run <project>:test -- <files> for executors that accept file arguments (@nx/vite:test, @nx/jest:jest, nx:run-commands wrapping vitest or jest).
  • Remove the nx refusal in runsWorkspaceScripts when the profile has Nx projects, and name nx as a known runner in src/ci-inference/resolve.ts.
  • Tests: the command shape for a project-level plan, a file-level plan, and a project whose executor can't take files (runs whole).
主要言語
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 を短くまとめたダイジェスト。