You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nx run @scaffald/ui-docs:build (the packages/ui/docs-site Docusaurus site, in the Scaffald/ui submodule) fails:
ValidationError: Progress Plugin has been initialized using an options object that does not match the API schema … options has an unknown property 'name' / 'color' / 'reporters' / 'reporter'
A Docusaurus 3.9.2 × webpack version incompatibility — unrelated to app code. It surfaces as a failed task in pnpm prepush affected-build (non-blocking: the prepush stamp still writes; all other targets pass).
Fix: align the docusaurus/webpack versions in Scaffald/ui, or migrate the ProgressPlugin options. Low priority (docs site only).
Migrated from Linear SC-132 · state: Triage · priority: Low · created 2026-06-23
Fixed in a7568ac — both builds pass and the pre-push exclusions are gone.
Neither failure was in the docs source; both were dependency resolution, and both are fixed with a root pnpm override, so neither needed a submodule PR.
docs-site (packages/sdk) — every @docusaurus/* dep is pinned to an exact 3.9.2 except theme-mermaid and plugin-ideal-image, which carry caret ranges and had floated to 3.10.x. Docusaurus refuses to load an official package whose version differs from core's: Invalid name=docusaurus-theme-mermaid version number=3.10.1.
@scaffald/ui-docs (packages/ui) — @docusaurus/bundler asks for webpackbar ^6.0.1, whose plugin does super({name, color, reporters, reporter}) into webpack's ProgressPlugin. webpack resolves to 5.107 here (docusaurus only requires ^5.95.0), and 5.107 validates those options with additionalProperties: false, permitting none of them. webpackbar@7 passes only activeModules and handler, both valid, and its peer range is webpack 3 || 4 || 5.
Pinning the two floating packages also collapsed an entire duplicate @docusaurus 3.10.1 tree — core, bundler, mdx-loader, theme-common and the rest were being installed twice. That is ~1400 lines of the lockfile diff.
BUILD_EXCLUDES in scripts/prepush.sh is now just scaffald, kept because its build is the full Metro web export and CI covers it on the deploy path.
Verified: both builds from cold with --skip-nx-cache; full prepush green with them included.
Follow-on: the ui-docs build now gets far enough to report four broken doc links the failure had been hiding — two stale ./breadcrumbs paths, a link to TabBar (removed from the public API in SC-27), and a missing page for SegmentedControl, which is exported. Fixed in Scaffald/ui#15, which also restores onBrokenLinks: throw so the next one fails pre-push instead of shipping.
Activity
docs: migrate tracking from Linear to GitHub Issues + project board (#…
fix(build): repair both docs-site builds and restore prepush coverage (…
thinkclay commentedon Jul 30, 2026
Fixed in a7568ac — both builds pass and the pre-push exclusions are gone.
Neither failure was in the docs source; both were dependency resolution, and both are fixed with a root pnpm override, so neither needed a submodule PR.
docs-site(packages/sdk) — every@docusaurus/*dep is pinned to an exact3.9.2excepttheme-mermaidandplugin-ideal-image, which carry caret ranges and had floated to 3.10.x. Docusaurus refuses to load an official package whose version differs from core's:Invalid name=docusaurus-theme-mermaid version number=3.10.1.@scaffald/ui-docs(packages/ui) —@docusaurus/bundlerasks forwebpackbar ^6.0.1, whose plugin doessuper({name, color, reporters, reporter})into webpack'sProgressPlugin. webpack resolves to 5.107 here (docusaurus only requires^5.95.0), and 5.107 validates those options withadditionalProperties: false, permitting none of them.webpackbar@7passes onlyactiveModulesandhandler, both valid, and its peer range iswebpack 3 || 4 || 5.Pinning the two floating packages also collapsed an entire duplicate
@docusaurus3.10.1 tree — core, bundler, mdx-loader, theme-common and the rest were being installed twice. That is ~1400 lines of the lockfile diff.BUILD_EXCLUDESinscripts/prepush.shis now justscaffald, kept because its build is the full Metro web export and CI covers it on the deploy path.Verified: both builds from cold with
--skip-nx-cache; full prepush green with them included.Follow-on: the
ui-docsbuild now gets far enough to report four broken doc links the failure had been hiding — two stale./breadcrumbspaths, a link toTabBar(removed from the public API in SC-27), and a missing page forSegmentedControl, which is exported. Fixed in Scaffald/ui#15, which also restoresonBrokenLinks: throwso the next one fails pre-push instead of shipping.chore: bump ui submodule for docs link fixes, drop dead prune paths