-
Notifications
You must be signed in to change notification settings - Fork 584
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix example build script #3116
Fix example build script #3116
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3116 +/- ##
=======================================
Coverage 94.88% 94.88%
=======================================
Files 506 506
Lines 11121 11121
Branches 1709 1709
=======================================
Hits 10552 10552
Misses 569 569 ☔ View full report in Codecov by Sentry. |
@@ -20,7 +20,7 @@ | |||
"sideEffects": false, | |||
"files": [], | |||
"scripts": { | |||
"build": "yarn workspaces foreach --worktree --parallel --verbose --no-private run build", | |||
"build": "yarn workspaces filter --include 'packages/examples/packages/**' --parallel --no-private run build", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the difference between doing yarn workspaces filter --include
and yarn workspaces foreach --include
? Why don't we need --verbose
any more?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
--verbose
doesn't exist on filter
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
workspaces filter
's --include
supports glob patterns, whereas workspaces foreach
only supports exact package names. --verbose
is also enabled by default on workspaces filter
.
0eaa757
to
74b9bc0
Compare
This reverts commit f17d19d.
The build script for examples broke in #3094. Using the
filter
command seems to be the easiest way to get it working again.