-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Support git dependencies #82
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
Comments
Hi Jarred, I am enjoying bun! And waiting for this feature to land :-) Just want to add some details here, if it helps. Git dependencies can be either public repo or private repo. The private one is quite important for enterprise adoption, obviously there is some work on handling authentication. If git dep is from one of github/gitlab/bitbucket, npm also supports shortcut (such as The public repo from github/gitlab/bitbucket also provides tarball url (hosted-git-info has it), that's cheaper than a shallow clone of git repo. When npm install dep from any kind of git repo, there is a possible prepare script to be run. https://docs.npmjs.com/cli/v8/commands/npm-install If the package being installed contains a prepare script, its dependencies and devDependencies will be installed, and the prepare script will be run, before the package is packaged and installed. |
It's been a while and all other issues pointing to this one. Is the actual solution to fix this problem with git dependencies? |
I am superhyped about Bun and wish there was at least a workaround to the problem. I've tried mix and match Anyway, would appreciate any pointers to solve it until feature support lands. |
@dzmitry-kankalovich you could publish private packages to a private registry. It's more flexible than git dep. https://verdaccio.org |
@3cp I've considered that, but in my case the failure happens in transitive dependencies of But I guess it is indeed an applicable workaround. |
@3cp while publishing to a private repo is more flexible it's overkill for some simpler use cases like a short-lived fork of a package with just some fixes waiting to be merged upstream |
@knoopx do subsequent I suspect that you can first do Also, that would mean the trouble of building a project from scratch (e.g. packaging in Docker). Prob bun-related |
no it doesnt, i just dont |
fixes oven-sh#82 fixes oven-sh#1703 fixes oven-sh#1954
No description provided.
The text was updated successfully, but these errors were encountered: