Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Timeline: surface install-script added/removed events

Abierto
#2,893 0 comentarios 1 reacción 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
49/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Tranquilo
Stack tecnológico
typescript
Área
frontend

Línea de trabajo

Start by reading the existing timeline sub-events for version-to-version changes and the package-page logic that detects install scripts. Trace how those events are represented and displayed, then compare package versions to identify added or removed preinstall, install, and postinstall scripts. Done means the timeline shows additions as negative events and removals as positive events.

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

Descripción

e18e
Describe the feature

The timeline already flags version-to-version changes as sub-events: install size, dependency count, license, etc. I'd like to also surface when a package adds or removes its install scripts (preinstall, install, postinstall).

npm v12, due around July 2026, flips allowScripts to off by default, so dependency install scripts won't run unless you allowlist them. It's already behind warnings in npm 11.16.0+. See the npm v12 breaking changes.

Maintainers are getting ahead of it and dropping install scripts from popular packages. sharp is one example. v0.35.0 removed its install script outright:

npmx already detects install scripts on the package page, but there's no way to see when a package added or removed them.

I'd like to propose adding an installScript sub-event. Removing scripts is a positive event, since the package is shrinking its install-time execution surface and getting ahead of npm v12. Adding them is a negative one, since it's new install-time code that consumers will have to allowlist under v12.

Additional information
  • Would you be willing to help implement this feature?
Final checks
Lenguaje dominante
TypeScript
Estrellas
3.6k
Forks
533
Merge medio
4 d 1 h
PR fusionados (30 d)
39

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

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 npmx-dev/npmx.dev

Todos los issues de npmx-dev/npmx.dev

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.