Enhancement: keep direct dependencies without explicit version pins visible in vg scan graphs

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

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

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

  • #335 @vibgrate-team による — マージされずにクローズ

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
node.js, typescript
領域
cli, devtools

調査の方向性

Start by reading the existing dependency parsers and their fixtures/tests to find a supported ecosystem where unpinned or inherited direct dependencies are already closest to being represented. Add a fixture and test showing that the chosen direct edge remains in deterministic graph/scan output without a fabricated version; check existing conventions for representing absent or inherited versions.

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

説明

enhancement

Context

Some manifests declare direct dependencies without a concrete version pin (workspace inheritance, catalog refs, or omitted version fields). Adjacent analyzers have dropped those edges entirely. For Vibgrate, vg build / vg scan should still record that the direct edge exists — with an honest “unpinned / inherited” representation — so impact and drift stay trustworthy and local-first.

What to do

  1. Pick one supported ecosystem where unpinned/inherited directs already appear (or are closest) — e.g. npm workspace, pnpm catalog, or Cargo workspace — matching what the codebase already parses.
  2. Ensure the graph retains a deterministic node/edge for the direct dependency instead of omitting it.
  3. Human and machine output should not invent a fake version; prefer explicit absence or an inherited marker already used elsewhere.
  4. Add a fixture + test asserting the direct edge survives.

Acceptance

  • Direct unpinned/inherited deps remain visible in graph/scan output for the chosen ecosystem
  • No fabricated version numbers; absent stays absent (not 0 / empty string hacks)
  • Deterministic graph for the fixture
  • DCO sign-off on commits (git commit -s) if the PR touches the repo

Mentoring notes

One ecosystem per PR. Do not boil the ocean across all languages. Align with absent-vs-zero themes (#160) for any numeric/score fields you touch.

主要言語
TypeScript
スター
4
フォーク
3
平均マージ
1日 22時間
マージ済み PR(30日)
76

環境構築

はじめの一歩

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

vibgrate/cli のほかの issue

vibgrate/cli の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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