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
fix(packages/ui,packages/cli): fix FileTree build failure and add --ref to diff (#58)
* fix(packages/ui,packages/cli): fix FileTree build failure and add --ref to diff
Bug 1: Pin rspress-plugin-file-tree to 1.0.3 (1.0.4 shipped without dist/)
and copy its component files into @zpress/ui dist so Rspress webpack can
resolve them at build time.
Bug 2: Add --ref option to zpress diff that uses git diff instead of
git status, enabling use as a Vercel ignoreCommand. When --ref is set
and changes are detected, exits 1 to signal "proceed with build".
Also upgrades all dependencies to latest (except mermaid, pinned to v10).
Co-Authored-By: Claude <noreply@anthropic.com>
* docs(packages/cli): improve diff --ref JSDoc with usage examples
Co-Authored-By: Claude <noreply@anthropic.com>
* fix(packages/cli): replace ternary with ts-pattern match in diff command
Replace forbidden ternary expression with ts-pattern match() to select
between gitDiffFiles and gitChangedFiles. Also disable prefer-destructuring
lint rule for raw-copied MermaidRenderer component.
Co-Authored-By: Claude <noreply@anthropic.com>
* feat(packages/cli): add --verbose flag to build command
When --verbose is passed, the build check skips output capture so
Rspress/Rspack errors are printed directly to stdout/stderr. This
makes it easier to diagnose build failures on CI.
Co-Authored-By: Claude <noreply@anthropic.com>
* fix(packages/ui): unpin rspress-plugin-file-tree back to ^1.0.4
The 1.0.4 package does ship dist/ — the earlier missing files were from
a stale pnpm store. The copy rule in rslib.config.ts is the actual fix.
Co-Authored-By: Claude <noreply@anthropic.com>
* fix(packages/ui): copy FileTree chunks without clobbering dist root
Copy rspress-plugin-file-tree chunk files (0~*.js) to dist root so
FileTree.js relative imports resolve correctly. Exclude index.* and
components/** to avoid overwriting our own build output.
Co-Authored-By: Claude <noreply@anthropic.com>
---------
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments