Open soanvig opened 5 years ago
not sure what you want to achieve with that
Project A has a pipeline, and builds - let's say - the library.
I run yalc publish
with --dir /shared
(where /shared
is alternative to default ~/.yalc
).
Project B has dependency to project A, so during pipeline I can run yalc link --dir /shared projectA
.
The primary problem though is the uncustomizable packages path. There at least few reasons why ~/.yalc
may be a bad directory.
There at least few reasons why ~/.yalc may be a bad directory.
What reasons?
Well, not directly bad, but not necessarily wanted for any usage but local development.
I don't know, just storage path configurations seems like an obvious feature to me.
Ok I've added --store-folder
flag option. You may check.
It would be extemely useful for me to customize package location (by
--dir
switch or something) in bothadd
andpublish
methods.In my particular case, I would need that to do some advanced CI jobs. I would like to store yalc packages in directory shared between all my projects. That way I could work with yalc like with private npm repository.
I may implement it in PR if you agree