Repository navigation
chore: install the sandboxes from the root workspace - #1358
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1358 +/- ##
=======================================
Coverage 93.75% 93.75%
=======================================
Files 3 3
Lines 80 80
Branches 20 20
=======================================
Hits 75 75
Misses 3 3
Partials 2 2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This was referenced Nov 30, 2026
dangreen
force-pushed
the
chore/sandboxes-workspace
branch
3 times, most recently
from
November 30, 2026 15:35
aec2bc2 to
f4d09a6
Compare
The sandboxes were a separate pnpm workspace with their own lockfile, so they got another copy of Chart.js and ran on the package from npm. In the root workspace they share one install and run on the sources of the package; StackBlitz still installs each one with its own package.json from npm.
The sandboxes resolve the package to its sources through the workspace now.
The sandboxes resolve the package to its sources through the workspace now.
dangreen
force-pushed
the
chore/sandboxes-workspace
branch
from
November 30, 2026 15:42
f4d09a6 to
3bff260
Compare
dangreen
marked this pull request as ready for review
November 30, 2026 15:44
This was referenced Nov 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part 5 of the tooling stack. Based on #1357.
Why
The sandboxes were a separate pnpm workspace with their own lockfile. They installed
react-chartjs-2andchart.jsfrom npm, so:srcsaw two different copies of Chart.js (4.4.7 in the root, 4.5.1 in the sandboxes) and failed on everyref.What
sandboxes/*/*are packages of the root workspace; their ownpackage.json,pnpm-workspace.yamland lockfile are gone (one install, one lockfile, one Chart.js).react-chartjs-2to the workspace root, so sandboxes build and type-check against the sources. StackBlitz is unaffected: it opens a single sandbox folder from GitHub and installs itspackage.jsonfrom npm.pnpm sandboxes:buildbuilds them all; the website workflow uses it.sandboxes/tsconfig.jsondropsbaseUrl/paths(TypeScript 7 no longer supportsbaseUrl, and the workspace link makespathsunnecessary).srcis no longer needed.Checked locally
pnpm sandboxes:build(all 17),tsc --noEmit -p sandboxes/tsconfig.json,pnpm test:types.Stack
🤖 Generated with Claude Code