Upgrade webpack-cli from 6.0.1 to 7.3.1

Open
#6,449 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
20/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
javascript, webpack

Research direction

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.

Written by the indexing model from the issue text.

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.

Dominant language
JavaScript
Stars
214
Forks
327
Avg merge
17h 5m
Merged PRs (30d)
25

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from learningequality/studio

All issues in learningequality/studio

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.