Skip to content

Source code-only packages #1359

Description

@georgiosd

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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions