Skip to content

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

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

@arbrandes arbrandes commented Sep 2, 2026 •

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 arbrandes changed the title build: accept bind-mounted paragon and frontend-base checkouts build: support paragon as an npm workspace package Sep 2, 2026
@codecov

codecov Bot commented Sep 2, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.80%. Comparing base (732a781) to head (0657811).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1690   +/-   ##
=======================================
  Coverage   93.80%   93.80%           
=======================================
  Files          94       94           
  Lines        2081     2081           
  Branches      602      602           
=======================================
  Hits         1952     1952           
  Misses        126      126           
  Partials        3        3           

☔ 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 force-pushed the arbrandes/paragon-workspace-support branch 2 times, most recently from 87b38c7 to db390e6 Compare September 2, 2026 23:30
Co-Authored-By: Claude <noreply@anthropic.com>
@arbrandes
arbrandes force-pushed the arbrandes/paragon-workspace-support branch from db390e6 to 2a640b3 Compare October 21, 2026 15:15
@arbrandes
arbrandes marked this pull request as ready for review October 21, 2026 15:16
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>
@arbrandes
arbrandes merged commit fa462ee into openedx:master Oct 21, 2026
6 checks passed
@arbrandes
arbrandes deleted the arbrandes/paragon-workspace-support branch October 21, 2026 17:58
@openedx-semantic-release-bot

Copy link
Copy Markdown

🎉 This PR is included in version 2.0.0-alpha.4 🎉

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