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

Abierto
#215 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

  • #335 de @vibgrate-team — cerrado sin fusionar

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
48/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
node.js, typescript
Área
cli, devtools

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
TypeScript
Estrellas
4
Forks
3
Merge medio
1 d 22 h
PR fusionados (30 d)
76

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de vibgrate/cli

Todos los issues de vibgrate/cli

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.