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

looking to tarball local packages for development #171

Open
ORESoftware opened this issue May 14, 2018 · 1 comment
Open

looking to tarball local packages for development #171

ORESoftware opened this issue May 14, 2018 · 1 comment

Comments

@ORESoftware
Copy link

ORESoftware commented May 14, 2018

I am looking for some advice to this question:
https://stackoverflow.com/questions/50323118/intercept-outgoing-http-requests-to-npmjs-org-etc

I am looking for a locally running server that can tarball local npm packages on my filesystem, so that when I test local package A inside a locally running Docker container, it can pick up package B which is on my local host filesystem.

Normally I would using npm link or similar, but with locally running Docker containers, symlinks beween host and container don't really work with Docker afaik.

@gabrielcsapo
Copy link
Member

I think this functionality is necessary, you can theoretically npm pack and publish those to local-npm, have you tried that approach? This section might help with what you are looking for https://github.com/local-npm/local-npm#how-it-works. In the pouch-db instance you could write to it and pretend as if it was replicated from the skimdb, I think your use case is a reason to start looking at what local-npm could evolve into.

I have been contemplating what direction we could move this project into, being more flexible with situations like these and hopefully getting some synergy between this need and the npm folks would be great.

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

2 participants