Upgrade webpack-cli from 6.0.1 to 7.3.1

Aperta
#6,449 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
20/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
javascript, webpack

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
JavaScript
Stelle
214
Fork
327
Merge medio
17h 5m
PR unite (30g)
25

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di learningequality/studio

Tutte le issue di learningequality/studio

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.