Skip to content

feat: support npm workspaces for local development#1643

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

feat: support npm workspaces for local development#1643
arbrandes merged 1 commit intoopenedx: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@510de50). Learn more about missing BASE report.

Additional details and impacted files
@@               Coverage Diff                @@
##             frontend-base    #1643   +/-   ##
================================================
  Coverage                 ?   92.12%           
================================================
  Files                    ?       92           
  Lines                    ?     2045           
  Branches                 ?      577           
================================================
  Hits                     ?     1884           
  Misses                   ?      158           
  Partials                 ?        3           

☔ 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 marked this pull request as draft March 12, 2026 00:14
@arbrandes arbrandes force-pushed the workspaces-dev branch 10 times, most recently from df203d3 to ebd69c2 Compare March 13, 2026 19:46
@arbrandes arbrandes marked this pull request as ready for review March 16, 2026 17:06
@arbrandes arbrandes force-pushed the workspaces-dev branch 3 times, most recently from 28731a9 to fb32abc Compare March 17, 2026 20:05
@arbrandes arbrandes force-pushed the workspaces-dev branch 4 times, most recently from 7e06a98 to 27f860a Compare March 26, 2026 20:26
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 3f7ceb5 into openedx:frontend-base Apr 2, 2026
4 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

None yet

Development

Successfully merging this pull request may close these issues.

3 participants