Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

Support vendoring for Yarn (specifically yarn-offline-mirror) #7

Closed
dylanharrington opened this issue Apr 28, 2018 · 4 comments
Closed

Comments

@dylanharrington
Copy link

Hey, nice product!

I have a project with a .yarnrc at the root containing:

yarn-offline-mirror "./npm-packages-offline-cache"
yarn-offline-mirror-pruning true

This causes each yarn command (e.g. add, remove) to update npm-packages-offline-cache with the necessary .tgz files to do an --offline installation, and we keep it in version control.

Does Dependabot currently support this? If not, would you consider it?

Thanks

@greysteil
Copy link
Contributor

greysteil commented Apr 28, 2018 via email

@greysteil
Copy link
Contributor

censoring -> vendoring in the above comment. Rather amusing autocorrect!

@greysteil greysteil changed the title Support for yarn-offline-mirror? Support vendoring for Yarn (specifically yarn-offline-mirror) Apr 29, 2018
@greysteil
Copy link
Contributor

FYI, I've moved this across to dependabot/dependabot-core#462, as it's an issue with Dependabot Core and that code is open source.

Vendoring is something I'd like Dependabot to be able to handle in general, and will be necessary when we add Go support, which is coming. Long story short: we'll definitely get to this, but it's a slightly tricky problem because Dependabot doesn't clone your repo (and for security reasons probably shouldn't start doing so).

@dylanharrington
Copy link
Author

Makes sense, thanks!

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

No branches or pull requests

2 participants