Cleaning up files after cli move#30
Conversation
|
See anything else @nddery ? |
|
Also, I encountered the issue where I need to install all the dependencies of the CLI tool within the child project to be able to run the |
nddery
left a comment
There was a problem hiding this comment.
Cool - thanks for the .gitignore stuff too - and yes, had forgot about the dependencies.. I also think it's because we've used link and the package isn't really in the node_modules directory (when we'd yarn add foobarify it would then also install it's own dependencies so I'm pretty sure this is "normal" right now)..
|
Perfect, cool! Lemme make sure it runs when duplicating the dependencies into the project and we can figure out the rest once it is a proper npm package... My feeling though is that there has to be a way to do this before going public... Otherwise people would never be able to test stuff before that moment haha... The answer probably lies somewhere in there https://docs.npmjs.com/private-modules/intro |
|
So it indeed doesn't install the package - yarnpkg/yarn#2914. This yalc tool could come in handy if we don't want to install |
|
Or from the looks of it, we use npm to link maybe? I will play around with this tomorrow! |
|
|
Just cleaning up the repo of the files that will reside in the project folder instead of the tool