openedx / openedx/frontend-base

Split out test dependencies

Open
#285 3 comments 0 reactions 1 assignee View on GitHub

@arbrandes is already working on this.

Since Aug 28, 2026.

Dominant language
TypeScript
Stars
4
Forks
13
Avg merge
3h 21m
Merged PRs (30d)
10

Description

As we discussed and put into OEP-67:

To keep installation and deployment of our MFEs as fast as possible, the “dependencies” field in package.json should reference only the packages needed to build the bundle of the MFE (this includes webpack via frontend-build, as well as any dependencies used in the actual MFE/React code). Any dependencies used only for testing, linting, formatting, or other development tasks should be put into “devDependencies” (e.g. Jest, eslint, TypeScript, @types/ packages, etc.).

However, this repo currently has almost all its dependencies, including the huge jest test runner ecosystem, in dependencies.

If this is just an oversight, things like jest, estlint, react-refresh, webpack-bundle-analyzer, etc. should be moved into devDependencies.

If this is because we want that tooling installed for use by consuming MFEs, I think those should be moved into a separate frontend-testing package, or even better, a frontend-testing sub-package within this same repository.

Contributor guide

Open the contributing guide

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.