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

Fix yarn link #48

Open
alex-shortt opened this issue Jun 5, 2021 · 1 comment
Open

Fix yarn link #48

alex-shortt opened this issue Jun 5, 2021 · 1 comment
Labels
bug Something isn't working dx developer experience

Comments

@alex-shortt
Copy link
Collaborator

For some reason yarn link doesn't work, probably has something to do with the build settings. Needs to be fixed for faster development.

@alex-shortt alex-shortt added bug Something isn't working dx developer experience labels Jun 5, 2021
@alex-shortt
Copy link
Collaborator Author

because of a few things (peer deps, output file format), this won't work too well. i got it working though by doing the following

in spacesvr, run tsc --watch and rollup -c --watch to continuously compile spacesvr locally
in spacesvr /dist, run yalc publish
in your consuming repo, run yarn add spacesvr to install the remote version with all the proper dependencies
in your consuming repo, run yalc add spacesvr to then reference the local version of spacesvr

https://github.com/wclr/yalc

should be good to go!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dx developer experience
Development

No branches or pull requests

1 participant