Skip to content
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

Use workspaces or npm pack for jest link #2470

Open
lastmjs opened this issue Jan 9, 2025 · 0 comments
Open

Use workspaces or npm pack for jest link #2470

lastmjs opened this issue Jan 9, 2025 · 0 comments
Milestone

Comments

@lastmjs
Copy link
Member

lastmjs commented Jan 9, 2025

Jest link is finicky and sometimes results in difficult TypeScript errors when importing one package through symlinks into another. We tried a lot of things with Mom pack and preinstall, but in the end using preinstall cannot work in this way.

The most promising path forward is to use workspaces to potentially allow all examples to install or use each other without hopefully symlink issues.

See this PR for our work trying to get this to work for bitcoin_psbt: #2464

@lastmjs lastmjs added this to the 1.0 milestone Jan 9, 2025
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

No branches or pull requests

1 participant