Fail fast when the bun on PATH differs from packageManager

Abierto
#7,875 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
52/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
shell
Área
build-system

Línea de trabajo

Start with the packageManager field in package.json, which pins [email protected], and the Makefile targets that run builds, tests and static-check-full. Also look at .xum/tool_env, the other place the issue suggests for the check. Compare bun --version against the pinned version. Done means a gate fails before building or testing when the versions differ, with a message that tells the user to put the pinned bun first on PATH.

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

Descripción

package.json pins [email protected], but the host PATH here had bun 1.2.15. Several gates failed or misbehaved until agents put 1.4.3 first on PATH: some tests, and make static-check-full, whose mintlify lockfile 1.2.15 cannot read.

Proposed mechanism: a Makefile check (or one in .xum/tool_env) that compares bun --version with packageManager and fails with a PATH hint before builds and tests.


Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: high

Lenguaje dominante
TypeScript
Estrellas
2.1k
Forks
139
Merge medio
4 h 38 min
PR fusionados (30 d)
926

Preparar el entorno

  • Incluye un Dockerfile o un archivo de Docker Compose
  • Sin plantilla de pull request
  • Sin guía de contribución

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 coder/xum

Todos los issues de coder/xum

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.