release: pack the npm tarballs before running dev-dependency code

Abierto
#506 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
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
44/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
github-actions, javascript

Línea de trabajo

Start by reading release.yml and RELEASING.md to trace when packages/* are installed, tested, packed, and presented for approval. Compare the proposed packing options against that workflow and identify what artifact or hash the approver can inspect. Done when the release flow protects the packed tarballs from dev-dependency code and RELEASING.md explains how to compare the staged packages.

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

Descripción

release.yml packs the npm tarballs in the same job and workspace that first runs all dev-dependency code (eslint, tsc, tests). A compromised dev dependency could change packages/* between the tests and npm pack. The publish job checks only name and version, and the staged approval shows no diff.

Fix: pack first, right after checkout and a no-script install, then test; or re-pack from the tag in a clean job and compare hashes. Say in RELEASING.md what the approver can compare. Found in the full review before 0.7.0.

Lenguaje dominante
JavaScript
Estrellas
1
Forks
1
Merge medio
3 h 34 min
PR fusionados (30 d)
213

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 eizedev/pivotkit

Todos los issues de eizedev/pivotkit

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.