Skip to content

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

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

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

Conversation

@arbrandes

@arbrandes arbrandes commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Description

Allows apps generated from this template 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 the 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 27.27%. Comparing base (9ffc229) to head (92a38be).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1053   +/-   ##
=======================================
  Coverage   27.27%   27.27%           
=======================================
  Files           9        9           
  Lines          22       22           
  Branches        1        1           
=======================================
  Hits            6        6           
  Misses         16       16           

☔ 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 5301f43 into openedx:main Oct 21, 2026
6 checks passed
@arbrandes
arbrandes deleted the arbrandes/paragon-workspace-support branch October 21, 2026 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants