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

Source code-only packages #1359

Closed
georgiosd opened this issue Dec 21, 2018 · 1 comment
Closed

Source code-only packages #1359

georgiosd opened this issue Dec 21, 2018 · 1 comment

Comments

@georgiosd
Copy link

After a quick discussion in Gitter, I was asked to create an issue with my workflow to see if there is a bit configuration that would fit me well :)

Basically what I was/am hoping bit will be, is a way to have source-code only packages.
Essentially the same thing as git submodules but the benefits of a) not having to authenticate - I am only interested in private packages b) not having to create a repository for every micropackage I have.

It's perfect because I have multiple clients and I reuse a lot of stuff so putting into packages was a great idea.

I was very close to achieving this using the saveDependenciesAsComponents option but I ran into an issue when I had App -> lib1 -> lib2. This still requires bit link to run before the build which doesn't make sense given that bit import will establish file: equivalencies in package.json

The other problem I have is that I am using an Azure App Service and it doesn't like symlinks. It's probably the same deal with this: yarnpkg/yarn#6621

@georgiosd
Copy link
Author

Enabling workspaces seems to resolve this! Leaving this open in case you guys have any questions about my use case :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants