Fix/missing dist artifacts#473
Conversation
Built from commit ef5274c Platforms updated: - linux-x64-gnu - linux-x64-musl - linux-arm64-gnu - linux-arm64-musl - darwin-x64 - darwin-arm64 - win32-x64-msvc - wasm Generated by GitHub Actions
Built from commit ef5274c Platforms: linux-x64-gnu, linux-arm64-gnu, darwin-x64, darwin-arm64, win32-x64-msvc Co-Authored-By: claude-flow <ruv@ruv.net>
Built from commit ef5274c Platforms updated: - linux-x64-gnu - linux-arm64-gnu - darwin-x64 - darwin-arm64 - win32-x64-msvc 🤖 Generated by GitHub Actions
Built from commit ef5274c Platforms updated: - linux-x64-gnu - linux-x64-musl - linux-arm64-gnu - linux-arm64-musl - darwin-x64 - darwin-arm64 - win32-x64-msvc Generated by GitHub Actions
Built from commit ef5274c Platforms updated: - linux-x64-gnu - linux-arm64-gnu - darwin-x64 - darwin-arm64 - win32-x64-msvc - wasm 🤖 Generated by GitHub Actions
|
Thanks for the investigation on the missing dist artifacts. However, I can't merge this PR in its current form for a few reasons:
If you'd like to contribute the build-script decoupling fix (separating WASM build from TS build), that would be a great follow-up PR. |
- Update main/module/types/exports to match tsup flat output structure (dist/index.js, dist/index.mjs, dist/index.d.ts) instead of nested cjs/esm/types subdirs that never existed - Change build script: `build:wasm || true && build:ts` so TypeScript compilation succeeds even when wasm-pack is unavailable - Remove phantom sub-path exports (./node, ./sw, ./wasm, ./experimental) for files that don't exist in the source tree Fixes the issue reported in PR #473 where prepublishOnly failed silently because wasm-pack absence blocked tsup from running. Co-Authored-By: claude-flow <ruv@ruv.net>
Key findings: