Skip to content

build: support paragon as an npm workspace package - #279

Merged
arbrandes merged 2 commits into
openedx:masterfrom
arbrandes:arbrandes/paragon-workspace-support
Oct 21, 2026
Merged

arbrandes merged 2 commits into
openedx:masterfrom
arbrandes:arbrandes/paragon-workspace-support

Conversation

@arbrandes

Copy link
Copy Markdown
Contributor

Description

Allows this app to be developed inside a site repo with Paragon and frontend-base bind-mounted under packages/.

The paragon peer range now also accepts a 0.0.0-dev checkout, and both are declared as devDependencies so Turborepo orders them before this app. Turborepo builds its task graph from dependencies and devDependencies only, so a peer-only declaration leaves no edge.

TypeScript is also pinned to ^5.9.3 as a devDependency. With frontend-base present as a workspace package, npm would otherwise hoist 6.x to satisfy root-level peer ranges, which in turn would break the build.

Part of openedx/paragon#4440.

LLM usage notice

Built with assistance from Claude.

arbrandes and others added 2 commits October 21, 2026 12:42
Co-Authored-By: Claude <noreply@anthropic.com>
With frontend-base as a workspace package, npm otherwise hoists
TypeScript 6 to satisfy root-level peer ranges.

Co-Authored-By: Claude <noreply@anthropic.com>
@codecov

codecov Bot commented Oct 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.71%. Comparing base (885a2c3) to head (8e83698).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #279   +/-   ##
=======================================
  Coverage   98.71%   98.71%           
=======================================
  Files          80       80           
  Lines        1403     1403           
  Branches      471      471           
=======================================
  Hits         1385     1385           
  Misses         18       18           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@arbrandes
arbrandes merged commit cca0524 into openedx:master Oct 21, 2026
6 checks passed
@arbrandes
arbrandes deleted the arbrandes/paragon-workspace-support branch October 21, 2026 17:59
@openedx-semantic-release-bot

Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 1.0.0-alpha.10 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants