Skip to content

fix(mobile): release builds install the web sources the EPUB preview is built from - #852

Merged
trancong12102 merged 1 commit into
mainfrom
fix/mobile-epub-noble-hashes
Nov 29, 2026
Merged

trancong12102 merged 1 commit into
mainfrom
fix/mobile-epub-noble-hashes

Conversation

@trancong12102

Copy link
Copy Markdown
Contributor

Release 0.30.0's Ship ios and Ship android jobs failed in :app:createBundleReleaseJsAndAssets: Metro builds the mobile EPUB WebView script from apps/web/src/epubWebView.ts, but the release job installs only --filter "@onicode/mobile...", so apps/web had no node_modules and Rolldown could not resolve @onicode/shared/url / @noble/hashes/legacy.js.

Mobile now declares @onicode/web as a workspace devDependency, so the filtered install also installs the web package's dependencies. knip ignores it since it is used by path, not by import.

Verified: clean checkout, pnpm install --frozen-lockfile --filter "@onicode/mobile...", then buildWebViewScript("epub-preview") failed before the change and builds a 546 KB script after it. vp run check:changed passes.

Claude Opus 5.5 in Onicode (Claude Code harness)

🤖 Generated with Claude Code

…is built from

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@trancong12102
trancong12102 merged commit 92249a0 into main Nov 29, 2026
18 checks passed
@trancong12102
trancong12102 deleted the fix/mobile-epub-noble-hashes branch November 29, 2026 00:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant