-
Notifications
You must be signed in to change notification settings - Fork 149
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
feat: add a yalc-using package #70
base: master
Are you sure you want to change the base?
Conversation
and upgrade "husky" to v1.3
As to avoid reading the installations file when no changes are required.
The `yalc publish` command now copies (but never hashes) the local ".yalc" directory to the global store. Also, the "yalc.lock" file is always copied/hashed now.
Note: If you used |
We need to consider if |
TODO: Skip copying |
Another thing to consider: Since node.js doesn't dedupe packages based on version, there's a good chance of having multiple "instances" of the same package when yalc is used extensively in a dependency tree. This can easily lead to confusing bugs. We could prevent duplicate yalc-linked packages by hoisting them or by linking to the same |
During
yalc publish
, the local.yalc
directory is now copied to the global store, but its files are excluded from the content hash. Finally, the localyalc.lock
file is copied and hashed.The relevant commit: a9263e0
(Probably wanta merge #66 first)