Skip to content

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

Draft
arbrandes wants to merge 3 commits into
openedx:mainfrom
arbrandes:arbrandes/paragon-workspace-support
Draft

fix: support paragon as an npm workspace package#315
arbrandes wants to merge 3 commits into
openedx:mainfrom
arbrandes:arbrandes/paragon-workspace-support

Conversation

@arbrandes

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.

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 and others added 2 commits September 2, 2026 19:29
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
@arbrandes
arbrandes force-pushed the arbrandes/paragon-workspace-support branch from e4d21c4 to 8a30d68 Compare September 2, 2026 22:30
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>
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.

1 participant