Upgrade webpack-cli from 6.0.1 to 7.3.1

Abierto
#6,449 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
20/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
javascript, webpack

Línea de trabajo

The change names package.json and pnpm-lock.yaml and depends on #6448 merging into unstable first. Read the upgrade notes in the issue, then update the dependency and lockfile. Done means the four listed CI checks pass and pnpm devserver serves rebuilt assets after a .vue edit; the issue explicitly says it is not open for contribution.

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

Descripción

dependencies DEV: dev-ops javascript

❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.

Overview

Upgrade the webpack-cli devDependency from 6.0.1 to 7.3.1, which #6440 proposed. That PR's All file linting check failed for a reason unrelated to webpack-cli. Its build, frontend tests and browser smoke test passed.

Complexity: Low
Target branch: unstable

Context
  • Lint failure: black 20.8b1 pulls in typed-ast, which fails to build on the runner's Python 3.14 (log):
    ast27/Custom/../Include/../Include/asdl.h:12:15: error: cannot use keyword ‘false’ as enumeration constant
    ERROR: Failed building wheel for typed-ast
    
  • The same failure hit every PR to unstable opened from 2026-11-17 on.
  • #6446 fixed it on hotfixes by running lint on Python 3.10 via actions/setup-python. It reaches unstable through #6448, which is still open.
  • None of the 7.0.0 breaking changes affect Studio:
    • It needs Node ≥20.9.0; engines requires >=20.19.0 <21.
    • --node-env was removed; Studio doesn't use it.
    • The programmatic cli API was removed; Studio never imports it.
    • Configs now load through import(); webpack.config.js is plain JS.
  • No packages need upgrading in lockstep: the peers webpack ^5.101.0 and webpack-dev-server ^5.0.0 || ^6.0.0 already match the repo's ^5.104.1 and ^5.2.4.
The Change
  • After #6448 merges, bump webpack-cli to ^7.3.1 in package.json and pnpm-lock.yaml, branched from unstable.
Acceptance Criteria
  • package.json and pnpm-lock.yaml on unstable pin webpack-cli 7.3.1.
  • The PR passes All file linting, Build frontend assets, Frontend tests and Browser smoke test.
  • pnpm devserver starts and serves rebuilt assets after an edit to a .vue file.

AI usage

rtibblesbot (Claude Code) reviewed #6440, traced the lint failure to the CI runner through the job log and #6446, and drafted this issue.

Filed from #6440's review.

Lenguaje dominante
JavaScript
Estrellas
214
Forks
327
Merge medio
17 h 5 min
PR fusionados (30 d)
25

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 learningequality/studio

Todos los issues de learningequality/studio

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.