Investigate removing `legacy-peer-deps=true` from `web/.npmrc`

Abierto
#142 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
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
55/100
Tipo de issue
Refactorización
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
nextjs, react, typescript

Línea de trabajo

The flag lives in web/.npmrc; the dependency set to check is in web/package.json and web/package-lock.json. Remove the line locally and run npm install to capture each peer-dependency conflict it reports. Done means npm ci, npm run lint and npm run build pass without the flag, or the PR explains each remaining conflict.

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

Descripción

difficulty: intermediate dx help wanted web

Difficulty: Intermediate

Problem

web/.npmrc sets legacy-peer-deps=true, which tells npm to ignore peer-dependency conflicts. It was probably added to get past an early install error, and it can hide real incompatibilities (for example between React 19, Next.js and the Sentry or Freighter packages).

Why it matters

Hidden peer conflicts show up later as confusing runtime or upgrade problems.

Scope of work

Remove the flag locally, run npm install, and record which conflicts appear. Fix them (version adjustments, overrides) or document precisely why the flag must stay.

Expected outcome

Either the flag is gone and installs are clean, or a comment explains each conflict that still requires it.

Acceptance criteria

  • npm ci, npm run lint and npm run build pass without the flag, or the PR documents why not.
  • Findings are recorded in the PR description.
  • CI is green.

Relevant files

  • web/.npmrc, web/package.json, web/package-lock.json

Dependencies

Related to #10 (dependency automation); PRs touching package.json may conflict.

Maintainer discussion needed?

No.

Lenguaje dominante
TypeScript
Estrellas
0
Forks
4
Merge medio
54 min
PR fusionados (30 d)
6

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 Yormee-103/PayLoop

Todos los issues de Yormee-103/PayLoop

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.