Upgrade webpack-cli from 6.0.1 to 7.3.1

Offen
#6,449 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Anfängerfreundlichkeit
20/100
Issue-Typ
Feature
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
javascript, webpack

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
JavaScript
Sterne
214
Forks
327
Ø Merge
17 Std. 5 Min.
Gemergte PRs (30 T.)
25

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus learningequality/studio

Alle Issues in learningequality/studio

Ähnliche Issues

Weitere Issues zu JavaScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.