-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Allow to install packages from git monorepos #1570
Comments
Closing in favor of the RFC @jiripospisil linked. |
@jiripospisil is there an RFC I can not find it, wasn't it implement yet? |
This would be very useful...Any progress or any next info about this? |
This would add a lot of flexibility to how we use monorepos ... (+1) @jiripospisil Any idea what happened to that issue? It's disappeared! And I thought Github issues could not be removed 🤕 |
@whitecolor @mattbrunetti I'm not really sure, I cannot find it either. I think the only way an issue can be removed is either when a GitHub admin deletes it or the user gets banned / blocked. |
@kittens Since the RFC is gone should we reopen this? |
@mattbrunetti @kittens This would be useful for us as well; +1 to reopening |
This things called yalc maybe useful who work with multiple self-authored packages in development, it simplifies workflow of package usage in the project before package is properly published, better than |
@whitecolor I think yall would be a better call for this problem. This seems like a good workaround for now, even though I think this should be fixed/added to the package manager itself rather than using 3rd parties to solve the problem. |
Well, |
This would be ideal for yarnpkg/e2e-test-repo#2 |
yarn add https://gitpkg.now.sh/<user>/<repo>/<subdir>[?<branch>] OR
|
This worked well for me:
|
The RFC linked is now missing. I don't know how this got "fixed", are we expected to use an external service like gitpkg? |
Any update on this? |
Updates? |
updates? |
As this git repository consists of [yarn workspaces](https://yarnpkg.com/features/workspaces), which enable to define mono repo packages within one repository, but we want to use only one package `emoji-mart`. `slido-frontend` does not use yarn2 yet, so the workspace can't be specified see yarnpkg/yarn#1570 (comment). As we are of the full control of this forked repository, the fastest and easiest is to change the folder structure to consist only of this package 🎉. I was also considering this 3rd party subfolder generation https://github.com/EqualMa/gitpkg, but decided not to depend on potentially security risk of 3rd party provider.
As this git repository consists of [yarn workspaces](https://yarnpkg.com/features/workspaces), which enable to define mono repo packages within one repository, but we want to use only one package `emoji-mart`. `slido-frontend` does not use yarn2 yet, so the workspace can't be specified see yarnpkg/yarn#1570 (comment). As we are of the full control of this forked repository, the fastest and easiest is to change the folder structure to consist only of this package 🎉. I was also considering this 3rd party subfolder generation https://github.com/EqualMa/gitpkg, but decided not to depend on potentially security risk of 3rd party provider.
As this git repository consists of [yarn workspaces](https://yarnpkg.com/features/workspaces), which enable to define mono repo packages within one repository, but we want to use only one package `emoji-mart`. `slido-frontend` does not use yarn2 yet, so the workspace can't be specified see yarnpkg/yarn#1570 (comment). As we are of the full control of this forked repository, the fastest and easiest is to change the folder structure to consist only of this package 🎉. I was also considering this 3rd party subfolder generation https://github.com/EqualMa/gitpkg, but decided not to depend on potentially security risk of 3rd party provider.
As this git repository consists of [yarn workspaces](https://yarnpkg.com/features/workspaces), which enable to define mono repo packages within one repository, but we want to use only one package `emoji-mart`. `slido-frontend` does not use yarn2 yet, so the workspace can't be specified see yarnpkg/yarn#1570 (comment). As we are of the full control of this forked repository, the fastest and easiest is to change the folder structure to consist only of this package 🎉. I was also considering this 3rd party subfolder generation https://github.com/EqualMa/gitpkg, but decided not to depend on potentially security risk of 3rd party provider. The dist related properties were adjusted in the root package.json from emoji-mart package, as this root package is used as a reference when usign this dependency.
It would be nice if yarn allowed to install packages from hosted git monorepos.
here:
cyclejs/cyclejs
is github monorepo path,dom
is package folder inside monorepo,123CH
is commit hash (maybe it should becyclejs/cyclejs#123CH/dom
if with commit hash)The text was updated successfully, but these errors were encountered: