Skip to content

feat: support npm workspaces for local development#805

Merged
arbrandes merged 1 commit into
openedx:frontend-basefrom
arbrandes:workspaces-dev
Apr 2, 2026
Merged

feat: support npm workspaces for local development#805
arbrandes merged 1 commit into
openedx:frontend-basefrom
arbrandes:workspaces-dev

Conversation

@arbrandes
Copy link
Copy Markdown
Contributor

@arbrandes arbrandes commented Mar 12, 2026

Description

Add workspaces configuration and workspace-aware scripts for developing with local packages (such as frontend-base). Decouple clean from build in the Makefile so watch mode can rebuild without wiping dist/.

Part of openedx/frontend-base#184.

LLM usage notice

Built with assistance from Claude models (mostly Opus 4.6).

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 12, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (frontend-base@4b636d0). Learn more about missing BASE report.

Additional details and impacted files
@@               Coverage Diff                @@
##             frontend-base     #805   +/-   ##
================================================
  Coverage                 ?   90.36%           
================================================
  Files                    ?      152           
  Lines                    ?     1287           
  Branches                 ?      275           
================================================
  Hits                     ?     1163           
  Misses                   ?      119           
  Partials                 ?        5           

☔ View full report in Codecov by Sentry.
📢 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 workspaces-dev branch 5 times, most recently from 3606317 to efad4af Compare March 13, 2026 17:48
@arbrandes arbrandes marked this pull request as ready for review March 16, 2026 17:06
@arbrandes arbrandes force-pushed the workspaces-dev branch 4 times, most recently from 98baeca to 56fff1a Compare March 17, 2026 20:11
@arbrandes arbrandes force-pushed the workspaces-dev branch 3 times, most recently from 72b3eff to ed56d09 Compare March 26, 2026 19:27
Add workspaces configuration and workspace-aware scripts for developing
with local packages (such as frontend-base).

Also, since npm skips bin-linking for workspace packages during install,
do it when frontend-base is built.

Part of openedx/frontend-base#184

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@arbrandes arbrandes merged commit 03f3d7d into openedx:frontend-base Apr 2, 2026
6 checks passed
@arbrandes arbrandes deleted the workspaces-dev branch April 2, 2026 17:15
@openedx-semantic-release-bot
Copy link
Copy Markdown

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

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

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants