Upgrade webpack-cli from 6.0.1 to 7.3.1

Ouverte
#6,449 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
2/5
Temps estimé
1-3 heures
Accessibilité débutants
20/100
Type d'issue
Fonctionnalité
Clarté
Clairement spécifiée
Activité
Active
Stack technique
javascript, webpack

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.

Langage dominant
JavaScript
Étoiles
214
Forks
327
Merge moyen
17 h 5 min
PR mergées (30 j)
25

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de learningequality/studio

Toutes les issues de learningequality/studio

Issues similaires

Plus d'issues JavaScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.