Skip to content

fix: support paragon as an npm workspace package - #315

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

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

Conversation

@arbrandes

@arbrandes arbrandes commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

Description

Lets a site repo bind-mount Paragon under packages/ and build frontend-base against it.

The paragon peer range now also accepts a 0.0.0-dev checkout, and paragon is declared as a devDependency so Turborepo orders Paragon first. Turborepo builds its graph from dependencies and devDependencies only, so a peer-only declaration leaves no edge and Paragon's clean can wipe dist/ while consumers typecheck against it.

TypeScript now also preserves symlinks, so a workspace package reached through a node_modules symlink stays opaque instead of having its types inferred from transpiled JS.

TypeScript moves from dependencies to a peer (plus a devDependency for frontend-base's own build). Consumers already run tsc themselves, so they should declare it, and as a peer it keeps the hoisted copy within frontend-base's supported range.

Part of openedx/paragon#4440.

LLM usage notice

Built with assistance from Claude.

@arbrandes arbrandes changed the title fix: support a bind-mounted paragon workspace checkout fix: support paragon as an npm workspace package Sep 2, 2026
@arbrandes
arbrandes force-pushed the arbrandes/paragon-workspace-support branch from e4d21c4 to 8a30d68 Compare September 2, 2026 22:30
arbrandes and others added 2 commits October 21, 2026 12:10
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
@arbrandes
arbrandes marked this pull request as ready for review October 21, 2026 15:11
As a direct dependency it was satisfied by a nested copy, letting
frontend-base's own dependencies compile against different TypeScript
versions.

Co-Authored-By: Claude <noreply@anthropic.com>
@arbrandes
arbrandes force-pushed the arbrandes/paragon-workspace-support branch from 4f4675f to ed12341 Compare October 21, 2026 17:56
@arbrandes
arbrandes merged commit 887542a into openedx:main Oct 21, 2026
5 checks passed
@arbrandes
arbrandes deleted the arbrandes/paragon-workspace-support branch October 21, 2026 17:59
@openedx-semantic-release-bot

Copy link
Copy Markdown

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

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